From 5a2463711bbf88095781b00ba9d6b4c19194f3ca Mon Sep 17 00:00:00 2001 From: ellatrix Date: Thu, 26 Mar 2026 17:11:56 +0000 Subject: [PATCH] Editor: Bump pinned hash for the Gutenberg repository. This updates the pinned hash from the `gutenberg` from `3edafcc90fc4520939d69279e26ace69390582be` to `0d133bf7e7437d65d68a06551f3d613a7d8e4361`. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The following changes are included: - Reset blockEditingModes on RESET_BLOCKS (https://github.com/WordPress/gutenberg/pull/76529) - RTC: Remove stale wp_enable_real_time_collaboration option check (https://github.com/WordPress/gutenberg/pull/76810) - RTC: Fix editor freeze when replacing code editor content (https://github.com/WordPress/gutenberg/pull/76815) - Preferences: Hide collaboration options when RTC is not enabled (https://github.com/WordPress/gutenberg/pull/76819) - Editor: Fix template revisions using 'modified' date field instead of 'date' (https://github.com/WordPress/gutenberg/pull/76760) - `ControlWithError`: Connect validation messages to controls via `aria… (https://github.com/WordPress/gutenberg/pull/76835) A full list of changes can be found on GitHub: https://github.com/WordPress/gutenberg/compare/3edafcc90fc4520939d69279e26ace69390582be…0d133bf7e7437d65d68a06551f3d613a7d8e4361. Log created with: git log --reverse --format="- %s" 3edafcc90fc4520939d69279e26ace69390582be..0d133bf7e7437d65d68a06551f3d613a7d8e4361 | sed 's|#\([0-9][0-9]*\)|https://github.com/WordPress/gutenberg/pull/\1|g; /github\.com\/WordPress\/gutenberg\/pull/!d' | pbcopy See #64595. Built from https://develop.svn.wordpress.org/trunk@62150 git-svn-id: http://core.svn.wordpress.org/trunk@61432 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/assets/script-loader-packages.php | 8 +- wp-includes/js/dist/block-editor.js | 63 +++---- wp-includes/js/dist/block-editor.min.js | 44 ++--- wp-includes/js/dist/components.js | 31 +++- wp-includes/js/dist/components.min.js | 36 ++-- wp-includes/js/dist/editor.js | 169 +++++++++++++----- wp-includes/js/dist/editor.min.js | 20 +-- wp-includes/js/dist/sync.js | 66 ++++++- wp-includes/js/dist/sync.min.js | 13 +- wp-includes/version.php | 2 +- 10 files changed, 310 insertions(+), 142 deletions(-) diff --git a/wp-includes/assets/script-loader-packages.php b/wp-includes/assets/script-loader-packages.php index 76a11f86cb..04eef1a8a0 100644 --- a/wp-includes/assets/script-loader-packages.php +++ b/wp-includes/assets/script-loader-packages.php @@ -100,7 +100,7 @@ 'wp-url', 'wp-warning' ), - 'version' => 'afd696e3eb4ece940110' + 'version' => '0c1dfcebf759791c9a8b' ), 'block-library.js' => array( 'dependencies' => array( @@ -214,7 +214,7 @@ 'wp-rich-text', 'wp-warning' ), - 'version' => 'e4a2b31831c0887fbe70' + 'version' => '2cbe9a66c53c614d7d6f' ), 'compose.js' => array( 'dependencies' => array( @@ -519,7 +519,7 @@ 'import' => 'static' ) ), - 'version' => 'e69206b7021374eb713a' + 'version' => '49ff59c135229f1cc371' ), 'element.js' => array( 'dependencies' => array( @@ -817,7 +817,7 @@ 'wp-hooks', 'wp-private-apis' ), - 'version' => '1689dd817b0c6fd5ab4d' + 'version' => '89ec294039260fd01952' ), 'theme.js' => array( 'dependencies' => array( diff --git a/wp-includes/js/dist/block-editor.js b/wp-includes/js/dist/block-editor.js index cbd9450871..19203c4938 100644 --- a/wp-includes/js/dist/block-editor.js +++ b/wp-includes/js/dist/block-editor.js @@ -8294,6 +8294,13 @@ var wp; }; controlledOrder.forEach(preserveTreeEntry); } + const preservedBlockEditingModes = state?.blockEditingModes ?? /* @__PURE__ */ new Map(); + for (const [clientId, mode2] of preservedBlockEditingModes) { + if (!newState.tree.has(clientId)) { + continue; + } + newState.blockEditingModes.set(clientId, mode2); + } return newState; } return reducer3(state, action); @@ -8759,6 +8766,24 @@ var wp; }; } return state; + }, + blockEditingModes(state = /* @__PURE__ */ new Map(), action) { + switch (action.type) { + case "SET_BLOCK_EDITING_MODE": + if (state.get(action.clientId) === action.mode) { + return state; + } + return new Map(state).set(action.clientId, action.mode); + case "UNSET_BLOCK_EDITING_MODE": { + if (!state.has(action.clientId)) { + return state; + } + const newState = new Map(state); + newState.delete(action.clientId); + return newState; + } + } + return state; } }); function isBlockInterfaceHidden(state = false, action) { @@ -9238,27 +9263,6 @@ var wp; } return state; } - function blockEditingModes(state = /* @__PURE__ */ new Map(), action) { - switch (action.type) { - case "SET_BLOCK_EDITING_MODE": - if (state.get(action.clientId) === action.mode) { - return state; - } - return new Map(state).set(action.clientId, action.mode); - case "UNSET_BLOCK_EDITING_MODE": { - if (!state.has(action.clientId)) { - return state; - } - const newState = new Map(state); - newState.delete(action.clientId); - return newState; - } - case "RESET_BLOCKS": { - return state.has("") ? (/* @__PURE__ */ new Map()).set("", state.get("")) : state; - } - } - return state; - } function styleOverrides(state = /* @__PURE__ */ new Map(), action) { switch (action.type) { case "SET_STYLE_OVERRIDE": @@ -9394,7 +9398,6 @@ var wp; editedContentOnlySection, blockVisibility, viewportModalClientIds, - blockEditingModes, styleOverrides, removalPromptData, blockRemovalRules, @@ -9460,7 +9463,7 @@ var wp; const derivedBlockEditingModes = /* @__PURE__ */ new Map(); const sectionRootClientId = state.settings?.[sectionRootClientIdKey]; const sectionClientIds = state.blocks.order.get(sectionRootClientId); - const hasDisabledBlocks = Array.from(state.blockEditingModes).some( + const hasDisabledBlocks = Array.from(state.blocks.blockEditingModes).some( ([, mode2]) => mode2 === "disabled" ); const templatePartClientIds = []; @@ -9503,15 +9506,15 @@ var wp; return; } } - if (state.blockEditingModes.has(clientId)) { + if (state.blocks.blockEditingModes.has(clientId)) { return; } if (hasDisabledBlocks) { let ancestorBlockEditingMode; let parent = state.blocks.parents.get(clientId); while (parent !== void 0) { - if (state.blockEditingModes.has(parent)) { - ancestorBlockEditingMode = state.blockEditingModes.get(parent); + if (state.blocks.blockEditingModes.has(parent)) { + ancestorBlockEditingMode = state.blocks.blockEditingModes.get(parent); } if (ancestorBlockEditingMode) { break; @@ -10926,7 +10929,7 @@ var wp; () => (0, import_data3.createSelector)(getEnabledClientIdsTreeUnmemoized, (state) => [ state.blocks.order, state.derivedBlockEditingModes, - state.blockEditingModes + state.blocks.blockEditingModes ]) ); var getEnabledBlockParents = (0, import_data3.createSelector)( @@ -10937,7 +10940,7 @@ var wp; }, (state) => [ state.blocks.parents, - state.blockEditingModes, + state.blocks.blockEditingModes, state.settings.templateLock, state.blockListSettings ] @@ -13037,8 +13040,8 @@ var wp; if (state.derivedBlockEditingModes?.has(clientId)) { return state.derivedBlockEditingModes.get(clientId); } - if (state.blockEditingModes.has(clientId)) { - return state.blockEditingModes.get(clientId); + if (state.blocks.blockEditingModes.has(clientId)) { + return state.blocks.blockEditingModes.get(clientId); } return "default"; } diff --git a/wp-includes/js/dist/block-editor.min.js b/wp-includes/js/dist/block-editor.min.js index 880d1ac411..858310d668 100644 --- a/wp-includes/js/dist/block-editor.min.js +++ b/wp-includes/js/dist/block-editor.min.js @@ -1,29 +1,29 @@ -"use strict";var wp;(wp||={}).blockEditor=(()=>{var Ume=Object.create;var i0=Object.defineProperty;var Hme=Object.getOwnPropertyDescriptor;var Gme=Object.getOwnPropertyNames;var Wme=Object.getPrototypeOf,$me=Object.prototype.hasOwnProperty;var oe=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Ip=(e,t)=>{for(var o in t)i0(e,o,{get:t[o],enumerable:!0})},s6=(e,t,o,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Gme(t))!$me.call(e,n)&&n!==o&&i0(e,n,{get:()=>t[n],enumerable:!(r=Hme(t,n))||r.enumerable});return e};var l=(e,t,o)=>(o=e!=null?Ume(Wme(e)):{},s6(t||!e||!e.__esModule?i0(o,"default",{value:e,enumerable:!0}):o,e)),Kme=e=>s6(i0({},"__esModule",{value:!0}),e);var $=oe((mLe,l6)=>{l6.exports=window.wp.blocks});var R=oe((pLe,c6)=>{c6.exports=window.wp.element});var F=oe((hLe,u6)=>{u6.exports=window.wp.data});var Z=oe((gLe,d6)=>{d6.exports=window.wp.compose});var ct=oe((bLe,f6)=>{f6.exports=window.wp.hooks});var A=oe((_Le,x6)=>{x6.exports=window.wp.components});var xO=oe((xLe,w6)=>{w6.exports=window.wp.privateApis});var Re=oe((PLe,I6)=>{I6.exports=window.wp.deprecated});var w=oe((RLe,P6)=>{P6.exports=window.ReactJSXRuntime});var dn=oe((ALe,O6)=>{O6.exports=window.wp.url});var N=oe((GLe,F6)=>{F6.exports=window.wp.i18n});var yf=oe((WLe,z6)=>{"use strict";z6.exports=function e(t,o){if(t===o)return!0;if(t&&o&&typeof t=="object"&&typeof o=="object"){if(t.constructor!==o.constructor)return!1;var r,n,i;if(Array.isArray(t)){if(r=t.length,r!=o.length)return!1;for(n=r;n--!==0;)if(!e(t[n],o[n]))return!1;return!0}if(t instanceof Map&&o instanceof Map){if(t.size!==o.size)return!1;for(n of t.entries())if(!o.has(n[0]))return!1;for(n of t.entries())if(!e(n[1],o.get(n[0])))return!1;return!0}if(t instanceof Set&&o instanceof Set){if(t.size!==o.size)return!1;for(n of t.entries())if(!o.has(n[0]))return!1;return!0}if(ArrayBuffer.isView(t)&&ArrayBuffer.isView(o)){if(r=t.length,r!=o.length)return!1;for(n=r;n--!==0;)if(t[n]!==o[n])return!1;return!0}if(t.constructor===RegExp)return t.source===o.source&&t.flags===o.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===o.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===o.toString();if(i=Object.keys(t),r=i.length,r!==Object.keys(o).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(o,i[n]))return!1;for(n=r;n--!==0;){var s=i[n];if(!e(t[s],o[s]))return!1}return!0}return t!==t&&o!==o}});var q=oe((tNe,X6)=>{X6.exports=window.wp.primitives});var dr=oe((_Ve,Q6)=>{Q6.exports=window.wp.richText});var ej=oe((xVe,J6)=>{J6.exports=window.wp.blockSerializationDefaultParser});var Xo=oe((JVe,Mj)=>{Mj.exports=window.wp.a11y});var Ii=oe((e3e,Uj)=>{Uj.exports=window.wp.notices});var Zp=oe((t3e,Hj)=>{Hj.exports=window.wp.preferences});var BU=oe((eFe,Gw)=>{var xU={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u1EA4:"A",\u1EAE:"A",\u1EB2:"A",\u1EB4:"A",\u1EB6:"A",\u00C6:"AE",\u1EA6:"A",\u1EB0:"A",\u0202:"A",\u1EA2:"A",\u1EA0:"A",\u1EA8:"A",\u1EAA:"A",\u1EAC:"A",\u00C7:"C",\u1E08:"C",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u1EBE:"E",\u1E16:"E",\u1EC0:"E",\u1E14:"E",\u1E1C:"E",\u0206:"E",\u1EBA:"E",\u1EBC:"E",\u1EB8:"E",\u1EC2:"E",\u1EC4:"E",\u1EC6:"E",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u1E2E:"I",\u020A:"I",\u1EC8:"I",\u1ECA:"I",\u00D0:"D",\u00D1:"N",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u1ED0:"O",\u1E4C:"O",\u1E52:"O",\u020E:"O",\u1ECE:"O",\u1ECC:"O",\u1ED4:"O",\u1ED6:"O",\u1ED8:"O",\u1EDC:"O",\u1EDE:"O",\u1EE0:"O",\u1EDA:"O",\u1EE2:"O",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u1EE6:"U",\u1EE4:"U",\u1EEC:"U",\u1EEE:"U",\u1EF0:"U",\u00DD:"Y",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u1EA5:"a",\u1EAF:"a",\u1EB3:"a",\u1EB5:"a",\u1EB7:"a",\u00E6:"ae",\u1EA7:"a",\u1EB1:"a",\u0203:"a",\u1EA3:"a",\u1EA1:"a",\u1EA9:"a",\u1EAB:"a",\u1EAD:"a",\u00E7:"c",\u1E09:"c",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u1EBF:"e",\u1E17:"e",\u1EC1:"e",\u1E15:"e",\u1E1D:"e",\u0207:"e",\u1EBB:"e",\u1EBD:"e",\u1EB9:"e",\u1EC3:"e",\u1EC5:"e",\u1EC7:"e",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u1E2F:"i",\u020B:"i",\u1EC9:"i",\u1ECB:"i",\u00F0:"d",\u00F1:"n",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u1ED1:"o",\u1E4D:"o",\u1E53:"o",\u020F:"o",\u1ECF:"o",\u1ECD:"o",\u1ED5:"o",\u1ED7:"o",\u1ED9:"o",\u1EDD:"o",\u1EDF:"o",\u1EE1:"o",\u1EDB:"o",\u1EE3:"o",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u1EE7:"u",\u1EE5:"u",\u1EED:"u",\u1EEF:"u",\u1EF1:"u",\u00FD:"y",\u00FF:"y",\u0100:"A",\u0101:"a",\u0102:"A",\u0103:"a",\u0104:"A",\u0105:"a",\u0106:"C",\u0107:"c",\u0108:"C",\u0109:"c",\u010A:"C",\u010B:"c",\u010C:"C",\u010D:"c",C\u0306:"C",c\u0306:"c",\u010E:"D",\u010F:"d",\u0110:"D",\u0111:"d",\u0112:"E",\u0113:"e",\u0114:"E",\u0115:"e",\u0116:"E",\u0117:"e",\u0118:"E",\u0119:"e",\u011A:"E",\u011B:"e",\u011C:"G",\u01F4:"G",\u011D:"g",\u01F5:"g",\u011E:"G",\u011F:"g",\u0120:"G",\u0121:"g",\u0122:"G",\u0123:"g",\u0124:"H",\u0125:"h",\u0126:"H",\u0127:"h",\u1E2A:"H",\u1E2B:"h",\u0128:"I",\u0129:"i",\u012A:"I",\u012B:"i",\u012C:"I",\u012D:"i",\u012E:"I",\u012F:"i",\u0130:"I",\u0131:"i",\u0132:"IJ",\u0133:"ij",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u1E30:"K",\u1E31:"k",K\u0306:"K",k\u0306:"k",\u0139:"L",\u013A:"l",\u013B:"L",\u013C:"l",\u013D:"L",\u013E:"l",\u013F:"L",\u0140:"l",\u0141:"l",\u0142:"l",\u1E3E:"M",\u1E3F:"m",M\u0306:"M",m\u0306:"m",\u0143:"N",\u0144:"n",\u0145:"N",\u0146:"n",\u0147:"N",\u0148:"n",\u0149:"n",N\u0306:"N",n\u0306:"n",\u014C:"O",\u014D:"o",\u014E:"O",\u014F:"o",\u0150:"O",\u0151:"o",\u0152:"OE",\u0153:"oe",P\u0306:"P",p\u0306:"p",\u0154:"R",\u0155:"r",\u0156:"R",\u0157:"r",\u0158:"R",\u0159:"r",R\u0306:"R",r\u0306:"r",\u0212:"R",\u0213:"r",\u015A:"S",\u015B:"s",\u015C:"S",\u015D:"s",\u015E:"S",\u0218:"S",\u0219:"s",\u015F:"s",\u0160:"S",\u0161:"s",\u0162:"T",\u0163:"t",\u021B:"t",\u021A:"T",\u0164:"T",\u0165:"t",\u0166:"T",\u0167:"t",T\u0306:"T",t\u0306:"t",\u0168:"U",\u0169:"u",\u016A:"U",\u016B:"u",\u016C:"U",\u016D:"u",\u016E:"U",\u016F:"u",\u0170:"U",\u0171:"u",\u0172:"U",\u0173:"u",\u0216:"U",\u0217:"u",V\u0306:"V",v\u0306:"v",\u0174:"W",\u0175:"w",\u1E82:"W",\u1E83:"w",X\u0306:"X",x\u0306:"x",\u0176:"Y",\u0177:"y",\u0178:"Y",Y\u0306:"Y",y\u0306:"y",\u0179:"Z",\u017A:"z",\u017B:"Z",\u017C:"z",\u017D:"Z",\u017E:"z",\u017F:"s",\u0192:"f",\u01A0:"O",\u01A1:"o",\u01AF:"U",\u01B0:"u",\u01CD:"A",\u01CE:"a",\u01CF:"I",\u01D0:"i",\u01D1:"O",\u01D2:"o",\u01D3:"U",\u01D4:"u",\u01D5:"U",\u01D6:"u",\u01D7:"U",\u01D8:"u",\u01D9:"U",\u01DA:"u",\u01DB:"U",\u01DC:"u",\u1EE8:"U",\u1EE9:"u",\u1E78:"U",\u1E79:"u",\u01FA:"A",\u01FB:"a",\u01FC:"AE",\u01FD:"ae",\u01FE:"O",\u01FF:"o",\u00DE:"TH",\u00FE:"th",\u1E54:"P",\u1E55:"p",\u1E64:"S",\u1E65:"s",X\u0301:"X",x\u0301:"x",\u0403:"\u0413",\u0453:"\u0433",\u040C:"\u041A",\u045C:"\u043A",A\u030B:"A",a\u030B:"a",E\u030B:"E",e\u030B:"e",I\u030B:"I",i\u030B:"i",\u01F8:"N",\u01F9:"n",\u1ED2:"O",\u1ED3:"o",\u1E50:"O",\u1E51:"o",\u1EEA:"U",\u1EEB:"u",\u1E80:"W",\u1E81:"w",\u1EF2:"Y",\u1EF3:"y",\u0200:"A",\u0201:"a",\u0204:"E",\u0205:"e",\u0208:"I",\u0209:"i",\u020C:"O",\u020D:"o",\u0210:"R",\u0211:"r",\u0214:"U",\u0215:"u",B\u030C:"B",b\u030C:"b",\u010C\u0323:"C",\u010D\u0323:"c",\u00CA\u030C:"E",\u00EA\u030C:"e",F\u030C:"F",f\u030C:"f",\u01E6:"G",\u01E7:"g",\u021E:"H",\u021F:"h",J\u030C:"J",\u01F0:"j",\u01E8:"K",\u01E9:"k",M\u030C:"M",m\u030C:"m",P\u030C:"P",p\u030C:"p",Q\u030C:"Q",q\u030C:"q",\u0158\u0329:"R",\u0159\u0329:"r",\u1E66:"S",\u1E67:"s",V\u030C:"V",v\u030C:"v",W\u030C:"W",w\u030C:"w",X\u030C:"X",x\u030C:"x",Y\u030C:"Y",y\u030C:"y",A\u0327:"A",a\u0327:"a",B\u0327:"B",b\u0327:"b",\u1E10:"D",\u1E11:"d",\u0228:"E",\u0229:"e",\u0190\u0327:"E",\u025B\u0327:"e",\u1E28:"H",\u1E29:"h",I\u0327:"I",i\u0327:"i",\u0197\u0327:"I",\u0268\u0327:"i",M\u0327:"M",m\u0327:"m",O\u0327:"O",o\u0327:"o",Q\u0327:"Q",q\u0327:"q",U\u0327:"U",u\u0327:"u",X\u0327:"X",x\u0327:"x",Z\u0327:"Z",z\u0327:"z",\u0439:"\u0438",\u0419:"\u0418",\u0451:"\u0435",\u0401:"\u0415"},wU=Object.keys(xU).join("|"),sve=new RegExp(wU,"g"),ave=new RegExp(wU,"");function lve(e){return xU[e]}var CU=function(e){return e.replace(sve,lve)},cve=function(e){return!!e.match(ave)};Gw.exports=CU;Gw.exports.has=cve;Gw.exports.remove=CU});var VU=oe((_Fe,DU)=>{DU.exports=window.wp.apiFetch});var vM=oe((xFe,FU)=>{FU.exports=window.wp.htmlEntities});var jv=oe((qFe,iH)=>{iH.exports=window.wp.styleEngine});var nt=oe((Y4e,TH)=>{TH.exports=window.wp.keycodes});var je=oe((mze,UH)=>{UH.exports=window.wp.dom});var GH=oe(AM=>{"use strict";Object.defineProperty(AM,"__esModule",{value:!0});AM.default=HH;function HH(){}HH.prototype={diff:function(t,o){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=r.callback;typeof r=="function"&&(n=r,r={}),this.options=r;var i=this;function s(g){return n?(setTimeout(function(){n(void 0,g)},0),!0):g}t=this.castInput(t),o=this.castInput(o),t=this.removeEmpty(this.tokenize(t)),o=this.removeEmpty(this.tokenize(o));var a=o.length,c=t.length,u=1,d=a+c,f=[{newPos:-1,components:[]}],m=this.extractCommon(f[0],o,t,0);if(f[0].newPos+1>=a&&m+1>=c)return s([{value:this.join(o),count:o.length}]);function h(){for(var g=-1*u;g<=u;g+=2){var b=void 0,v=f[g-1],k=f[g+1],y=(k?k.newPos:0)-g;v&&(f[g-1]=void 0);var S=v&&v.newPos+1=a&&y+1>=c)return s(tye(i,b.components,o,t,i.useLongestToken));f[g]=b}u++}if(n)(function g(){setTimeout(function(){if(u>d)return n();h()||g()},0)})();else for(;u<=d;){var p=h();if(p)return p}},pushComponent:function(t,o,r){var n=t[t.length-1];n&&n.added===o&&n.removed===r?t[t.length-1]={count:n.count+1,added:o,removed:r}:t.push({count:1,added:o,removed:r})},extractCommon:function(t,o,r,n){for(var i=o.length,s=r.length,a=t.newPos,c=a-n,u=0;a+1h.length?g:h}),u.value=e.join(d)}else u.value=e.join(o.slice(a,a+u.count));a+=u.count,u.added||(c+=u.count)}}var m=t[s-1];return s>1&&typeof m.value=="string"&&(m.added||m.removed)&&e.equals("",m.value)&&(t[s-2].value+=m.value,t.pop()),t}function oye(e){return{newPos:e.newPos,components:e.components.slice(0)}}});var $H=oe(qv=>{"use strict";Object.defineProperty(qv,"__esModule",{value:!0});qv.diffChars=iye;qv.characterDiff=void 0;var rye=nye(GH());function nye(e){return e&&e.__esModule?e:{default:e}}var WH=new rye.default;qv.characterDiff=WH;function iye(e,t,o){return WH.diff(e,t,o)}});var jr=oe((Tze,s8)=>{s8.exports=window.React});var l8=oe((Ize,a8)=>{"use strict";var cye="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";a8.exports=cye});var f8=oe((Pze,d8)=>{"use strict";var uye=l8();function c8(){}function u8(){}u8.resetWarningCache=c8;d8.exports=function(){function e(r,n,i,s,a,c){if(c!==uye){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}e.isRequired=e;function t(){return e}var o={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:u8,resetWarningCache:c8};return o.PropTypes=o,o}});var p8=oe((Aze,m8)=>{m8.exports=f8()();var Rze,Oze});var g8=oe((vC,h8)=>{(function(e,t){if(typeof define=="function"&&define.amd)define(["module","exports"],t);else if(typeof vC<"u")t(h8,vC);else{var o={exports:{}};t(o,o.exports),e.autosize=o.exports}})(vC,function(e,t){"use strict";var o=typeof Map=="function"?new Map:(function(){var c=[],u=[];return{has:function(f){return c.indexOf(f)>-1},get:function(f){return u[c.indexOf(f)]},set:function(f,m){c.indexOf(f)===-1&&(c.push(f),u.push(m))},delete:function(f){var m=c.indexOf(f);m>-1&&(c.splice(m,1),u.splice(m,1))}}})(),r=function(u){return new Event(u,{bubbles:!0})};try{new Event("test")}catch{r=function(d){var f=document.createEvent("Event");return f.initEvent(d,!0,!1),f}}function n(c){if(!c||!c.nodeName||c.nodeName!=="TEXTAREA"||o.has(c))return;var u=null,d=null,f=null;function m(){var y=window.getComputedStyle(c,null);y.resize==="vertical"?c.style.resize="none":y.resize==="both"&&(c.style.resize="horizontal"),y.boxSizing==="content-box"?u=-(parseFloat(y.paddingTop)+parseFloat(y.paddingBottom)):u=parseFloat(y.borderTopWidth)+parseFloat(y.borderBottomWidth),isNaN(u)&&(u=0),b()}function h(y){{var S=c.style.width;c.style.width="0px",c.offsetWidth,c.style.width=S}c.style.overflowY=y}function p(y){for(var S=[];y&&y.parentNode&&y.parentNode instanceof Element;)y.parentNode.scrollTop&&S.push({node:y.parentNode,scrollTop:y.parentNode.scrollTop}),y=y.parentNode;return S}function g(){if(c.scrollHeight!==0){var y=p(c),S=document.documentElement&&document.documentElement.scrollTop;c.style.height="",c.style.height=c.scrollHeight+u+"px",d=c.clientWidth,y.forEach(function(x){x.node.scrollTop=x.scrollTop}),S&&(document.documentElement.scrollTop=S)}}function b(){g();var y=Math.round(parseFloat(c.style.height)),S=window.getComputedStyle(c,null),x=S.boxSizing==="content-box"?Math.round(parseFloat(S.height)):c.offsetHeight;if(x"u"||typeof window.getComputedStyle!="function"?(a=function(u){return u},a.destroy=function(c){return c},a.update=function(c){return c}):(a=function(u,d){return u&&Array.prototype.forEach.call(u.length?u:[u],function(f){return n(f,d)}),u},a.destroy=function(c){return c&&Array.prototype.forEach.call(c.length?c:[c],i),c},a.update=function(c){return c&&Array.prototype.forEach.call(c.length?c:[c],s),c}),t.default=a,e.exports=t.default})});var k8=oe((Lze,b8)=>{var dye=function(e,t,o){return o=window.getComputedStyle,(o?o(e):e.currentStyle)[t.replace(/-(\w)/gi,function(r,n){return n.toUpperCase()})]};b8.exports=dye});var y8=oe((Nze,v8)=>{var NM=k8();function fye(e){var t=NM(e,"line-height"),o=parseFloat(t,10);if(t===o+""){var r=e.style.lineHeight;e.style.lineHeight=t+"em",t=NM(e,"line-height"),o=parseFloat(t,10),r?e.style.lineHeight=r:delete e.style.lineHeight}if(t.indexOf("pt")!==-1?(o*=4,o/=3):t.indexOf("mm")!==-1?(o*=96,o/=25.4):t.indexOf("cm")!==-1?(o*=96,o/=2.54):t.indexOf("in")!==-1?o*=96:t.indexOf("pc")!==-1&&(o*=16),o=Math.round(o),t==="normal"){var n=e.nodeName,i=document.createElement(n);i.innerHTML=" ",n.toUpperCase()==="TEXTAREA"&&i.setAttribute("rows","1");var s=NM(e,"font-size");i.style.fontSize=s,i.style.padding="0px",i.style.border="0px";var a=document.body;a.appendChild(i);var c=i.offsetHeight;o=c,a.removeChild(i)}return o}v8.exports=fye});var _8=oe(Pl=>{"use strict";var mye=Pl&&Pl.__extends||(function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var r in o)o.hasOwnProperty(r)&&(t[r]=o[r])};return function(t,o){e(t,o);function r(){this.constructor=t}t.prototype=o===null?Object.create(o):(r.prototype=o.prototype,new r)}})(),MM=Pl&&Pl.__assign||Object.assign||function(e){for(var t,o=1,r=arguments.length;o{"use strict";var kye=_8();x8.exports=kye.TextareaAutosize});var Xv=oe((zze,E8)=>{E8.exports=window.wp.warning});var w7=oe((n6e,x7)=>{x7.exports=window.ReactDOM});var Is=oe((O6e,J7)=>{J7.exports=window.wp.keyboardShortcuts});var y9=oe((Wje,v9)=>{v9.exports=window.wp.uploadMedia});var I1=oe(()=>{});var P1=oe(()=>{});var zD=oe(()=>{});var RG=oe((vHe,PG)=>{var B_e="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",E_e=(e,t=21)=>(o=t)=>{let r="",n=o|0;for(;n--;)r+=e[Math.random()*e.length|0];return r},T_e=(e=21)=>{let t="",o=e|0;for(;o--;)t+=B_e[Math.random()*64|0];return t};PG.exports={nanoid:T_e,customAlphabet:E_e}});var jD=oe(()=>{});var AG=oe((_He,UD)=>{var Ce=String,OG=function(){return{isColorSupported:!1,reset:Ce,bold:Ce,dim:Ce,italic:Ce,underline:Ce,inverse:Ce,hidden:Ce,strikethrough:Ce,black:Ce,red:Ce,green:Ce,yellow:Ce,blue:Ce,magenta:Ce,cyan:Ce,white:Ce,gray:Ce,bgBlack:Ce,bgRed:Ce,bgGreen:Ce,bgYellow:Ce,bgBlue:Ce,bgMagenta:Ce,bgCyan:Ce,bgWhite:Ce,blackBright:Ce,redBright:Ce,greenBright:Ce,yellowBright:Ce,blueBright:Ce,magentaBright:Ce,cyanBright:Ce,whiteBright:Ce,bgBlackBright:Ce,bgRedBright:Ce,bgGreenBright:Ce,bgYellowBright:Ce,bgBlueBright:Ce,bgMagentaBright:Ce,bgCyanBright:Ce,bgWhiteBright:Ce}};UD.exports=OG();UD.exports.createColors=OG});var R1=oe((xHe,MG)=>{"use strict";var LG=AG(),NG=jD(),Cy=class e extends Error{constructor(t,o,r,n,i,s){super(t),this.name="CssSyntaxError",this.reason=t,i&&(this.file=i),n&&(this.source=n),s&&(this.plugin=s),typeof o<"u"&&typeof r<"u"&&(typeof o=="number"?(this.line=o,this.column=r):(this.line=o.line,this.column=o.column,this.endLine=r.line,this.endColumn=r.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,e)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(t){if(!this.source)return"";let o=this.source;t==null&&(t=LG.isColorSupported),NG&&t&&(o=NG(o));let r=o.split(/\r?\n/),n=Math.max(this.line-3,0),i=Math.min(this.line+2,r.length),s=String(i).length,a,c;if(t){let{bold:u,gray:d,red:f}=LG.createColors(!0);a=m=>u(f(m)),c=m=>d(m)}else a=c=u=>u;return r.slice(n,i).map((u,d)=>{let f=n+1+d,m=" "+(" "+f).slice(-s)+" | ";if(f===this.line){let h=c(m.replace(/\d/g," "))+u.slice(0,this.column-1).replace(/[^\t]/g," ");return a(">")+c(m)+u+` +"use strict";var wp;(wp||={}).blockEditor=(()=>{var Ume=Object.create;var i0=Object.defineProperty;var Hme=Object.getOwnPropertyDescriptor;var Gme=Object.getOwnPropertyNames;var Wme=Object.getPrototypeOf,$me=Object.prototype.hasOwnProperty;var oe=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Ip=(e,t)=>{for(var o in t)i0(e,o,{get:t[o],enumerable:!0})},s6=(e,t,o,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Gme(t))!$me.call(e,n)&&n!==o&&i0(e,n,{get:()=>t[n],enumerable:!(r=Hme(t,n))||r.enumerable});return e};var l=(e,t,o)=>(o=e!=null?Ume(Wme(e)):{},s6(t||!e||!e.__esModule?i0(o,"default",{value:e,enumerable:!0}):o,e)),Kme=e=>s6(i0({},"__esModule",{value:!0}),e);var $=oe((fLe,l6)=>{l6.exports=window.wp.blocks});var R=oe((mLe,c6)=>{c6.exports=window.wp.element});var F=oe((pLe,u6)=>{u6.exports=window.wp.data});var Z=oe((hLe,d6)=>{d6.exports=window.wp.compose});var ct=oe((gLe,f6)=>{f6.exports=window.wp.hooks});var A=oe((SLe,x6)=>{x6.exports=window.wp.components});var xO=oe((_Le,w6)=>{w6.exports=window.wp.privateApis});var Re=oe((ILe,I6)=>{I6.exports=window.wp.deprecated});var w=oe((PLe,P6)=>{P6.exports=window.ReactJSXRuntime});var dn=oe((OLe,O6)=>{O6.exports=window.wp.url});var N=oe((HLe,F6)=>{F6.exports=window.wp.i18n});var yf=oe((GLe,z6)=>{"use strict";z6.exports=function e(t,o){if(t===o)return!0;if(t&&o&&typeof t=="object"&&typeof o=="object"){if(t.constructor!==o.constructor)return!1;var r,n,i;if(Array.isArray(t)){if(r=t.length,r!=o.length)return!1;for(n=r;n--!==0;)if(!e(t[n],o[n]))return!1;return!0}if(t instanceof Map&&o instanceof Map){if(t.size!==o.size)return!1;for(n of t.entries())if(!o.has(n[0]))return!1;for(n of t.entries())if(!e(n[1],o.get(n[0])))return!1;return!0}if(t instanceof Set&&o instanceof Set){if(t.size!==o.size)return!1;for(n of t.entries())if(!o.has(n[0]))return!1;return!0}if(ArrayBuffer.isView(t)&&ArrayBuffer.isView(o)){if(r=t.length,r!=o.length)return!1;for(n=r;n--!==0;)if(t[n]!==o[n])return!1;return!0}if(t.constructor===RegExp)return t.source===o.source&&t.flags===o.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===o.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===o.toString();if(i=Object.keys(t),r=i.length,r!==Object.keys(o).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(o,i[n]))return!1;for(n=r;n--!==0;){var s=i[n];if(!e(t[s],o[s]))return!1}return!0}return t!==t&&o!==o}});var q=oe((eNe,X6)=>{X6.exports=window.wp.primitives});var dr=oe((SVe,Q6)=>{Q6.exports=window.wp.richText});var ej=oe((_Ve,J6)=>{J6.exports=window.wp.blockSerializationDefaultParser});var Xo=oe((QVe,Mj)=>{Mj.exports=window.wp.a11y});var Ii=oe((JVe,Uj)=>{Uj.exports=window.wp.notices});var Zp=oe((e3e,Hj)=>{Hj.exports=window.wp.preferences});var BU=oe((J3e,Gw)=>{var xU={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u1EA4:"A",\u1EAE:"A",\u1EB2:"A",\u1EB4:"A",\u1EB6:"A",\u00C6:"AE",\u1EA6:"A",\u1EB0:"A",\u0202:"A",\u1EA2:"A",\u1EA0:"A",\u1EA8:"A",\u1EAA:"A",\u1EAC:"A",\u00C7:"C",\u1E08:"C",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u1EBE:"E",\u1E16:"E",\u1EC0:"E",\u1E14:"E",\u1E1C:"E",\u0206:"E",\u1EBA:"E",\u1EBC:"E",\u1EB8:"E",\u1EC2:"E",\u1EC4:"E",\u1EC6:"E",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u1E2E:"I",\u020A:"I",\u1EC8:"I",\u1ECA:"I",\u00D0:"D",\u00D1:"N",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u1ED0:"O",\u1E4C:"O",\u1E52:"O",\u020E:"O",\u1ECE:"O",\u1ECC:"O",\u1ED4:"O",\u1ED6:"O",\u1ED8:"O",\u1EDC:"O",\u1EDE:"O",\u1EE0:"O",\u1EDA:"O",\u1EE2:"O",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u1EE6:"U",\u1EE4:"U",\u1EEC:"U",\u1EEE:"U",\u1EF0:"U",\u00DD:"Y",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u1EA5:"a",\u1EAF:"a",\u1EB3:"a",\u1EB5:"a",\u1EB7:"a",\u00E6:"ae",\u1EA7:"a",\u1EB1:"a",\u0203:"a",\u1EA3:"a",\u1EA1:"a",\u1EA9:"a",\u1EAB:"a",\u1EAD:"a",\u00E7:"c",\u1E09:"c",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u1EBF:"e",\u1E17:"e",\u1EC1:"e",\u1E15:"e",\u1E1D:"e",\u0207:"e",\u1EBB:"e",\u1EBD:"e",\u1EB9:"e",\u1EC3:"e",\u1EC5:"e",\u1EC7:"e",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u1E2F:"i",\u020B:"i",\u1EC9:"i",\u1ECB:"i",\u00F0:"d",\u00F1:"n",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u1ED1:"o",\u1E4D:"o",\u1E53:"o",\u020F:"o",\u1ECF:"o",\u1ECD:"o",\u1ED5:"o",\u1ED7:"o",\u1ED9:"o",\u1EDD:"o",\u1EDF:"o",\u1EE1:"o",\u1EDB:"o",\u1EE3:"o",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u1EE7:"u",\u1EE5:"u",\u1EED:"u",\u1EEF:"u",\u1EF1:"u",\u00FD:"y",\u00FF:"y",\u0100:"A",\u0101:"a",\u0102:"A",\u0103:"a",\u0104:"A",\u0105:"a",\u0106:"C",\u0107:"c",\u0108:"C",\u0109:"c",\u010A:"C",\u010B:"c",\u010C:"C",\u010D:"c",C\u0306:"C",c\u0306:"c",\u010E:"D",\u010F:"d",\u0110:"D",\u0111:"d",\u0112:"E",\u0113:"e",\u0114:"E",\u0115:"e",\u0116:"E",\u0117:"e",\u0118:"E",\u0119:"e",\u011A:"E",\u011B:"e",\u011C:"G",\u01F4:"G",\u011D:"g",\u01F5:"g",\u011E:"G",\u011F:"g",\u0120:"G",\u0121:"g",\u0122:"G",\u0123:"g",\u0124:"H",\u0125:"h",\u0126:"H",\u0127:"h",\u1E2A:"H",\u1E2B:"h",\u0128:"I",\u0129:"i",\u012A:"I",\u012B:"i",\u012C:"I",\u012D:"i",\u012E:"I",\u012F:"i",\u0130:"I",\u0131:"i",\u0132:"IJ",\u0133:"ij",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u1E30:"K",\u1E31:"k",K\u0306:"K",k\u0306:"k",\u0139:"L",\u013A:"l",\u013B:"L",\u013C:"l",\u013D:"L",\u013E:"l",\u013F:"L",\u0140:"l",\u0141:"l",\u0142:"l",\u1E3E:"M",\u1E3F:"m",M\u0306:"M",m\u0306:"m",\u0143:"N",\u0144:"n",\u0145:"N",\u0146:"n",\u0147:"N",\u0148:"n",\u0149:"n",N\u0306:"N",n\u0306:"n",\u014C:"O",\u014D:"o",\u014E:"O",\u014F:"o",\u0150:"O",\u0151:"o",\u0152:"OE",\u0153:"oe",P\u0306:"P",p\u0306:"p",\u0154:"R",\u0155:"r",\u0156:"R",\u0157:"r",\u0158:"R",\u0159:"r",R\u0306:"R",r\u0306:"r",\u0212:"R",\u0213:"r",\u015A:"S",\u015B:"s",\u015C:"S",\u015D:"s",\u015E:"S",\u0218:"S",\u0219:"s",\u015F:"s",\u0160:"S",\u0161:"s",\u0162:"T",\u0163:"t",\u021B:"t",\u021A:"T",\u0164:"T",\u0165:"t",\u0166:"T",\u0167:"t",T\u0306:"T",t\u0306:"t",\u0168:"U",\u0169:"u",\u016A:"U",\u016B:"u",\u016C:"U",\u016D:"u",\u016E:"U",\u016F:"u",\u0170:"U",\u0171:"u",\u0172:"U",\u0173:"u",\u0216:"U",\u0217:"u",V\u0306:"V",v\u0306:"v",\u0174:"W",\u0175:"w",\u1E82:"W",\u1E83:"w",X\u0306:"X",x\u0306:"x",\u0176:"Y",\u0177:"y",\u0178:"Y",Y\u0306:"Y",y\u0306:"y",\u0179:"Z",\u017A:"z",\u017B:"Z",\u017C:"z",\u017D:"Z",\u017E:"z",\u017F:"s",\u0192:"f",\u01A0:"O",\u01A1:"o",\u01AF:"U",\u01B0:"u",\u01CD:"A",\u01CE:"a",\u01CF:"I",\u01D0:"i",\u01D1:"O",\u01D2:"o",\u01D3:"U",\u01D4:"u",\u01D5:"U",\u01D6:"u",\u01D7:"U",\u01D8:"u",\u01D9:"U",\u01DA:"u",\u01DB:"U",\u01DC:"u",\u1EE8:"U",\u1EE9:"u",\u1E78:"U",\u1E79:"u",\u01FA:"A",\u01FB:"a",\u01FC:"AE",\u01FD:"ae",\u01FE:"O",\u01FF:"o",\u00DE:"TH",\u00FE:"th",\u1E54:"P",\u1E55:"p",\u1E64:"S",\u1E65:"s",X\u0301:"X",x\u0301:"x",\u0403:"\u0413",\u0453:"\u0433",\u040C:"\u041A",\u045C:"\u043A",A\u030B:"A",a\u030B:"a",E\u030B:"E",e\u030B:"e",I\u030B:"I",i\u030B:"i",\u01F8:"N",\u01F9:"n",\u1ED2:"O",\u1ED3:"o",\u1E50:"O",\u1E51:"o",\u1EEA:"U",\u1EEB:"u",\u1E80:"W",\u1E81:"w",\u1EF2:"Y",\u1EF3:"y",\u0200:"A",\u0201:"a",\u0204:"E",\u0205:"e",\u0208:"I",\u0209:"i",\u020C:"O",\u020D:"o",\u0210:"R",\u0211:"r",\u0214:"U",\u0215:"u",B\u030C:"B",b\u030C:"b",\u010C\u0323:"C",\u010D\u0323:"c",\u00CA\u030C:"E",\u00EA\u030C:"e",F\u030C:"F",f\u030C:"f",\u01E6:"G",\u01E7:"g",\u021E:"H",\u021F:"h",J\u030C:"J",\u01F0:"j",\u01E8:"K",\u01E9:"k",M\u030C:"M",m\u030C:"m",P\u030C:"P",p\u030C:"p",Q\u030C:"Q",q\u030C:"q",\u0158\u0329:"R",\u0159\u0329:"r",\u1E66:"S",\u1E67:"s",V\u030C:"V",v\u030C:"v",W\u030C:"W",w\u030C:"w",X\u030C:"X",x\u030C:"x",Y\u030C:"Y",y\u030C:"y",A\u0327:"A",a\u0327:"a",B\u0327:"B",b\u0327:"b",\u1E10:"D",\u1E11:"d",\u0228:"E",\u0229:"e",\u0190\u0327:"E",\u025B\u0327:"e",\u1E28:"H",\u1E29:"h",I\u0327:"I",i\u0327:"i",\u0197\u0327:"I",\u0268\u0327:"i",M\u0327:"M",m\u0327:"m",O\u0327:"O",o\u0327:"o",Q\u0327:"Q",q\u0327:"q",U\u0327:"U",u\u0327:"u",X\u0327:"X",x\u0327:"x",Z\u0327:"Z",z\u0327:"z",\u0439:"\u0438",\u0419:"\u0418",\u0451:"\u0435",\u0401:"\u0415"},wU=Object.keys(xU).join("|"),ive=new RegExp(wU,"g"),sve=new RegExp(wU,"");function ave(e){return xU[e]}var CU=function(e){return e.replace(ive,ave)},lve=function(e){return!!e.match(sve)};Gw.exports=CU;Gw.exports.has=lve;Gw.exports.remove=CU});var VU=oe((SFe,DU)=>{DU.exports=window.wp.apiFetch});var vM=oe((_Fe,FU)=>{FU.exports=window.wp.htmlEntities});var jv=oe((YFe,iH)=>{iH.exports=window.wp.styleEngine});var nt=oe((K4e,TH)=>{TH.exports=window.wp.keycodes});var je=oe((fze,UH)=>{UH.exports=window.wp.dom});var GH=oe(AM=>{"use strict";Object.defineProperty(AM,"__esModule",{value:!0});AM.default=HH;function HH(){}HH.prototype={diff:function(t,o){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=r.callback;typeof r=="function"&&(n=r,r={}),this.options=r;var i=this;function s(g){return n?(setTimeout(function(){n(void 0,g)},0),!0):g}t=this.castInput(t),o=this.castInput(o),t=this.removeEmpty(this.tokenize(t)),o=this.removeEmpty(this.tokenize(o));var a=o.length,c=t.length,u=1,d=a+c,f=[{newPos:-1,components:[]}],m=this.extractCommon(f[0],o,t,0);if(f[0].newPos+1>=a&&m+1>=c)return s([{value:this.join(o),count:o.length}]);function h(){for(var g=-1*u;g<=u;g+=2){var b=void 0,v=f[g-1],k=f[g+1],y=(k?k.newPos:0)-g;v&&(f[g-1]=void 0);var S=v&&v.newPos+1=a&&y+1>=c)return s(eye(i,b.components,o,t,i.useLongestToken));f[g]=b}u++}if(n)(function g(){setTimeout(function(){if(u>d)return n();h()||g()},0)})();else for(;u<=d;){var p=h();if(p)return p}},pushComponent:function(t,o,r){var n=t[t.length-1];n&&n.added===o&&n.removed===r?t[t.length-1]={count:n.count+1,added:o,removed:r}:t.push({count:1,added:o,removed:r})},extractCommon:function(t,o,r,n){for(var i=o.length,s=r.length,a=t.newPos,c=a-n,u=0;a+1h.length?g:h}),u.value=e.join(d)}else u.value=e.join(o.slice(a,a+u.count));a+=u.count,u.added||(c+=u.count)}}var m=t[s-1];return s>1&&typeof m.value=="string"&&(m.added||m.removed)&&e.equals("",m.value)&&(t[s-2].value+=m.value,t.pop()),t}function tye(e){return{newPos:e.newPos,components:e.components.slice(0)}}});var $H=oe(qv=>{"use strict";Object.defineProperty(qv,"__esModule",{value:!0});qv.diffChars=nye;qv.characterDiff=void 0;var oye=rye(GH());function rye(e){return e&&e.__esModule?e:{default:e}}var WH=new oye.default;qv.characterDiff=WH;function nye(e,t,o){return WH.diff(e,t,o)}});var jr=oe((Eze,s8)=>{s8.exports=window.React});var l8=oe((Tze,a8)=>{"use strict";var lye="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";a8.exports=lye});var f8=oe((Ize,d8)=>{"use strict";var cye=l8();function c8(){}function u8(){}u8.resetWarningCache=c8;d8.exports=function(){function e(r,n,i,s,a,c){if(c!==cye){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}e.isRequired=e;function t(){return e}var o={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:u8,resetWarningCache:c8};return o.PropTypes=o,o}});var p8=oe((Oze,m8)=>{m8.exports=f8()();var Pze,Rze});var g8=oe((vC,h8)=>{(function(e,t){if(typeof define=="function"&&define.amd)define(["module","exports"],t);else if(typeof vC<"u")t(h8,vC);else{var o={exports:{}};t(o,o.exports),e.autosize=o.exports}})(vC,function(e,t){"use strict";var o=typeof Map=="function"?new Map:(function(){var c=[],u=[];return{has:function(f){return c.indexOf(f)>-1},get:function(f){return u[c.indexOf(f)]},set:function(f,m){c.indexOf(f)===-1&&(c.push(f),u.push(m))},delete:function(f){var m=c.indexOf(f);m>-1&&(c.splice(m,1),u.splice(m,1))}}})(),r=function(u){return new Event(u,{bubbles:!0})};try{new Event("test")}catch{r=function(d){var f=document.createEvent("Event");return f.initEvent(d,!0,!1),f}}function n(c){if(!c||!c.nodeName||c.nodeName!=="TEXTAREA"||o.has(c))return;var u=null,d=null,f=null;function m(){var y=window.getComputedStyle(c,null);y.resize==="vertical"?c.style.resize="none":y.resize==="both"&&(c.style.resize="horizontal"),y.boxSizing==="content-box"?u=-(parseFloat(y.paddingTop)+parseFloat(y.paddingBottom)):u=parseFloat(y.borderTopWidth)+parseFloat(y.borderBottomWidth),isNaN(u)&&(u=0),b()}function h(y){{var S=c.style.width;c.style.width="0px",c.offsetWidth,c.style.width=S}c.style.overflowY=y}function p(y){for(var S=[];y&&y.parentNode&&y.parentNode instanceof Element;)y.parentNode.scrollTop&&S.push({node:y.parentNode,scrollTop:y.parentNode.scrollTop}),y=y.parentNode;return S}function g(){if(c.scrollHeight!==0){var y=p(c),S=document.documentElement&&document.documentElement.scrollTop;c.style.height="",c.style.height=c.scrollHeight+u+"px",d=c.clientWidth,y.forEach(function(x){x.node.scrollTop=x.scrollTop}),S&&(document.documentElement.scrollTop=S)}}function b(){g();var y=Math.round(parseFloat(c.style.height)),S=window.getComputedStyle(c,null),x=S.boxSizing==="content-box"?Math.round(parseFloat(S.height)):c.offsetHeight;if(x"u"||typeof window.getComputedStyle!="function"?(a=function(u){return u},a.destroy=function(c){return c},a.update=function(c){return c}):(a=function(u,d){return u&&Array.prototype.forEach.call(u.length?u:[u],function(f){return n(f,d)}),u},a.destroy=function(c){return c&&Array.prototype.forEach.call(c.length?c:[c],i),c},a.update=function(c){return c&&Array.prototype.forEach.call(c.length?c:[c],s),c}),t.default=a,e.exports=t.default})});var k8=oe((Aze,b8)=>{var uye=function(e,t,o){return o=window.getComputedStyle,(o?o(e):e.currentStyle)[t.replace(/-(\w)/gi,function(r,n){return n.toUpperCase()})]};b8.exports=uye});var y8=oe((Lze,v8)=>{var NM=k8();function dye(e){var t=NM(e,"line-height"),o=parseFloat(t,10);if(t===o+""){var r=e.style.lineHeight;e.style.lineHeight=t+"em",t=NM(e,"line-height"),o=parseFloat(t,10),r?e.style.lineHeight=r:delete e.style.lineHeight}if(t.indexOf("pt")!==-1?(o*=4,o/=3):t.indexOf("mm")!==-1?(o*=96,o/=25.4):t.indexOf("cm")!==-1?(o*=96,o/=2.54):t.indexOf("in")!==-1?o*=96:t.indexOf("pc")!==-1&&(o*=16),o=Math.round(o),t==="normal"){var n=e.nodeName,i=document.createElement(n);i.innerHTML=" ",n.toUpperCase()==="TEXTAREA"&&i.setAttribute("rows","1");var s=NM(e,"font-size");i.style.fontSize=s,i.style.padding="0px",i.style.border="0px";var a=document.body;a.appendChild(i);var c=i.offsetHeight;o=c,a.removeChild(i)}return o}v8.exports=dye});var _8=oe(Pl=>{"use strict";var fye=Pl&&Pl.__extends||(function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var r in o)o.hasOwnProperty(r)&&(t[r]=o[r])};return function(t,o){e(t,o);function r(){this.constructor=t}t.prototype=o===null?Object.create(o):(r.prototype=o.prototype,new r)}})(),MM=Pl&&Pl.__assign||Object.assign||function(e){for(var t,o=1,r=arguments.length;o{"use strict";var bye=_8();x8.exports=bye.TextareaAutosize});var Xv=oe((Fze,E8)=>{E8.exports=window.wp.warning});var w7=oe((r6e,x7)=>{x7.exports=window.ReactDOM});var Is=oe((R6e,J7)=>{J7.exports=window.wp.keyboardShortcuts});var y9=oe((Gje,v9)=>{v9.exports=window.wp.uploadMedia});var I1=oe(()=>{});var P1=oe(()=>{});var zD=oe(()=>{});var RG=oe((kHe,PG)=>{var C_e="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",B_e=(e,t=21)=>(o=t)=>{let r="",n=o|0;for(;n--;)r+=e[Math.random()*e.length|0];return r},E_e=(e=21)=>{let t="",o=e|0;for(;o--;)t+=C_e[Math.random()*64|0];return t};PG.exports={nanoid:E_e,customAlphabet:B_e}});var jD=oe(()=>{});var AG=oe((SHe,UD)=>{var Ce=String,OG=function(){return{isColorSupported:!1,reset:Ce,bold:Ce,dim:Ce,italic:Ce,underline:Ce,inverse:Ce,hidden:Ce,strikethrough:Ce,black:Ce,red:Ce,green:Ce,yellow:Ce,blue:Ce,magenta:Ce,cyan:Ce,white:Ce,gray:Ce,bgBlack:Ce,bgRed:Ce,bgGreen:Ce,bgYellow:Ce,bgBlue:Ce,bgMagenta:Ce,bgCyan:Ce,bgWhite:Ce,blackBright:Ce,redBright:Ce,greenBright:Ce,yellowBright:Ce,blueBright:Ce,magentaBright:Ce,cyanBright:Ce,whiteBright:Ce,bgBlackBright:Ce,bgRedBright:Ce,bgGreenBright:Ce,bgYellowBright:Ce,bgBlueBright:Ce,bgMagentaBright:Ce,bgCyanBright:Ce,bgWhiteBright:Ce}};UD.exports=OG();UD.exports.createColors=OG});var R1=oe((_He,MG)=>{"use strict";var LG=AG(),NG=jD(),Cy=class e extends Error{constructor(t,o,r,n,i,s){super(t),this.name="CssSyntaxError",this.reason=t,i&&(this.file=i),n&&(this.source=n),s&&(this.plugin=s),typeof o<"u"&&typeof r<"u"&&(typeof o=="number"?(this.line=o,this.column=r):(this.line=o.line,this.column=o.column,this.endLine=r.line,this.endColumn=r.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,e)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(t){if(!this.source)return"";let o=this.source;t==null&&(t=LG.isColorSupported),NG&&t&&(o=NG(o));let r=o.split(/\r?\n/),n=Math.max(this.line-3,0),i=Math.min(this.line+2,r.length),s=String(i).length,a,c;if(t){let{bold:u,gray:d,red:f}=LG.createColors(!0);a=m=>u(f(m)),c=m=>d(m)}else a=c=u=>u;return r.slice(n,i).map((u,d)=>{let f=n+1+d,m=" "+(" "+f).slice(-s)+" | ";if(f===this.line){let h=c(m.replace(/\d/g," "))+u.slice(0,this.column-1).replace(/[^\t]/g," ");return a(">")+c(m)+u+` `+h+a("^")}return" "+c(m)+u}).join(` `)}toString(){let t=this.showSourceCode();return t&&(t=` `+t+` -`),this.name+": "+this.message+t}};MG.exports=Cy;Cy.default=Cy});var DG=oe(()=>{});var jG=oe((BHe,zG)=>{"use strict";var{SourceMapConsumer:VG,SourceMapGenerator:FG}=I1(),{existsSync:I_e,readFileSync:P_e}=DG(),{dirname:HD,join:R_e}=P1();function O_e(e){return Buffer?Buffer.from(e,"base64").toString():window.atob(e)}var By=class{constructor(t,o){if(o.map===!1)return;this.loadAnnotation(t),this.inline=this.startWith(this.annotation,"data:");let r=o.map?o.map.prev:void 0,n=this.loadMap(o.from,r);!this.mapFile&&o.from&&(this.mapFile=o.from),this.mapFile&&(this.root=HD(this.mapFile)),n&&(this.text=n)}consumer(){return this.consumerCache||(this.consumerCache=new VG(this.text)),this.consumerCache}decodeInline(t){let o=/^data:application\/json;charset=utf-?8;base64,/,r=/^data:application\/json;base64,/,n=/^data:application\/json;charset=utf-?8,/,i=/^data:application\/json,/;if(n.test(t)||i.test(t))return decodeURIComponent(t.substr(RegExp.lastMatch.length));if(o.test(t)||r.test(t))return O_e(t.substr(RegExp.lastMatch.length));let s=t.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+s)}getAnnotationURL(t){return t.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(t){return typeof t!="object"?!1:typeof t.mappings=="string"||typeof t._mappings=="string"||Array.isArray(t.sections)}loadAnnotation(t){let o=t.match(/\/\*\s*# sourceMappingURL=/gm);if(!o)return;let r=t.lastIndexOf(o.pop()),n=t.indexOf("*/",r);r>-1&&n>-1&&(this.annotation=this.getAnnotationURL(t.substring(r,n)))}loadFile(t){if(this.root=HD(t),I_e(t))return this.mapFile=t,P_e(t,"utf-8").toString().trim()}loadMap(t,o){if(o===!1)return!1;if(o){if(typeof o=="string")return o;if(typeof o=="function"){let r=o(t);if(r){let n=this.loadFile(r);if(!n)throw new Error("Unable to load previous source map: "+r.toString());return n}}else{if(o instanceof VG)return FG.fromSourceMap(o).toString();if(o instanceof FG)return o.toString();if(this.isMap(o))return JSON.stringify(o);throw new Error("Unsupported previous source map format: "+o.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let r=this.annotation;return t&&(r=R_e(HD(t),r)),this.loadFile(r)}}}startWith(t,o){return t?t.substr(0,o.length)===o:!1}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}};zG.exports=By;By.default=By});var YD=oe((EHe,WG)=>{"use strict";var{SourceMapConsumer:A_e,SourceMapGenerator:L_e}=I1(),{fileURLToPath:UG,pathToFileURL:O1}=zD(),{isAbsolute:$D,resolve:KD}=P1(),{nanoid:N_e}=RG(),GD=jD(),HG=R1(),M_e=jG(),WD=Symbol("fromOffsetCache"),D_e=!!(A_e&&L_e),GG=!!(KD&&$D),Mh=class{constructor(t,o={}){if(t===null||typeof t>"u"||typeof t=="object"&&!t.toString)throw new Error(`PostCSS received ${t} instead of CSS string`);if(this.css=t.toString(),this.css[0]==="\uFEFF"||this.css[0]==="\uFFFE"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,o.from&&(!GG||/^\w+:\/\//.test(o.from)||$D(o.from)?this.file=o.from:this.file=KD(o.from)),GG&&D_e){let r=new M_e(this.css,o);if(r.text){this.map=r;let n=r.consumer().file;!this.file&&n&&(this.file=this.mapResolve(n))}}this.file||(this.id=""),this.map&&(this.map.file=this.from)}error(t,o,r,n={}){let i,s,a;if(o&&typeof o=="object"){let u=o,d=r;if(typeof u.offset=="number"){let f=this.fromOffset(u.offset);o=f.line,r=f.col}else o=u.line,r=u.column;if(typeof d.offset=="number"){let f=this.fromOffset(d.offset);s=f.line,a=f.col}else s=d.line,a=d.column}else if(!r){let u=this.fromOffset(o);o=u.line,r=u.col}let c=this.origin(o,r,s,a);return c?i=new HG(t,c.endLine===void 0?c.line:{column:c.column,line:c.line},c.endLine===void 0?c.column:{column:c.endColumn,line:c.endLine},c.source,c.file,n.plugin):i=new HG(t,s===void 0?o:{column:r,line:o},s===void 0?r:{column:a,line:s},this.css,this.file,n.plugin),i.input={column:r,endColumn:a,endLine:s,line:o,source:this.css},this.file&&(O1&&(i.input.url=O1(this.file).toString()),i.input.file=this.file),i}fromOffset(t){let o,r;if(this[WD])r=this[WD];else{let i=this.css.split(` -`);r=new Array(i.length);let s=0;for(let a=0,c=i.length;a=o)n=r.length-1;else{let i=r.length-2,s;for(;n>1),t=r[s+1])n=s+1;else{n=s;break}}return{col:t-r[n]+1,line:n+1}}mapResolve(t){return/^\w+:\/\//.test(t)?t:KD(this.map.consumer().sourceRoot||this.map.root||".",t)}origin(t,o,r,n){if(!this.map)return!1;let i=this.map.consumer(),s=i.originalPositionFor({column:o,line:t});if(!s.source)return!1;let a;typeof r=="number"&&(a=i.originalPositionFor({column:n,line:r}));let c;$D(s.source)?c=O1(s.source):c=new URL(s.source,this.map.consumer().sourceRoot||O1(this.map.mapFile));let u={column:s.column,endColumn:a&&a.column,endLine:a&&a.line,line:s.line,url:c.toString()};if(c.protocol==="file:")if(UG)u.file=UG(c);else throw new Error("file: protocol is not available in this PostCSS build");let d=i.sourceContentFor(s.source);return d&&(u.source=d),u}toJSON(){let t={};for(let o of["hasBOM","css","file","id"])this[o]!=null&&(t[o]=this[o]);return this.map&&(t.map={...this.map},t.map.consumerCache&&(t.map.consumerCache=void 0)),t}get from(){return this.file||this.id}};WG.exports=Mh;Mh.default=Mh;GD&&GD.registerInput&&GD.registerInput(Mh)});var ZD=oe((THe,XG)=>{"use strict";var{SourceMapConsumer:KG,SourceMapGenerator:A1}=I1(),{dirname:L1,relative:YG,resolve:qG,sep:ZG}=P1(),{pathToFileURL:$G}=zD(),V_e=YD(),F_e=!!(KG&&A1),z_e=!!(L1&&qG&&YG&&ZG),qD=class{constructor(t,o,r,n){this.stringify=t,this.mapOpts=r.map||{},this.root=o,this.opts=r,this.css=n,this.originalCSS=n,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){let t;this.isInline()?t="data:application/json;base64,"+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation=="string"?t=this.mapOpts.annotation:typeof this.mapOpts.annotation=="function"?t=this.mapOpts.annotation(this.opts.to,this.root):t=this.outputFile()+".map";let o=` +`),this.name+": "+this.message+t}};MG.exports=Cy;Cy.default=Cy});var DG=oe(()=>{});var jG=oe((CHe,zG)=>{"use strict";var{SourceMapConsumer:VG,SourceMapGenerator:FG}=I1(),{existsSync:T_e,readFileSync:I_e}=DG(),{dirname:HD,join:P_e}=P1();function R_e(e){return Buffer?Buffer.from(e,"base64").toString():window.atob(e)}var By=class{constructor(t,o){if(o.map===!1)return;this.loadAnnotation(t),this.inline=this.startWith(this.annotation,"data:");let r=o.map?o.map.prev:void 0,n=this.loadMap(o.from,r);!this.mapFile&&o.from&&(this.mapFile=o.from),this.mapFile&&(this.root=HD(this.mapFile)),n&&(this.text=n)}consumer(){return this.consumerCache||(this.consumerCache=new VG(this.text)),this.consumerCache}decodeInline(t){let o=/^data:application\/json;charset=utf-?8;base64,/,r=/^data:application\/json;base64,/,n=/^data:application\/json;charset=utf-?8,/,i=/^data:application\/json,/;if(n.test(t)||i.test(t))return decodeURIComponent(t.substr(RegExp.lastMatch.length));if(o.test(t)||r.test(t))return R_e(t.substr(RegExp.lastMatch.length));let s=t.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+s)}getAnnotationURL(t){return t.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(t){return typeof t!="object"?!1:typeof t.mappings=="string"||typeof t._mappings=="string"||Array.isArray(t.sections)}loadAnnotation(t){let o=t.match(/\/\*\s*# sourceMappingURL=/gm);if(!o)return;let r=t.lastIndexOf(o.pop()),n=t.indexOf("*/",r);r>-1&&n>-1&&(this.annotation=this.getAnnotationURL(t.substring(r,n)))}loadFile(t){if(this.root=HD(t),T_e(t))return this.mapFile=t,I_e(t,"utf-8").toString().trim()}loadMap(t,o){if(o===!1)return!1;if(o){if(typeof o=="string")return o;if(typeof o=="function"){let r=o(t);if(r){let n=this.loadFile(r);if(!n)throw new Error("Unable to load previous source map: "+r.toString());return n}}else{if(o instanceof VG)return FG.fromSourceMap(o).toString();if(o instanceof FG)return o.toString();if(this.isMap(o))return JSON.stringify(o);throw new Error("Unsupported previous source map format: "+o.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let r=this.annotation;return t&&(r=P_e(HD(t),r)),this.loadFile(r)}}}startWith(t,o){return t?t.substr(0,o.length)===o:!1}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}};zG.exports=By;By.default=By});var YD=oe((BHe,WG)=>{"use strict";var{SourceMapConsumer:O_e,SourceMapGenerator:A_e}=I1(),{fileURLToPath:UG,pathToFileURL:O1}=zD(),{isAbsolute:$D,resolve:KD}=P1(),{nanoid:L_e}=RG(),GD=jD(),HG=R1(),N_e=jG(),WD=Symbol("fromOffsetCache"),M_e=!!(O_e&&A_e),GG=!!(KD&&$D),Mh=class{constructor(t,o={}){if(t===null||typeof t>"u"||typeof t=="object"&&!t.toString)throw new Error(`PostCSS received ${t} instead of CSS string`);if(this.css=t.toString(),this.css[0]==="\uFEFF"||this.css[0]==="\uFFFE"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,o.from&&(!GG||/^\w+:\/\//.test(o.from)||$D(o.from)?this.file=o.from:this.file=KD(o.from)),GG&&M_e){let r=new N_e(this.css,o);if(r.text){this.map=r;let n=r.consumer().file;!this.file&&n&&(this.file=this.mapResolve(n))}}this.file||(this.id=""),this.map&&(this.map.file=this.from)}error(t,o,r,n={}){let i,s,a;if(o&&typeof o=="object"){let u=o,d=r;if(typeof u.offset=="number"){let f=this.fromOffset(u.offset);o=f.line,r=f.col}else o=u.line,r=u.column;if(typeof d.offset=="number"){let f=this.fromOffset(d.offset);s=f.line,a=f.col}else s=d.line,a=d.column}else if(!r){let u=this.fromOffset(o);o=u.line,r=u.col}let c=this.origin(o,r,s,a);return c?i=new HG(t,c.endLine===void 0?c.line:{column:c.column,line:c.line},c.endLine===void 0?c.column:{column:c.endColumn,line:c.endLine},c.source,c.file,n.plugin):i=new HG(t,s===void 0?o:{column:r,line:o},s===void 0?r:{column:a,line:s},this.css,this.file,n.plugin),i.input={column:r,endColumn:a,endLine:s,line:o,source:this.css},this.file&&(O1&&(i.input.url=O1(this.file).toString()),i.input.file=this.file),i}fromOffset(t){let o,r;if(this[WD])r=this[WD];else{let i=this.css.split(` +`);r=new Array(i.length);let s=0;for(let a=0,c=i.length;a=o)n=r.length-1;else{let i=r.length-2,s;for(;n>1),t=r[s+1])n=s+1;else{n=s;break}}return{col:t-r[n]+1,line:n+1}}mapResolve(t){return/^\w+:\/\//.test(t)?t:KD(this.map.consumer().sourceRoot||this.map.root||".",t)}origin(t,o,r,n){if(!this.map)return!1;let i=this.map.consumer(),s=i.originalPositionFor({column:o,line:t});if(!s.source)return!1;let a;typeof r=="number"&&(a=i.originalPositionFor({column:n,line:r}));let c;$D(s.source)?c=O1(s.source):c=new URL(s.source,this.map.consumer().sourceRoot||O1(this.map.mapFile));let u={column:s.column,endColumn:a&&a.column,endLine:a&&a.line,line:s.line,url:c.toString()};if(c.protocol==="file:")if(UG)u.file=UG(c);else throw new Error("file: protocol is not available in this PostCSS build");let d=i.sourceContentFor(s.source);return d&&(u.source=d),u}toJSON(){let t={};for(let o of["hasBOM","css","file","id"])this[o]!=null&&(t[o]=this[o]);return this.map&&(t.map={...this.map},t.map.consumerCache&&(t.map.consumerCache=void 0)),t}get from(){return this.file||this.id}};WG.exports=Mh;Mh.default=Mh;GD&&GD.registerInput&&GD.registerInput(Mh)});var ZD=oe((EHe,XG)=>{"use strict";var{SourceMapConsumer:KG,SourceMapGenerator:A1}=I1(),{dirname:L1,relative:YG,resolve:qG,sep:ZG}=P1(),{pathToFileURL:$G}=zD(),D_e=YD(),V_e=!!(KG&&A1),F_e=!!(L1&&qG&&YG&&ZG),qD=class{constructor(t,o,r,n){this.stringify=t,this.mapOpts=r.map||{},this.root=o,this.opts=r,this.css=n,this.originalCSS=n,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){let t;this.isInline()?t="data:application/json;base64,"+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation=="string"?t=this.mapOpts.annotation:typeof this.mapOpts.annotation=="function"?t=this.mapOpts.annotation(this.opts.to,this.root):t=this.outputFile()+".map";let o=` `;this.css.includes(`\r `)&&(o=`\r -`),this.css+=o+"/*# sourceMappingURL="+t+" */"}applyPrevMaps(){for(let t of this.previous()){let o=this.toUrl(this.path(t.file)),r=t.root||L1(t.file),n;this.mapOpts.sourcesContent===!1?(n=new KG(t.text),n.sourcesContent&&(n.sourcesContent=null)):n=t.consumer(),this.map.applySourceMap(n,o,this.toUrl(this.path(r)))}}clearAnnotation(){if(this.mapOpts.annotation!==!1)if(this.root){let t;for(let o=this.root.nodes.length-1;o>=0;o--)t=this.root.nodes[o],t.type==="comment"&&t.text.indexOf("# sourceMappingURL=")===0&&this.root.removeChild(o)}else this.css&&(this.css=this.css.replace(/\n*?\/\*#[\S\s]*?\*\/$/gm,""))}generate(){if(this.clearAnnotation(),z_e&&F_e&&this.isMap())return this.generateMap();{let t="";return this.stringify(this.root,o=>{t+=o}),[t]}}generateMap(){if(this.root)this.generateString();else if(this.previous().length===1){let t=this.previous()[0].consumer();t.file=this.outputFile(),this.map=A1.fromSourceMap(t,{ignoreInvalidMapping:!0})}else this.map=new A1({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):""});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}generateString(){this.css="",this.map=new A1({file:this.outputFile(),ignoreInvalidMapping:!0});let t=1,o=1,r="",n={generated:{column:0,line:0},original:{column:0,line:0},source:""},i,s;this.stringify(this.root,(a,c,u)=>{if(this.css+=a,c&&u!=="end"&&(n.generated.line=t,n.generated.column=o-1,c.source&&c.source.start?(n.source=this.sourcePath(c),n.original.line=c.source.start.line,n.original.column=c.source.start.column-1,this.map.addMapping(n)):(n.source=r,n.original.line=1,n.original.column=0,this.map.addMapping(n))),i=a.match(/\n/g),i?(t+=i.length,s=a.lastIndexOf(` -`),o=a.length-s):o+=a.length,c&&u!=="start"){let d=c.parent||{raws:{}};(!(c.type==="decl"||c.type==="atrule"&&!c.nodes)||c!==d.last||d.raws.semicolon)&&(c.source&&c.source.end?(n.source=this.sourcePath(c),n.original.line=c.source.end.line,n.original.column=c.source.end.column-1,n.generated.line=t,n.generated.column=o-2,this.map.addMapping(n)):(n.source=r,n.original.line=1,n.original.column=0,n.generated.line=t,n.generated.column=o-1,this.map.addMapping(n)))}})}isAnnotation(){return this.isInline()?!0:typeof this.mapOpts.annotation<"u"?this.mapOpts.annotation:this.previous().length?this.previous().some(t=>t.annotation):!0}isInline(){if(typeof this.mapOpts.inline<"u")return this.mapOpts.inline;let t=this.mapOpts.annotation;return typeof t<"u"&&t!==!0?!1:this.previous().length?this.previous().some(o=>o.inline):!0}isMap(){return typeof this.opts.map<"u"?!!this.opts.map:this.previous().length>0}isSourcesContent(){return typeof this.mapOpts.sourcesContent<"u"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(t=>t.withContent()):!0}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(t){if(this.mapOpts.absolute||t.charCodeAt(0)===60||/^\w+:\/\//.test(t))return t;let o=this.memoizedPaths.get(t);if(o)return o;let r=this.opts.to?L1(this.opts.to):".";typeof this.mapOpts.annotation=="string"&&(r=L1(qG(r,this.mapOpts.annotation)));let n=YG(r,t);return this.memoizedPaths.set(t,n),n}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(t=>{if(t.source&&t.source.input.map){let o=t.source.input.map;this.previousMaps.includes(o)||this.previousMaps.push(o)}});else{let t=new V_e(this.originalCSS,this.opts);t.map&&this.previousMaps.push(t.map)}return this.previousMaps}setSourcesContent(){let t={};if(this.root)this.root.walk(o=>{if(o.source){let r=o.source.input.from;if(r&&!t[r]){t[r]=!0;let n=this.usesFileUrls?this.toFileUrl(r):this.toUrl(this.path(r));this.map.setSourceContent(n,o.source.input.css)}}});else if(this.css){let o=this.opts.from?this.toUrl(this.path(this.opts.from)):"";this.map.setSourceContent(o,this.css)}}sourcePath(t){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(t.source.input.from):this.toUrl(this.path(t.source.input.from))}toBase64(t){return Buffer?Buffer.from(t).toString("base64"):window.btoa(unescape(encodeURIComponent(t)))}toFileUrl(t){let o=this.memoizedFileURLs.get(t);if(o)return o;if($G){let r=$G(t).toString();return this.memoizedFileURLs.set(t,r),r}else throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(t){let o=this.memoizedURLs.get(t);if(o)return o;ZG==="\\"&&(t=t.replace(/\\/g,"/"));let r=encodeURI(t).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(t,r),r}};XG.exports=qD});var XD=oe((IHe,JG)=>{"use strict";var QG={after:` +`),this.css+=o+"/*# sourceMappingURL="+t+" */"}applyPrevMaps(){for(let t of this.previous()){let o=this.toUrl(this.path(t.file)),r=t.root||L1(t.file),n;this.mapOpts.sourcesContent===!1?(n=new KG(t.text),n.sourcesContent&&(n.sourcesContent=null)):n=t.consumer(),this.map.applySourceMap(n,o,this.toUrl(this.path(r)))}}clearAnnotation(){if(this.mapOpts.annotation!==!1)if(this.root){let t;for(let o=this.root.nodes.length-1;o>=0;o--)t=this.root.nodes[o],t.type==="comment"&&t.text.indexOf("# sourceMappingURL=")===0&&this.root.removeChild(o)}else this.css&&(this.css=this.css.replace(/\n*?\/\*#[\S\s]*?\*\/$/gm,""))}generate(){if(this.clearAnnotation(),F_e&&V_e&&this.isMap())return this.generateMap();{let t="";return this.stringify(this.root,o=>{t+=o}),[t]}}generateMap(){if(this.root)this.generateString();else if(this.previous().length===1){let t=this.previous()[0].consumer();t.file=this.outputFile(),this.map=A1.fromSourceMap(t,{ignoreInvalidMapping:!0})}else this.map=new A1({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):""});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}generateString(){this.css="",this.map=new A1({file:this.outputFile(),ignoreInvalidMapping:!0});let t=1,o=1,r="",n={generated:{column:0,line:0},original:{column:0,line:0},source:""},i,s;this.stringify(this.root,(a,c,u)=>{if(this.css+=a,c&&u!=="end"&&(n.generated.line=t,n.generated.column=o-1,c.source&&c.source.start?(n.source=this.sourcePath(c),n.original.line=c.source.start.line,n.original.column=c.source.start.column-1,this.map.addMapping(n)):(n.source=r,n.original.line=1,n.original.column=0,this.map.addMapping(n))),i=a.match(/\n/g),i?(t+=i.length,s=a.lastIndexOf(` +`),o=a.length-s):o+=a.length,c&&u!=="start"){let d=c.parent||{raws:{}};(!(c.type==="decl"||c.type==="atrule"&&!c.nodes)||c!==d.last||d.raws.semicolon)&&(c.source&&c.source.end?(n.source=this.sourcePath(c),n.original.line=c.source.end.line,n.original.column=c.source.end.column-1,n.generated.line=t,n.generated.column=o-2,this.map.addMapping(n)):(n.source=r,n.original.line=1,n.original.column=0,n.generated.line=t,n.generated.column=o-1,this.map.addMapping(n)))}})}isAnnotation(){return this.isInline()?!0:typeof this.mapOpts.annotation<"u"?this.mapOpts.annotation:this.previous().length?this.previous().some(t=>t.annotation):!0}isInline(){if(typeof this.mapOpts.inline<"u")return this.mapOpts.inline;let t=this.mapOpts.annotation;return typeof t<"u"&&t!==!0?!1:this.previous().length?this.previous().some(o=>o.inline):!0}isMap(){return typeof this.opts.map<"u"?!!this.opts.map:this.previous().length>0}isSourcesContent(){return typeof this.mapOpts.sourcesContent<"u"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(t=>t.withContent()):!0}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(t){if(this.mapOpts.absolute||t.charCodeAt(0)===60||/^\w+:\/\//.test(t))return t;let o=this.memoizedPaths.get(t);if(o)return o;let r=this.opts.to?L1(this.opts.to):".";typeof this.mapOpts.annotation=="string"&&(r=L1(qG(r,this.mapOpts.annotation)));let n=YG(r,t);return this.memoizedPaths.set(t,n),n}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(t=>{if(t.source&&t.source.input.map){let o=t.source.input.map;this.previousMaps.includes(o)||this.previousMaps.push(o)}});else{let t=new D_e(this.originalCSS,this.opts);t.map&&this.previousMaps.push(t.map)}return this.previousMaps}setSourcesContent(){let t={};if(this.root)this.root.walk(o=>{if(o.source){let r=o.source.input.from;if(r&&!t[r]){t[r]=!0;let n=this.usesFileUrls?this.toFileUrl(r):this.toUrl(this.path(r));this.map.setSourceContent(n,o.source.input.css)}}});else if(this.css){let o=this.opts.from?this.toUrl(this.path(this.opts.from)):"";this.map.setSourceContent(o,this.css)}}sourcePath(t){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(t.source.input.from):this.toUrl(this.path(t.source.input.from))}toBase64(t){return Buffer?Buffer.from(t).toString("base64"):window.btoa(unescape(encodeURIComponent(t)))}toFileUrl(t){let o=this.memoizedFileURLs.get(t);if(o)return o;if($G){let r=$G(t).toString();return this.memoizedFileURLs.set(t,r),r}else throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(t){let o=this.memoizedURLs.get(t);if(o)return o;ZG==="\\"&&(t=t.replace(/\\/g,"/"));let r=encodeURI(t).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(t,r),r}};XG.exports=qD});var XD=oe((THe,JG)=>{"use strict";var QG={after:` `,beforeClose:` `,beforeComment:` `,beforeDecl:` `,beforeOpen:" ",beforeRule:` -`,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};function j_e(e){return e[0].toUpperCase()+e.slice(1)}var Ey=class{constructor(t){this.builder=t}atrule(t,o){let r="@"+t.name,n=t.params?this.rawValue(t,"params"):"";if(typeof t.raws.afterName<"u"?r+=t.raws.afterName:n&&(r+=" "),t.nodes)this.block(t,r+n);else{let i=(t.raws.between||"")+(o?";":"");this.builder(r+n+i,t)}}beforeAfter(t,o){let r;t.type==="decl"?r=this.raw(t,null,"beforeDecl"):t.type==="comment"?r=this.raw(t,null,"beforeComment"):o==="before"?r=this.raw(t,null,"beforeRule"):r=this.raw(t,null,"beforeClose");let n=t.parent,i=0;for(;n&&n.type!=="root";)i+=1,n=n.parent;if(r.includes(` -`)){let s=this.raw(t,null,"indent");if(s.length)for(let a=0;a0&&t.nodes[o].type==="comment";)o-=1;let r=this.raw(t,"semicolon");for(let n=0;n{if(n=c.raws[o],typeof n<"u")return!1})}return typeof n>"u"&&(n=QG[r]),s.rawCache[r]=n,n}rawBeforeClose(t){let o;return t.walk(r=>{if(r.nodes&&r.nodes.length>0&&typeof r.raws.after<"u")return o=r.raws.after,o.includes(` +`,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};function z_e(e){return e[0].toUpperCase()+e.slice(1)}var Ey=class{constructor(t){this.builder=t}atrule(t,o){let r="@"+t.name,n=t.params?this.rawValue(t,"params"):"";if(typeof t.raws.afterName<"u"?r+=t.raws.afterName:n&&(r+=" "),t.nodes)this.block(t,r+n);else{let i=(t.raws.between||"")+(o?";":"");this.builder(r+n+i,t)}}beforeAfter(t,o){let r;t.type==="decl"?r=this.raw(t,null,"beforeDecl"):t.type==="comment"?r=this.raw(t,null,"beforeComment"):o==="before"?r=this.raw(t,null,"beforeRule"):r=this.raw(t,null,"beforeClose");let n=t.parent,i=0;for(;n&&n.type!=="root";)i+=1,n=n.parent;if(r.includes(` +`)){let s=this.raw(t,null,"indent");if(s.length)for(let a=0;a0&&t.nodes[o].type==="comment";)o-=1;let r=this.raw(t,"semicolon");for(let n=0;n{if(n=c.raws[o],typeof n<"u")return!1})}return typeof n>"u"&&(n=QG[r]),s.rawCache[r]=n,n}rawBeforeClose(t){let o;return t.walk(r=>{if(r.nodes&&r.nodes.length>0&&typeof r.raws.after<"u")return o=r.raws.after,o.includes(` `)&&(o=o.replace(/[^\n]+$/,"")),!1}),o&&(o=o.replace(/\S/g,"")),o}rawBeforeComment(t,o){let r;return t.walkComments(n=>{if(typeof n.raws.before<"u")return r=n.raws.before,r.includes(` `)&&(r=r.replace(/[^\n]+$/,"")),!1}),typeof r>"u"?r=this.raw(o,null,"beforeDecl"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeDecl(t,o){let r;return t.walkDecls(n=>{if(typeof n.raws.before<"u")return r=n.raws.before,r.includes(` `)&&(r=r.replace(/[^\n]+$/,"")),!1}),typeof r>"u"?r=this.raw(o,null,"beforeRule"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeOpen(t){let o;return t.walk(r=>{if(r.type!=="decl"&&(o=r.raws.between,typeof o<"u"))return!1}),o}rawBeforeRule(t){let o;return t.walk(r=>{if(r.nodes&&(r.parent!==t||t.first!==r)&&typeof r.raws.before<"u")return o=r.raws.before,o.includes(` `)&&(o=o.replace(/[^\n]+$/,"")),!1}),o&&(o=o.replace(/\S/g,"")),o}rawColon(t){let o;return t.walkDecls(r=>{if(typeof r.raws.between<"u")return o=r.raws.between.replace(/[^\s:]/g,""),!1}),o}rawEmptyBody(t){let o;return t.walk(r=>{if(r.nodes&&r.nodes.length===0&&(o=r.raws.after,typeof o<"u"))return!1}),o}rawIndent(t){if(t.raws.indent)return t.raws.indent;let o;return t.walk(r=>{let n=r.parent;if(n&&n!==t&&n.parent&&n.parent===t&&typeof r.raws.before<"u"){let i=r.raws.before.split(` -`);return o=i[i.length-1],o=o.replace(/\S/g,""),!1}}),o}rawSemicolon(t){let o;return t.walk(r=>{if(r.nodes&&r.nodes.length&&r.last.type==="decl"&&(o=r.raws.semicolon,typeof o<"u"))return!1}),o}rawValue(t,o){let r=t[o],n=t.raws[o];return n&&n.value===r?n.raw:r}root(t){this.body(t),t.raws.after&&this.builder(t.raws.after)}rule(t){this.block(t,this.rawValue(t,"selector")),t.raws.ownSemicolon&&this.builder(t.raws.ownSemicolon,t,"end")}stringify(t,o){if(!this[t.type])throw new Error("Unknown AST node type "+t.type+". Maybe you need to change PostCSS stringifier.");this[t.type](t,o)}};JG.exports=Ey;Ey.default=Ey});var N1=oe((PHe,eW)=>{"use strict";var U_e=XD();function QD(e,t){new U_e(t).stringify(e)}eW.exports=QD;QD.default=QD});var JD=oe((RHe,oW)=>{"use strict";var tW={};oW.exports=function(t){tW[t]||(tW[t]=!0,typeof console<"u"&&console.warn&&console.warn(t))}});var M1=oe((OHe,e5)=>{"use strict";e5.exports.isClean=Symbol("isClean");e5.exports.my=Symbol("my")});var V1=oe((AHe,rW)=>{"use strict";var{isClean:D1,my:H_e}=M1(),G_e=R1(),W_e=XD(),$_e=N1();function t5(e,t){let o=new e.constructor;for(let r in e){if(!Object.prototype.hasOwnProperty.call(e,r)||r==="proxyCache")continue;let n=e[r],i=typeof n;r==="parent"&&i==="object"?t&&(o[r]=t):r==="source"?o[r]=n:Array.isArray(n)?o[r]=n.map(s=>t5(s,o)):(i==="object"&&n!==null&&(n=t5(n)),o[r]=n)}return o}var Ty=class{constructor(t={}){this.raws={},this[D1]=!1,this[H_e]=!0;for(let o in t)if(o==="nodes"){this.nodes=[];for(let r of t[o])typeof r.clone=="function"?this.append(r.clone()):this.append(r)}else this[o]=t[o]}addToError(t){if(t.postcssNode=this,t.stack&&this.source&&/\n\s{4}at /.test(t.stack)){let o=this.source;t.stack=t.stack.replace(/\n\s{4}at /,`$&${o.input.from}:${o.start.line}:${o.start.column}$&`)}return t}after(t){return this.parent.insertAfter(this,t),this}assign(t={}){for(let o in t)this[o]=t[o];return this}before(t){return this.parent.insertBefore(this,t),this}cleanRaws(t){delete this.raws.before,delete this.raws.after,t||delete this.raws.between}clone(t={}){let o=t5(this);for(let r in t)o[r]=t[r];return o}cloneAfter(t={}){let o=this.clone(t);return this.parent.insertAfter(this,o),o}cloneBefore(t={}){let o=this.clone(t);return this.parent.insertBefore(this,o),o}error(t,o={}){if(this.source){let{end:r,start:n}=this.rangeBy(o);return this.source.input.error(t,{column:n.column,line:n.line},{column:r.column,line:r.line},o)}return new G_e(t)}getProxyProcessor(){return{get(t,o){return o==="proxyOf"?t:o==="root"?()=>t.root().toProxy():t[o]},set(t,o,r){return t[o]===r||(t[o]=r,(o==="prop"||o==="value"||o==="name"||o==="params"||o==="important"||o==="text")&&t.markDirty()),!0}}}markDirty(){if(this[D1]){this[D1]=!1;let t=this;for(;t=t.parent;)t[D1]=!1}}next(){if(!this.parent)return;let t=this.parent.index(this);return this.parent.nodes[t+1]}positionBy(t,o){let r=this.source.start;if(t.index)r=this.positionInside(t.index,o);else if(t.word){o=this.toString();let n=o.indexOf(t.word);n!==-1&&(r=this.positionInside(n,o))}return r}positionInside(t,o){let r=o||this.toString(),n=this.source.start.column,i=this.source.start.line;for(let s=0;stypeof c=="object"&&c.toJSON?c.toJSON(null,o):c);else if(typeof a=="object"&&a.toJSON)r[s]=a.toJSON(null,o);else if(s==="source"){let c=o.get(a.input);c==null&&(c=i,o.set(a.input,i),i++),r[s]={end:a.end,inputId:c,start:a.start}}else r[s]=a}return n&&(r.inputs=[...o.keys()].map(s=>s.toJSON())),r}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(t=$_e){t.stringify&&(t=t.stringify);let o="";return t(this,r=>{o+=r}),o}warn(t,o,r){let n={node:this};for(let i in r)n[i]=r[i];return t.warn(o,n)}get proxyOf(){return this}};rW.exports=Ty;Ty.default=Ty});var o5=oe((LHe,nW)=>{"use strict";var K_e=V1(),Iy=class extends K_e{constructor(t){t&&typeof t.value<"u"&&typeof t.value!="string"&&(t={...t,value:String(t.value)}),super(t),this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}};nW.exports=Iy;Iy.default=Iy});var r5=oe((NHe,iW)=>{"use strict";var Y_e=V1(),Py=class extends Y_e{constructor(t){super(t),this.type="comment"}};iW.exports=Py;Py.default=Py});var rm=oe((MHe,pW)=>{"use strict";var{isClean:sW,my:aW}=M1(),lW=o5(),cW=r5(),q_e=V1(),uW,n5,i5,dW;function fW(e){return e.map(t=>(t.nodes&&(t.nodes=fW(t.nodes)),delete t.source,t))}function mW(e){if(e[sW]=!1,e.proxyOf.nodes)for(let t of e.proxyOf.nodes)mW(t)}var Os=class e extends q_e{append(...t){for(let o of t){let r=this.normalize(o,this.last);for(let n of r)this.proxyOf.nodes.push(n)}return this.markDirty(),this}cleanRaws(t){if(super.cleanRaws(t),this.nodes)for(let o of this.nodes)o.cleanRaws(t)}each(t){if(!this.proxyOf.nodes)return;let o=this.getIterator(),r,n;for(;this.indexes[o]t[o](...r.map(n=>typeof n=="function"?(i,s)=>n(i.toProxy(),s):n)):o==="every"||o==="some"?r=>t[o]((n,...i)=>r(n.toProxy(),...i)):o==="root"?()=>t.root().toProxy():o==="nodes"?t.nodes.map(r=>r.toProxy()):o==="first"||o==="last"?t[o].toProxy():t[o]:t[o]},set(t,o,r){return t[o]===r||(t[o]=r,(o==="name"||o==="params"||o==="selector")&&t.markDirty()),!0}}}index(t){return typeof t=="number"?t:(t.proxyOf&&(t=t.proxyOf),this.proxyOf.nodes.indexOf(t))}insertAfter(t,o){let r=this.index(t),n=this.normalize(o,this.proxyOf.nodes[r]).reverse();r=this.index(t);for(let s of n)this.proxyOf.nodes.splice(r+1,0,s);let i;for(let s in this.indexes)i=this.indexes[s],r"u")t=[];else if(Array.isArray(t)){t=t.slice(0);for(let n of t)n.parent&&n.parent.removeChild(n,"ignore")}else if(t.type==="root"&&this.type!=="document"){t=t.nodes.slice(0);for(let n of t)n.parent&&n.parent.removeChild(n,"ignore")}else if(t.type)t=[t];else if(t.prop){if(typeof t.value>"u")throw new Error("Value field is missed in node creation");typeof t.value!="string"&&(t.value=String(t.value)),t=[new lW(t)]}else if(t.selector)t=[new n5(t)];else if(t.name)t=[new i5(t)];else if(t.text)t=[new cW(t)];else throw new Error("Unknown node type in node creation");return t.map(n=>(n[aW]||e.rebuild(n),n=n.proxyOf,n.parent&&n.parent.removeChild(n),n[sW]&&mW(n),typeof n.raws.before>"u"&&o&&typeof o.raws.before<"u"&&(n.raws.before=o.raws.before.replace(/\S/g,"")),n.parent=this.proxyOf,n))}prepend(...t){t=t.reverse();for(let o of t){let r=this.normalize(o,this.first,"prepend").reverse();for(let n of r)this.proxyOf.nodes.unshift(n);for(let n in this.indexes)this.indexes[n]=this.indexes[n]+r.length}return this.markDirty(),this}push(t){return t.parent=this,this.proxyOf.nodes.push(t),this}removeAll(){for(let t of this.proxyOf.nodes)t.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(t){t=this.index(t),this.proxyOf.nodes[t].parent=void 0,this.proxyOf.nodes.splice(t,1);let o;for(let r in this.indexes)o=this.indexes[r],o>=t&&(this.indexes[r]=o-1);return this.markDirty(),this}replaceValues(t,o,r){return r||(r=o,o={}),this.walkDecls(n=>{o.props&&!o.props.includes(n.prop)||o.fast&&!n.value.includes(o.fast)||(n.value=n.value.replace(t,r))}),this.markDirty(),this}some(t){return this.nodes.some(t)}walk(t){return this.each((o,r)=>{let n;try{n=t(o,r)}catch(i){throw o.addToError(i)}return n!==!1&&o.walk&&(n=o.walk(t)),n})}walkAtRules(t,o){return o?t instanceof RegExp?this.walk((r,n)=>{if(r.type==="atrule"&&t.test(r.name))return o(r,n)}):this.walk((r,n)=>{if(r.type==="atrule"&&r.name===t)return o(r,n)}):(o=t,this.walk((r,n)=>{if(r.type==="atrule")return o(r,n)}))}walkComments(t){return this.walk((o,r)=>{if(o.type==="comment")return t(o,r)})}walkDecls(t,o){return o?t instanceof RegExp?this.walk((r,n)=>{if(r.type==="decl"&&t.test(r.prop))return o(r,n)}):this.walk((r,n)=>{if(r.type==="decl"&&r.prop===t)return o(r,n)}):(o=t,this.walk((r,n)=>{if(r.type==="decl")return o(r,n)}))}walkRules(t,o){return o?t instanceof RegExp?this.walk((r,n)=>{if(r.type==="rule"&&t.test(r.selector))return o(r,n)}):this.walk((r,n)=>{if(r.type==="rule"&&r.selector===t)return o(r,n)}):(o=t,this.walk((r,n)=>{if(r.type==="rule")return o(r,n)}))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}};Os.registerParse=e=>{uW=e};Os.registerRule=e=>{n5=e};Os.registerAtRule=e=>{i5=e};Os.registerRoot=e=>{dW=e};pW.exports=Os;Os.default=Os;Os.rebuild=e=>{e.type==="atrule"?Object.setPrototypeOf(e,i5.prototype):e.type==="rule"?Object.setPrototypeOf(e,n5.prototype):e.type==="decl"?Object.setPrototypeOf(e,lW.prototype):e.type==="comment"?Object.setPrototypeOf(e,cW.prototype):e.type==="root"&&Object.setPrototypeOf(e,dW.prototype),e[aW]=!0,e.nodes&&e.nodes.forEach(t=>{Os.rebuild(t)})}});var bW=oe((DHe,gW)=>{"use strict";var F1=/[\t\n\f\r "#'()/;[\\\]{}]/g,z1=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,Z_e=/.[\r\n"'(/\\]/,hW=/[\da-f]/i;gW.exports=function(t,o={}){let r=t.css.valueOf(),n=o.ignoreErrors,i,s,a,c,u,d,f,m,h,p,g=r.length,b=0,v=[],k=[];function y(){return b}function S(I){throw t.error("Unclosed "+I,b)}function x(){return k.length===0&&b>=g}function C(I){if(k.length)return k.pop();if(b>=g)return;let P=I?I.ignoreUnclosed:!1;switch(i=r.charCodeAt(b),i){case 10:case 32:case 9:case 13:case 12:{s=b;do s+=1,i=r.charCodeAt(s);while(i===32||i===10||i===9||i===13||i===12);p=["space",r.slice(b,s)],b=s-1;break}case 91:case 93:case 123:case 125:case 58:case 59:case 41:{let E=String.fromCharCode(i);p=[E,E,b];break}case 40:{if(m=v.length?v.pop()[1]:"",h=r.charCodeAt(b+1),m==="url"&&h!==39&&h!==34&&h!==32&&h!==10&&h!==9&&h!==12&&h!==13){s=b;do{if(d=!1,s=r.indexOf(")",s+1),s===-1)if(n||P){s=b;break}else S("bracket");for(f=s;r.charCodeAt(f-1)===92;)f-=1,d=!d}while(d);p=["brackets",r.slice(b,s+1),b,s],b=s}else s=r.indexOf(")",b+1),c=r.slice(b,s+1),s===-1||Z_e.test(c)?p=["(","(",b]:(p=["brackets",c,b,s],b=s);break}case 39:case 34:{a=i===39?"'":'"',s=b;do{if(d=!1,s=r.indexOf(a,s+1),s===-1)if(n||P){s=b+1;break}else S("string");for(f=s;r.charCodeAt(f-1)===92;)f-=1,d=!d}while(d);p=["string",r.slice(b,s+1),b,s],b=s;break}case 64:{F1.lastIndex=b+1,F1.test(r),F1.lastIndex===0?s=r.length-1:s=F1.lastIndex-2,p=["at-word",r.slice(b,s+1),b,s],b=s;break}case 92:{for(s=b,u=!0;r.charCodeAt(s+1)===92;)s+=1,u=!u;if(i=r.charCodeAt(s+1),u&&i!==47&&i!==32&&i!==10&&i!==9&&i!==13&&i!==12&&(s+=1,hW.test(r.charAt(s)))){for(;hW.test(r.charAt(s+1));)s+=1;r.charCodeAt(s+1)===32&&(s+=1)}p=["word",r.slice(b,s+1),b,s],b=s;break}default:{i===47&&r.charCodeAt(b+1)===42?(s=r.indexOf("*/",b+2)+1,s===0&&(n||P?s=r.length:S("comment")),p=["comment",r.slice(b,s+1),b,s],b=s):(z1.lastIndex=b+1,z1.test(r),z1.lastIndex===0?s=r.length-1:s=z1.lastIndex-2,p=["word",r.slice(b,s+1),b,s],v.push(p),b=s);break}}return b++,p}function B(I){k.push(I)}return{back:B,endOfFile:x,nextToken:C,position:y}}});var yW=oe((VHe,vW)=>{"use strict";var kW=rm(),Dh=class extends kW{constructor(t){super(t),this.type="atrule"}append(...t){return this.proxyOf.nodes||(this.nodes=[]),super.append(...t)}prepend(...t){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...t)}};vW.exports=Dh;Dh.default=Dh;kW.registerAtRule(Dh)});var j1=oe((FHe,wW)=>{"use strict";var SW=rm(),_W,xW,Fu=class extends SW{constructor(t){super(t),this.type="root",this.nodes||(this.nodes=[])}normalize(t,o,r){let n=super.normalize(t);if(o){if(r==="prepend")this.nodes.length>1?o.raws.before=this.nodes[1].raws.before:delete o.raws.before;else if(this.first!==o)for(let i of n)i.raws.before=o.raws.before}return n}removeChild(t,o){let r=this.index(t);return!o&&r===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[r].raws.before),super.removeChild(t)}toResult(t={}){return new _W(new xW,this,t).stringify()}};Fu.registerLazyResult=e=>{_W=e};Fu.registerProcessor=e=>{xW=e};wW.exports=Fu;Fu.default=Fu;SW.registerRoot(Fu)});var BW=oe((zHe,CW)=>{"use strict";var Ry={comma(e){return Ry.split(e,[","],!0)},space(e){let t=[" ",` -`," "];return Ry.split(e,t)},split(e,t,o){let r=[],n="",i=!1,s=0,a=!1,c="",u=!1;for(let d of e)u?u=!1:d==="\\"?u=!0:a?d===c&&(a=!1):d==='"'||d==="'"?(a=!0,c=d):d==="("?s+=1:d===")"?s>0&&(s-=1):s===0&&t.includes(d)&&(i=!0),i?(n!==""&&r.push(n.trim()),n="",i=!1):n+=d;return(o||n!=="")&&r.push(n.trim()),r}};CW.exports=Ry;Ry.default=Ry});var IW=oe((jHe,TW)=>{"use strict";var EW=rm(),X_e=BW(),Vh=class extends EW{constructor(t){super(t),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return X_e.comma(this.selector)}set selectors(t){let o=this.selector?this.selector.match(/,\s*/):null,r=o?o[0]:","+this.raw("between","beforeOpen");this.selector=t.join(r)}};TW.exports=Vh;Vh.default=Vh;EW.registerRule(Vh)});var AW=oe((UHe,OW)=>{"use strict";var Q_e=o5(),J_e=bW(),e0e=r5(),t0e=yW(),o0e=j1(),PW=IW(),RW={empty:!0,space:!0};function r0e(e){for(let t=e.length-1;t>=0;t--){let o=e[t],r=o[3]||o[2];if(r)return r}}var s5=class{constructor(t){this.input=t,this.root=new o0e,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:t,start:{column:1,line:1,offset:0}}}atrule(t){let o=new t0e;o.name=t[1].slice(1),o.name===""&&this.unnamedAtrule(o,t),this.init(o,t[2]);let r,n,i,s=!1,a=!1,c=[],u=[];for(;!this.tokenizer.endOfFile();){if(t=this.tokenizer.nextToken(),r=t[0],r==="("||r==="["?u.push(r==="("?")":"]"):r==="{"&&u.length>0?u.push("}"):r===u[u.length-1]&&u.pop(),u.length===0)if(r===";"){o.source.end=this.getPosition(t[2]),o.source.end.offset++,this.semicolon=!0;break}else if(r==="{"){a=!0;break}else if(r==="}"){if(c.length>0){for(i=c.length-1,n=c[i];n&&n[0]==="space";)n=c[--i];n&&(o.source.end=this.getPosition(n[3]||n[2]),o.source.end.offset++)}this.end(t);break}else c.push(t);else c.push(t);if(this.tokenizer.endOfFile()){s=!0;break}}o.raws.between=this.spacesAndCommentsFromEnd(c),c.length?(o.raws.afterName=this.spacesAndCommentsFromStart(c),this.raw(o,"params",c),s&&(t=c[c.length-1],o.source.end=this.getPosition(t[3]||t[2]),o.source.end.offset++,this.spaces=o.raws.between,o.raws.between="")):(o.raws.afterName="",o.params=""),a&&(o.nodes=[],this.current=o)}checkMissedSemicolon(t){let o=this.colon(t);if(o===!1)return;let r=0,n;for(let i=o-1;i>=0&&(n=t[i],!(n[0]!=="space"&&(r+=1,r===2)));i--);throw this.input.error("Missed semicolon",n[0]==="word"?n[3]+1:n[2])}colon(t){let o=0,r,n,i;for(let[s,a]of t.entries()){if(r=a,n=r[0],n==="("&&(o+=1),n===")"&&(o-=1),o===0&&n===":")if(!i)this.doubleColon(r);else{if(i[0]==="word"&&i[1]==="progid")continue;return s}i=r}return!1}comment(t){let o=new e0e;this.init(o,t[2]),o.source.end=this.getPosition(t[3]||t[2]),o.source.end.offset++;let r=t[1].slice(2,-2);if(/^\s*$/.test(r))o.text="",o.raws.left=r,o.raws.right="";else{let n=r.match(/^(\s*)([^]*\S)(\s*)$/);o.text=n[2],o.raws.left=n[1],o.raws.right=n[3]}}createTokenizer(){this.tokenizer=J_e(this.input)}decl(t,o){let r=new Q_e;this.init(r,t[0][2]);let n=t[t.length-1];for(n[0]===";"&&(this.semicolon=!0,t.pop()),r.source.end=this.getPosition(n[3]||n[2]||r0e(t)),r.source.end.offset++;t[0][0]!=="word";)t.length===1&&this.unknownWord(t),r.raws.before+=t.shift()[1];for(r.source.start=this.getPosition(t[0][2]),r.prop="";t.length;){let u=t[0][0];if(u===":"||u==="space"||u==="comment")break;r.prop+=t.shift()[1]}r.raws.between="";let i;for(;t.length;)if(i=t.shift(),i[0]===":"){r.raws.between+=i[1];break}else i[0]==="word"&&/\w/.test(i[1])&&this.unknownWord([i]),r.raws.between+=i[1];(r.prop[0]==="_"||r.prop[0]==="*")&&(r.raws.before+=r.prop[0],r.prop=r.prop.slice(1));let s=[],a;for(;t.length&&(a=t[0][0],!(a!=="space"&&a!=="comment"));)s.push(t.shift());this.precheckMissedSemicolon(t);for(let u=t.length-1;u>=0;u--){if(i=t[u],i[1].toLowerCase()==="!important"){r.important=!0;let d=this.stringFrom(t,u);d=this.spacesFromEnd(t)+d,d!==" !important"&&(r.raws.important=d);break}else if(i[1].toLowerCase()==="important"){let d=t.slice(0),f="";for(let m=u;m>0;m--){let h=d[m][0];if(f.trim().indexOf("!")===0&&h!=="space")break;f=d.pop()[1]+f}f.trim().indexOf("!")===0&&(r.important=!0,r.raws.important=f,t=d)}if(i[0]!=="space"&&i[0]!=="comment")break}t.some(u=>u[0]!=="space"&&u[0]!=="comment")&&(r.raws.between+=s.map(u=>u[1]).join(""),s=[]),this.raw(r,"value",s.concat(t),o),r.value.includes(":")&&!o&&this.checkMissedSemicolon(t)}doubleColon(t){throw this.input.error("Double colon",{offset:t[2]},{offset:t[2]+t[1].length})}emptyRule(t){let o=new PW;this.init(o,t[2]),o.selector="",o.raws.between="",this.current=o}end(t){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(t[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(t)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(t){if(this.spaces+=t[1],this.current.nodes){let o=this.current.nodes[this.current.nodes.length-1];o&&o.type==="rule"&&!o.raws.ownSemicolon&&(o.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(t){let o=this.input.fromOffset(t);return{column:o.col,line:o.line,offset:t}}init(t,o){this.current.push(t),t.source={input:this.input,start:this.getPosition(o)},t.raws.before=this.spaces,this.spaces="",t.type!=="comment"&&(this.semicolon=!1)}other(t){let o=!1,r=null,n=!1,i=null,s=[],a=t[1].startsWith("--"),c=[],u=t;for(;u;){if(r=u[0],c.push(u),r==="("||r==="[")i||(i=u),s.push(r==="("?")":"]");else if(a&&n&&r==="{")i||(i=u),s.push("}");else if(s.length===0)if(r===";")if(n){this.decl(c,a);return}else break;else if(r==="{"){this.rule(c);return}else if(r==="}"){this.tokenizer.back(c.pop()),o=!0;break}else r===":"&&(n=!0);else r===s[s.length-1]&&(s.pop(),s.length===0&&(i=null));u=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(o=!0),s.length>0&&this.unclosedBracket(i),o&&n){if(!a)for(;c.length&&(u=c[c.length-1][0],!(u!=="space"&&u!=="comment"));)this.tokenizer.back(c.pop());this.decl(c,a)}else this.unknownWord(c)}parse(){let t;for(;!this.tokenizer.endOfFile();)switch(t=this.tokenizer.nextToken(),t[0]){case"space":this.spaces+=t[1];break;case";":this.freeSemicolon(t);break;case"}":this.end(t);break;case"comment":this.comment(t);break;case"at-word":this.atrule(t);break;case"{":this.emptyRule(t);break;default:this.other(t);break}this.endFile()}precheckMissedSemicolon(){}raw(t,o,r,n){let i,s,a=r.length,c="",u=!0,d,f;for(let m=0;mh+p[1],"");t.raws[o]={raw:m,value:c}}t[o]=c}rule(t){t.pop();let o=new PW;this.init(o,t[0][2]),o.raws.between=this.spacesAndCommentsFromEnd(t),this.raw(o,"selector",t),this.current=o}spacesAndCommentsFromEnd(t){let o,r="";for(;t.length&&(o=t[t.length-1][0],!(o!=="space"&&o!=="comment"));)r=t.pop()[1]+r;return r}spacesAndCommentsFromStart(t){let o,r="";for(;t.length&&(o=t[0][0],!(o!=="space"&&o!=="comment"));)r+=t.shift()[1];return r}spacesFromEnd(t){let o,r="";for(;t.length&&(o=t[t.length-1][0],o==="space");)r=t.pop()[1]+r;return r}stringFrom(t,o){let r="";for(let n=o;n{"use strict";var n0e=rm(),i0e=AW(),s0e=YD();function U1(e,t){let o=new s0e(e,t),r=new i0e(o);try{r.parse()}catch(n){throw n}return r.root}LW.exports=U1;U1.default=U1;n0e.registerParse(U1)});var MW=oe((GHe,NW)=>{"use strict";var Oy=class{constructor(t,o={}){if(this.type="warning",this.text=t,o.node&&o.node.source){let r=o.node.rangeBy(o);this.line=r.start.line,this.column=r.start.column,this.endLine=r.end.line,this.endColumn=r.end.column}for(let r in o)this[r]=o[r]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}};NW.exports=Oy;Oy.default=Oy});var l5=oe((WHe,DW)=>{"use strict";var a0e=MW(),Ay=class{constructor(t,o,r){this.processor=t,this.messages=[],this.root=o,this.opts=r,this.css=void 0,this.map=void 0}toString(){return this.css}warn(t,o={}){o.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(o.plugin=this.lastPlugin.postcssPlugin);let r=new a0e(t,o);return this.messages.push(r),r}warnings(){return this.messages.filter(t=>t.type==="warning")}get content(){return this.css}};DW.exports=Ay;Ay.default=Ay});var FW=oe((KHe,VW)=>{"use strict";var l0e=ZD(),c0e=N1(),$He=JD(),u0e=a5(),d0e=l5(),Ly=class{constructor(t,o,r){o=o.toString(),this.stringified=!1,this._processor=t,this._css=o,this._opts=r,this._map=void 0;let n,i=c0e;this.result=new d0e(this._processor,n,this._opts),this.result.css=o;let s=this;Object.defineProperty(this.result,"root",{get(){return s.root}});let a=new l0e(i,n,this._opts,o);if(a.isMap()){let[c,u]=a.generate();c&&(this.result.css=c),u&&(this.result.map=u)}else a.clearAnnotation(),this.result.css=a.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(t){return this.async().catch(t)}finally(t){return this.async().then(t,t)}sync(){if(this.error)throw this.error;return this.result}then(t,o){return this.async().then(t,o)}toString(){return this._css}warnings(){return[]}get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let t,o=u0e;try{t=o(this._css,this._opts)}catch(r){this.error=r}if(this.error)throw this.error;return this._root=t,t}get[Symbol.toStringTag](){return"NoWorkResult"}};VW.exports=Ly;Ly.default=Ly});var c5=oe((YHe,UW)=>{"use strict";var f0e=rm(),zW,jW,nm=class extends f0e{constructor(t){super({type:"document",...t}),this.nodes||(this.nodes=[])}toResult(t={}){return new zW(new jW,this,t).stringify()}};nm.registerLazyResult=e=>{zW=e};nm.registerProcessor=e=>{jW=e};UW.exports=nm;nm.default=nm});var KW=oe((ZHe,$W)=>{"use strict";var{isClean:xa,my:m0e}=M1(),p0e=ZD(),h0e=N1(),g0e=rm(),b0e=c5(),qHe=JD(),HW=l5(),k0e=a5(),v0e=j1(),y0e={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},S0e={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},_0e={Once:!0,postcssPlugin:!0,prepare:!0},Fh=0;function Ny(e){return typeof e=="object"&&typeof e.then=="function"}function WW(e){let t=!1,o=y0e[e.type];return e.type==="decl"?t=e.prop.toLowerCase():e.type==="atrule"&&(t=e.name.toLowerCase()),t&&e.append?[o,o+"-"+t,Fh,o+"Exit",o+"Exit-"+t]:t?[o,o+"-"+t,o+"Exit",o+"Exit-"+t]:e.append?[o,Fh,o+"Exit"]:[o,o+"Exit"]}function GW(e){let t;return e.type==="document"?t=["Document",Fh,"DocumentExit"]:e.type==="root"?t=["Root",Fh,"RootExit"]:t=WW(e),{eventIndex:0,events:t,iterator:0,node:e,visitorIndex:0,visitors:[]}}function u5(e){return e[xa]=!1,e.nodes&&e.nodes.forEach(t=>u5(t)),e}var d5={},zu=class e{constructor(t,o,r){this.stringified=!1,this.processed=!1;let n;if(typeof o=="object"&&o!==null&&(o.type==="root"||o.type==="document"))n=u5(o);else if(o instanceof e||o instanceof HW)n=u5(o.root),o.map&&(typeof r.map>"u"&&(r.map={}),r.map.inline||(r.map.inline=!1),r.map.prev=o.map);else{let i=k0e;r.syntax&&(i=r.syntax.parse),r.parser&&(i=r.parser),i.parse&&(i=i.parse);try{n=i(o,r)}catch(s){this.processed=!0,this.error=s}n&&!n[m0e]&&g0e.rebuild(n)}this.result=new HW(t,n,r),this.helpers={...d5,postcss:d5,result:this.result},this.plugins=this.processor.plugins.map(i=>typeof i=="object"&&i.prepare?{...i,...i.prepare(this.result)}:i)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(t){return this.async().catch(t)}finally(t){return this.async().then(t,t)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(t,o){let r=this.result.lastPlugin;try{o&&o.addToError(t),this.error=t,t.name==="CssSyntaxError"&&!t.plugin?(t.plugin=r.postcssPlugin,t.setMessage()):r.postcssVersion}catch(n){console&&console.error&&console.error(n)}return t}prepareVisitors(){this.listeners={};let t=(o,r,n)=>{this.listeners[r]||(this.listeners[r]=[]),this.listeners[r].push([o,n])};for(let o of this.plugins)if(typeof o=="object")for(let r in o){if(!S0e[r]&&/^[A-Z]/.test(r))throw new Error(`Unknown event ${r} in ${o.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!_0e[r])if(typeof o[r]=="object")for(let n in o[r])n==="*"?t(o,r,o[r][n]):t(o,r+"-"+n.toLowerCase(),o[r][n]);else typeof o[r]=="function"&&t(o,r,o[r])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let t=0;t0;){let r=this.visitTick(o);if(Ny(r))try{await r}catch(n){let i=o[o.length-1].node;throw this.handleError(n,i)}}}if(this.listeners.OnceExit)for(let[o,r]of this.listeners.OnceExit){this.result.lastPlugin=o;try{if(t.type==="document"){let n=t.nodes.map(i=>r(i,this.helpers));await Promise.all(n)}else await r(t,this.helpers)}catch(n){throw this.handleError(n)}}}return this.processed=!0,this.stringify()}runOnRoot(t){this.result.lastPlugin=t;try{if(typeof t=="object"&&t.Once){if(this.result.root.type==="document"){let o=this.result.root.nodes.map(r=>t.Once(r,this.helpers));return Ny(o[0])?Promise.all(o):o}return t.Once(this.result.root,this.helpers)}else if(typeof t=="function")return t(this.result.root,this.result)}catch(o){throw this.handleError(o)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let t=this.result.opts,o=h0e;t.syntax&&(o=t.syntax.stringify),t.stringifier&&(o=t.stringifier),o.stringify&&(o=o.stringify);let n=new p0e(o,this.result.root,this.result.opts).generate();return this.result.css=n[0],this.result.map=n[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let t of this.plugins){let o=this.runOnRoot(t);if(Ny(o))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let t=this.result.root;for(;!t[xa];)t[xa]=!0,this.walkSync(t);if(this.listeners.OnceExit)if(t.type==="document")for(let o of t.nodes)this.visitSync(this.listeners.OnceExit,o);else this.visitSync(this.listeners.OnceExit,t)}return this.result}then(t,o){return this.async().then(t,o)}toString(){return this.css}visitSync(t,o){for(let[r,n]of t){this.result.lastPlugin=r;let i;try{i=n(o,this.helpers)}catch(s){throw this.handleError(s,o.proxyOf)}if(o.type!=="root"&&o.type!=="document"&&!o.parent)return!0;if(Ny(i))throw this.getAsyncError()}}visitTick(t){let o=t[t.length-1],{node:r,visitors:n}=o;if(r.type!=="root"&&r.type!=="document"&&!r.parent){t.pop();return}if(n.length>0&&o.visitorIndex{n[xa]||this.walkSync(n)});else{let n=this.listeners[r];if(n&&this.visitSync(n,t.toProxy()))return}}warnings(){return this.sync().warnings()}get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}};zu.registerPostcss=e=>{d5=e};$W.exports=zu;zu.default=zu;v0e.registerLazyResult(zu);b0e.registerLazyResult(zu)});var qW=oe((XHe,YW)=>{"use strict";var x0e=FW(),w0e=KW(),C0e=c5(),B0e=j1(),im=class{constructor(t=[]){this.version="8.4.38",this.plugins=this.normalize(t)}normalize(t){let o=[];for(let r of t)if(r.postcss===!0?r=r():r.postcss&&(r=r.postcss),typeof r=="object"&&Array.isArray(r.plugins))o=o.concat(r.plugins);else if(typeof r=="object"&&r.postcssPlugin)o.push(r);else if(typeof r=="function")o.push(r);else if(!(typeof r=="object"&&(r.parse||r.stringify)))throw new Error(r+" is not a PostCSS plugin");return o}process(t,o={}){return!this.plugins.length&&!o.parser&&!o.stringifier&&!o.syntax?new x0e(this,t,o):new w0e(this,t,o)}use(t){return this.plugins=this.plugins.concat(this.normalize([t])),this}};YW.exports=im;im.default=im;B0e.registerProcessor(im);C0e.registerProcessor(im)});var QW=oe((QHe,XW)=>{XW.exports=function(t){let o=t.prefix,r=/\s+$/.test(o)?o:`${o} `,n=t.ignoreFiles?[].concat(t.ignoreFiles):[],i=t.includeFiles?[].concat(t.includeFiles):[];return function(s){n.length&&s.source.input.file&&ZW(s.source.input.file,n)||i.length&&s.source.input.file&&!ZW(s.source.input.file,i)||s.walkRules(a=>{let c=["keyframes","-webkit-keyframes","-moz-keyframes","-o-keyframes","-ms-keyframes"];a.parent&&c.includes(a.parent.name)||(a.selectors=a.selectors.map(u=>t.exclude&&E0e(u,t.exclude)?u:t.transform?t.transform(o,u,r+u,s.source.input.file,a):r+u))})}};function ZW(e,t){return t.some(o=>o instanceof RegExp?o.test(e):e.includes(o))}function E0e(e,t){return t.some(o=>o instanceof RegExp?o.test(e):e===o)}});var e$=oe((JHe,JW)=>{var f5=40,m5=41,H1=39,p5=34,h5=92,zh=47,g5=44,b5=58,G1=42,T0e=117,I0e=85,P0e=43,R0e=/^[a-f0-9?-]+$/i;JW.exports=function(e){for(var t=[],o=e,r,n,i,s,a,c,u,d,f=0,m=o.charCodeAt(f),h=o.length,p=[{nodes:t}],g=0,b,v="",k="",y="";f{t$.exports=function e(t,o,r){var n,i,s,a;for(n=0,i=t.length;n{function r$(e,t){var o=e.type,r=e.value,n,i;return t&&(i=t(e))!==void 0?i:o==="word"||o==="space"?r:o==="string"?(n=e.quote||"",n+r+(e.unclosed?"":n)):o==="comment"?"/*"+r+(e.unclosed?"":"*/"):o==="div"?(e.before||"")+r+(e.after||""):Array.isArray(e.nodes)?(n=n$(e.nodes,t),o!=="function"?n:r+"("+(e.before||"")+n+(e.after||"")+(e.unclosed?"":")")):r}function n$(e,t){var o,r;if(Array.isArray(e)){for(o="",r=e.length-1;~r;r-=1)o=r$(e[r],t)+o;return o}return r$(e,t)}i$.exports=n$});var l$=oe((o8e,a$)=>{var W1=45,$1=43,k5=46,O0e=101,A0e=69;function L0e(e){var t=e.charCodeAt(0),o;if(t===$1||t===W1){if(o=e.charCodeAt(1),o>=48&&o<=57)return!0;var r=e.charCodeAt(2);return o===k5&&r>=48&&r<=57}return t===k5?(o=e.charCodeAt(1),o>=48&&o<=57):t>=48&&t<=57}a$.exports=function(e){var t=0,o=e.length,r,n,i;if(o===0||!L0e(e))return!1;for(r=e.charCodeAt(t),(r===$1||r===W1)&&t++;t57));)t+=1;if(r=e.charCodeAt(t),n=e.charCodeAt(t+1),r===k5&&n>=48&&n<=57)for(t+=2;t57));)t+=1;if(r=e.charCodeAt(t),n=e.charCodeAt(t+1),i=e.charCodeAt(t+2),(r===O0e||r===A0e)&&(n>=48&&n<=57||(n===$1||n===W1)&&i>=48&&i<=57))for(t+=n===$1||n===W1?3:2;t57));)t+=1;return{number:e.slice(0,t),unit:e.slice(t)}}});var f$=oe((r8e,d$)=>{var N0e=e$(),c$=o$(),u$=s$();function ju(e){return this instanceof ju?(this.nodes=N0e(e),this):new ju(e)}ju.prototype.toString=function(){return Array.isArray(this.nodes)?u$(this.nodes):""};ju.prototype.walk=function(e,t){return c$(this.nodes,e,t),this};ju.unit=l$();ju.walk=c$;ju.stringify=u$;d$.exports=ju});var p$=oe((n8e,v5)=>{var m$=f$();v5.exports=e=>{let o=Object.assign({skipHostRelativeUrls:!0},e);return{postcssPlugin:"rebaseUrl",Declaration(r){let n=m$(r.value),i=!1;n.walk(s=>{if(s.type!=="function"||s.value!=="url")return;let a=s.nodes[0].value,c=new URL(a,e.rootUrl);return c.pathname===a&&o.skipHostRelativeUrls||(s.nodes[0].value=c.toString(),i=!0),!1}),i&&(r.value=m$.stringify(n))}}};v5.exports.postcss=!0});var E$=oe((k8e,B$)=>{B$.exports=window.wp.priorityQueue});var D5=oe((d9e,BK)=>{BK.exports=window.wp.blob});var Qy=oe((NWe,NY)=>{NY.exports=window.wp.isShallowEqual});var qE=oe((Gqe,BX)=>{BX.exports=window.wp.tokenList});var LV=oe((oZe,zX)=>{"use strict";var b1e=function(t){return k1e(t)&&!v1e(t)};function k1e(e){return!!e&&typeof e=="object"}function v1e(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||_1e(e)}var y1e=typeof Symbol=="function"&&Symbol.for,S1e=y1e?Symbol.for("react.element"):60103;function _1e(e){return e.$$typeof===S1e}function x1e(e){return Array.isArray(e)?[]:{}}function _S(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Pg(x1e(e),e,t):e}function w1e(e,t,o){return e.concat(t).map(function(r){return _S(r,o)})}function C1e(e,t){if(!t.customMerge)return Pg;var o=t.customMerge(e);return typeof o=="function"?o:Pg}function B1e(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function VX(e){return Object.keys(e).concat(B1e(e))}function FX(e,t){try{return t in e}catch{return!1}}function E1e(e,t){return FX(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function T1e(e,t,o){var r={};return o.isMergeableObject(e)&&VX(e).forEach(function(n){r[n]=_S(e[n],o)}),VX(t).forEach(function(n){E1e(e,n)||(FX(e,n)&&o.isMergeableObject(t[n])?r[n]=C1e(n,o)(e[n],t[n],o):r[n]=_S(t[n],o))}),r}function Pg(e,t,o){o=o||{},o.arrayMerge=o.arrayMerge||w1e,o.isMergeableObject=o.isMergeableObject||b1e,o.cloneUnlessOtherwiseSpecified=_S;var r=Array.isArray(t),n=Array.isArray(e),i=r===n;return i?r?o.arrayMerge(e,t,o):T1e(e,t,o):_S(t,o)}Pg.all=function(t,o){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(r,n){return Pg(r,n,o)},{})};var I1e=Pg;zX.exports=I1e});var YQ=oe((OQe,KQ)=>{KQ.exports=window.wp.commands});var pc=oe((uot,dte)=>{dte.exports=window.wp.date});var Gte=oe((Xot,Hte)=>{var Vte=!1,Gm,A3,L3,pI,hI,Fte,gI,N3,M3,D3,zte,V3,F3,jte,Ute;function En(){if(!Vte){Vte=!0;var e=navigator.userAgent,t=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),o=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(V3=/\b(iPhone|iP[ao]d)/.exec(e),F3=/\b(iP[ao]d)/.exec(e),D3=/Android/i.exec(e),jte=/FBAN\/\w+;/i.exec(e),Ute=/Mobile/i.exec(e),zte=!!/Win64/.exec(e),t){Gm=t[1]?parseFloat(t[1]):t[5]?parseFloat(t[5]):NaN,Gm&&document&&document.documentMode&&(Gm=document.documentMode);var r=/(?:Trident\/(\d+.\d+))/.exec(e);Fte=r?parseFloat(r[1])+4:Gm,A3=t[2]?parseFloat(t[2]):NaN,L3=t[3]?parseFloat(t[3]):NaN,pI=t[4]?parseFloat(t[4]):NaN,pI?(t=/(?:Chrome\/(\d+\.\d+))/.exec(e),hI=t&&t[1]?parseFloat(t[1]):NaN):hI=NaN}else Gm=A3=L3=hI=pI=NaN;if(o){if(o[1]){var n=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);gI=n?parseFloat(n[1].replace("_",".")):!0}else gI=!1;N3=!!o[2],M3=!!o[3]}else gI=N3=M3=!1}}var z3={ie:function(){return En()||Gm},ieCompatibilityMode:function(){return En()||Fte>Gm},ie64:function(){return z3.ie()&&zte},firefox:function(){return En()||A3},opera:function(){return En()||L3},webkit:function(){return En()||pI},safari:function(){return z3.webkit()},chrome:function(){return En()||hI},windows:function(){return En()||N3},osx:function(){return En()||gI},linux:function(){return En()||M3},iphone:function(){return En()||V3},mobile:function(){return En()||V3||F3||D3||Ute},nativeApp:function(){return En()||jte},android:function(){return En()||D3},ipad:function(){return En()||F3}};Hte.exports=z3});var $te=oe((Qot,Wte)=>{"use strict";var bI=!!(typeof window<"u"&&window.document&&window.document.createElement),vEe={canUseDOM:bI,canUseWorkers:typeof Worker<"u",canUseEventListeners:bI&&!!(window.addEventListener||window.attachEvent),canUseViewport:bI&&!!window.screen,isInWorker:!bI};Wte.exports=vEe});var Zte=oe((Jot,qte)=>{"use strict";var Kte=$te(),Yte;Kte.canUseDOM&&(Yte=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0);function yEe(e,t){if(!Kte.canUseDOM||t&&!("addEventListener"in document))return!1;var o="on"+e,r=o in document;if(!r){var n=document.createElement("div");n.setAttribute(o,"return;"),r=typeof n[o]=="function"}return!r&&Yte&&e==="wheel"&&(r=document.implementation.hasFeature("Events.wheel","3.0")),r}qte.exports=yEe});var ooe=oe((ert,toe)=>{"use strict";var SEe=Gte(),_Ee=Zte(),Xte=10,Qte=40,Jte=800;function eoe(e){var t=0,o=0,r=0,n=0;return"detail"in e&&(o=e.detail),"wheelDelta"in e&&(o=-e.wheelDelta/120),"wheelDeltaY"in e&&(o=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=o,o=0),r=t*Xte,n=o*Xte,"deltaY"in e&&(n=e.deltaY),"deltaX"in e&&(r=e.deltaX),(r||n)&&e.deltaMode&&(e.deltaMode==1?(r*=Qte,n*=Qte):(r*=Jte,n*=Jte)),r&&!t&&(t=r<1?-1:1),n&&!o&&(o=n<1?-1:1),{spinX:t,spinY:o,pixelX:r,pixelY:n}}eoe.getEventType=function(){return SEe.firefox()?"DOMMouseScroll":_Ee("wheel")?"wheel":"mousewheel"};toe.exports=eoe});var noe=oe((trt,roe)=>{roe.exports=ooe()});var Are=oe(($nt,Ore)=>{"use strict";Ore.exports=function e(t,o){if(t===o)return!0;if(t&&o&&typeof t=="object"&&typeof o=="object"){if(t.constructor!==o.constructor)return!1;var r,n,i;if(Array.isArray(t)){if(r=t.length,r!=o.length)return!1;for(n=r;n--!==0;)if(!e(t[n],o[n]))return!1;return!0}if(t.constructor===RegExp)return t.source===o.source&&t.flags===o.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===o.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===o.toString();if(i=Object.keys(t),r=i.length,r!==Object.keys(o).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(o,i[n]))return!1;for(n=r;n--!==0;){var s=i[n];if(!e(t[s],o[s]))return!1}return!0}return t!==t&&o!==o}});var cLe={};Ip(cLe,{AlignmentControl:()=>Hw,AlignmentToolbar:()=>_U,Autocomplete:()=>YU,BlockAlignmentControl:()=>sC,BlockAlignmentToolbar:()=>gH,BlockBindingsAttributeControl:()=>Wv,BlockBindingsSourceFieldsList:()=>Gv,BlockBreadcrumb:()=>FH,BlockCanvas:()=>JQ,BlockColorsStyleSelector:()=>rJ,BlockContextProvider:()=>m0,BlockControls:()=>Mt,BlockEdit:()=>Mw,BlockEditorKeyboardShortcuts:()=>p1,BlockEditorProvider:()=>z9,BlockFormatControls:()=>hV,BlockIcon:()=>Ae,BlockInspector:()=>jae,BlockList:()=>Hh,BlockMover:()=>gE,BlockNavigationDropdown:()=>fee,BlockPopover:()=>bY,BlockPreview:()=>vn,BlockSelectionClearer:()=>PY,BlockSettingsMenu:()=>UE,BlockSettingsMenuControls:()=>DE,BlockStyles:()=>Xg,BlockTitle:()=>Kv,BlockToolbar:()=>LQ,BlockTools:()=>PS,BlockVerticalAlignmentControl:()=>oC,BlockVerticalAlignmentToolbar:()=>Dee,ButtonBlockAppender:()=>Qu,ButtonBlockerAppender:()=>aY,ColorPalette:()=>ite,ColorPaletteControl:()=>lte,ContrastChecker:()=>ZT,CopyHandler:()=>Gae,DefaultBlockAppender:()=>lg,DimensionControl:()=>ab,FontSizePicker:()=>uM,HeadingLevelDropdown:()=>wee,HeightControl:()=>Dte,InnerBlocks:()=>eS,Inserter:()=>Ui,InspectorAdvancedControls:()=>rd,InspectorControls:()=>fe,JustifyContentControl:()=>ah,JustifyToolbar:()=>Koe,LineHeightControl:()=>jI,LinkControl:()=>Pd,MediaPlaceholder:()=>pne,MediaReplaceFlow:()=>Sb,MediaUpload:()=>qu,MediaUploadCheck:()=>Ds,MultiSelectScrollIntoView:()=>Yae,NavigableToolbar:()=>Cg,ObserveTyping:()=>tq,PanelColorSettings:()=>gne,PlainText:()=>pie,RecursionProvider:()=>u4,RichText:()=>Bb,RichTextShortcut:()=>_F,RichTextToolbarButton:()=>wF,SETTINGS_DEFAULTS:()=>$k,SkipToSelectedBlock:()=>gP,ToolSelector:()=>ale,Typewriter:()=>Qae,URLInput:()=>Td,URLInputButton:()=>xie,URLPopover:()=>Ad,Warning:()=>pu,WritingFlow:()=>C1,__experimentalBlockAlignmentMatrixControl:()=>RH,__experimentalBlockFullHeightAligmentControl:()=>EH,__experimentalBlockPatternSetup:()=>Lee,__experimentalBlockPatternsList:()=>Ca,__experimentalBlockVariationPicker:()=>Cee,__experimentalBlockVariationTransforms:()=>HT,__experimentalBorderRadiusControl:()=>YT,__experimentalColorGradientControl:()=>_d,__experimentalColorGradientSettingsDropdown:()=>uI,__experimentalDateFormatPicker:()=>fte,__experimentalDuotoneControl:()=>QT,__experimentalFontAppearanceControl:()=>eI,__experimentalFontFamilyControl:()=>tI,__experimentalGetBorderClassesAndStyles:()=>nO,__experimentalGetColorClassesAndStyles:()=>iO,__experimentalGetElementClassName:()=>sLe,__experimentalGetGapCSSValue:()=>mr,__experimentalGetGradientClass:()=>th,__experimentalGetGradientObjectByGradientValue:()=>fU,__experimentalGetShadowClassesAndStyles:()=>$z,__experimentalGetSpacingClassesAndStyles:()=>qz,__experimentalImageEditor:()=>zoe,__experimentalImageSizeControl:()=>Goe,__experimentalImageURLInputUI:()=>Pie,__experimentalInspectorPopoverHeader:()=>k2,__experimentalLetterSpacingControl:()=>rI,__experimentalLibrary:()=>$ae,__experimentalLinkControl:()=>zI,__experimentalLinkControlSearchInput:()=>kre,__experimentalLinkControlSearchItem:()=>ire,__experimentalLinkControlSearchResults:()=>dre,__experimentalListView:()=>VT,__experimentalPanelColorGradientSettings:()=>fI,__experimentalPreviewOptions:()=>$ie,__experimentalPublishDateTimePicker:()=>rle,__experimentalRecursionProvider:()=>Jae,__experimentalResponsiveBlockControl:()=>vie,__experimentalSpacingSizesControl:()=>Mb,__experimentalTextDecorationControl:()=>iI,__experimentalTextTransformControl:()=>aI,__experimentalUnitControl:()=>Sie,__experimentalUseBlockOverlayActive:()=>jH,__experimentalUseBlockPreview:()=>O$,__experimentalUseBorderProps:()=>Wz,__experimentalUseColorProps:()=>Yz,__experimentalUseCustomSides:()=>xz,__experimentalUseGradient:()=>Kke,__experimentalUseHasRecursion:()=>ele,__experimentalUseMultipleOriginColorsAndGradients:()=>wd,__experimentalUseResizeCanvas:()=>Kie,__experimentalWritingModeControl:()=>cI,__unstableBlockSettingsMenuFirstItem:()=>BE,__unstableBlockToolbarLastItem:()=>SE,__unstableEditorStyles:()=>Nl,__unstableIframe:()=>Nh,__unstableInserterMenuExtension:()=>kB,__unstableRichTextInputEvent:()=>CF,__unstableUseBlockSelectionClearer:()=>hm,__unstableUseClipboardHandler:()=>Hae,__unstableUseMouseMoveTypingReset:()=>oS,__unstableUseTypewriter:()=>a4,__unstableUseTypingObserver:()=>rS,createCustomColorsHOC:()=>uU,getColorClassName:()=>Si,getColorObjectByAttributeValues:()=>da,getColorObjectByColorValue:()=>d0,getComputedFluidTypographyValue:()=>hU,getCustomValueFromPreset:()=>XU,getDimensionsClassesAndStyles:()=>Gz,getFontSize:()=>oh,getFontSizeClass:()=>hu,getFontSizeObjectByValue:()=>cM,getGradientSlugByValue:()=>mU,getGradientValueBySlug:()=>jw,getPxFromCssUnit:()=>_me,getSpacingPresetCssVar:()=>zv,getTypographyClassesAndStyles:()=>Zz,isValueSpacingPreset:()=>tC,privateApis:()=>i6,store:()=>_,storeConfig:()=>Qp,transformStyles:()=>jh,useBlockBindingsUtils:()=>El,useBlockCommands:()=>yT,useBlockDisplayInformation:()=>Tt,useBlockEditContext:()=>Ie,useBlockEditingMode:()=>ao,useBlockProps:()=>by,useCachedTruthy:()=>Xz,useHasRecursion:()=>d4,useInnerBlocksProps:()=>ym,useSetting:()=>sU,useSettings:()=>me,useStyleOverride:()=>Xn,withColorContext:()=>qT,withColors:()=>dU,withFontSizes:()=>yU});function a6(e){var t,o,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t0:typeof e=="number"},Zo=function(e,t,o){return t===void 0&&(t=0),o===void 0&&(o=Math.pow(10,t)),Math.round(o*e)/o+0},yi=function(e,t,o){return t===void 0&&(t=0),o===void 0&&(o=1),e>o?o:e>t?e:t},y6=function(e){return(e=isFinite(e)?e%360:0)>0?e:e+360},m6=function(e){return{r:yi(e.r,0,255),g:yi(e.g,0,255),b:yi(e.b,0,255),a:yi(e.a)}},gO=function(e){return{r:Zo(e.r),g:Zo(e.g),b:Zo(e.b),a:Zo(e.a,3)}},Zme=/^#([0-9a-f]{3,8})$/i,u0=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},S6=function(e){var t=e.r,o=e.g,r=e.b,n=e.a,i=Math.max(t,o,r),s=i-Math.min(t,o,r),a=s?i===t?(o-r)/s:i===o?2+(r-t)/s:4+(t-o)/s:0;return{h:60*(a<0?a+6:a),s:i?s/i*100:0,v:i/255*100,a:n}},_6=function(e){var t=e.h,o=e.s,r=e.v,n=e.a;t=t/360*6,o/=100,r/=100;var i=Math.floor(t),s=r*(1-o),a=r*(1-(t-i)*o),c=r*(1-(1-t+i)*o),u=i%6;return{r:255*[r,a,s,s,c,r][u],g:255*[c,r,r,a,s,s][u],b:255*[s,s,c,r,r,a][u],a:n}},p6=function(e){return{h:y6(e.h),s:yi(e.s,0,100),l:yi(e.l,0,100),a:yi(e.a)}},h6=function(e){return{h:Zo(e.h),s:Zo(e.s),l:Zo(e.l),a:Zo(e.a,3)}},g6=function(e){return _6((o=(t=e).s,{h:t.h,s:(o*=((r=t.l)<50?r:100-r)/100)>0?2*o/(r+o)*100:0,v:r+o,a:t.a}));var t,o,r},Hk=function(e){return{h:(t=S6(e)).h,s:(n=(200-(o=t.s))*(r=t.v)/100)>0&&n<200?o*r/100/(n<=100?n:200-n)*100:0,l:n/2,a:t.a};var t,o,r,n},Xme=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Qme=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Jme=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,epe=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,vO={string:[[function(e){var t=Zme.exec(e);return t?(e=t[1]).length<=4?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:e.length===4?Zo(parseInt(e[3]+e[3],16)/255,2):1}:e.length===6||e.length===8?{r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16),a:e.length===8?Zo(parseInt(e.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(e){var t=Jme.exec(e)||epe.exec(e);return t?t[2]!==t[4]||t[4]!==t[6]?null:m6({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:t[7]===void 0?1:Number(t[7])/(t[8]?100:1)}):null},"rgb"],[function(e){var t=Xme.exec(e)||Qme.exec(e);if(!t)return null;var o,r,n=p6({h:(o=t[1],r=t[2],r===void 0&&(r="deg"),Number(o)*(qme[r]||1)),s:Number(t[3]),l:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)});return g6(n)},"hsl"]],object:[[function(e){var t=e.r,o=e.g,r=e.b,n=e.a,i=n===void 0?1:n;return ml(t)&&ml(o)&&ml(r)?m6({r:Number(t),g:Number(o),b:Number(r),a:Number(i)}):null},"rgb"],[function(e){var t=e.h,o=e.s,r=e.l,n=e.a,i=n===void 0?1:n;if(!ml(t)||!ml(o)||!ml(r))return null;var s=p6({h:Number(t),s:Number(o),l:Number(r),a:Number(i)});return g6(s)},"hsl"],[function(e){var t=e.h,o=e.s,r=e.v,n=e.a,i=n===void 0?1:n;if(!ml(t)||!ml(o)||!ml(r))return null;var s=(function(a){return{h:y6(a.h),s:yi(a.s,0,100),v:yi(a.v,0,100),a:yi(a.a)}})({h:Number(t),s:Number(o),v:Number(r),a:Number(i)});return _6(s)},"hsv"]]},b6=function(e,t){for(var o=0;o=.5},e.prototype.toHex=function(){return t=gO(this.rgba),o=t.r,r=t.g,n=t.b,s=(i=t.a)<1?u0(Zo(255*i)):"","#"+u0(o)+u0(r)+u0(n)+s;var t,o,r,n,i,s},e.prototype.toRgb=function(){return gO(this.rgba)},e.prototype.toRgbString=function(){return t=gO(this.rgba),o=t.r,r=t.g,n=t.b,(i=t.a)<1?"rgba("+o+", "+r+", "+n+", "+i+")":"rgb("+o+", "+r+", "+n+")";var t,o,r,n,i},e.prototype.toHsl=function(){return h6(Hk(this.rgba))},e.prototype.toHslString=function(){return t=h6(Hk(this.rgba)),o=t.h,r=t.s,n=t.l,(i=t.a)<1?"hsla("+o+", "+r+"%, "+n+"%, "+i+")":"hsl("+o+", "+r+"%, "+n+"%)";var t,o,r,n,i},e.prototype.toHsv=function(){return t=S6(this.rgba),{h:Zo(t.h),s:Zo(t.s),v:Zo(t.v),a:Zo(t.a,3)};var t},e.prototype.invert=function(){return Bt({r:255-(t=this.rgba).r,g:255-t.g,b:255-t.b,a:t.a});var t},e.prototype.saturate=function(t){return t===void 0&&(t=.1),Bt(bO(this.rgba,t))},e.prototype.desaturate=function(t){return t===void 0&&(t=.1),Bt(bO(this.rgba,-t))},e.prototype.grayscale=function(){return Bt(bO(this.rgba,-1))},e.prototype.lighten=function(t){return t===void 0&&(t=.1),Bt(k6(this.rgba,t))},e.prototype.darken=function(t){return t===void 0&&(t=.1),Bt(k6(this.rgba,-t))},e.prototype.rotate=function(t){return t===void 0&&(t=15),this.hue(this.hue()+t)},e.prototype.alpha=function(t){return typeof t=="number"?Bt({r:(o=this.rgba).r,g:o.g,b:o.b,a:t}):Zo(this.rgba.a,3);var o},e.prototype.hue=function(t){var o=Hk(this.rgba);return typeof t=="number"?Bt({h:t,s:o.s,l:o.l,a:o.a}):Zo(o.h)},e.prototype.isEqual=function(t){return this.toHex()===Bt(t).toHex()},e})(),Bt=function(e){return e instanceof yO?e:new yO(e)},v6=[],Kc=function(e){e.forEach(function(t){v6.indexOf(t)<0&&(t(yO,vO),v6.push(t))})};function Yc(e,t){var o={white:"#ffffff",bisque:"#ffe4c4",blue:"#0000ff",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",antiquewhite:"#faebd7",aqua:"#00ffff",azure:"#f0ffff",whitesmoke:"#f5f5f5",papayawhip:"#ffefd5",plum:"#dda0dd",blanchedalmond:"#ffebcd",black:"#000000",gold:"#ffd700",goldenrod:"#daa520",gainsboro:"#dcdcdc",cornsilk:"#fff8dc",cornflowerblue:"#6495ed",burlywood:"#deb887",aquamarine:"#7fffd4",beige:"#f5f5dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkkhaki:"#bdb76b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",peachpuff:"#ffdab9",darkmagenta:"#8b008b",darkred:"#8b0000",darkorchid:"#9932cc",darkorange:"#ff8c00",darkslateblue:"#483d8b",gray:"#808080",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",deeppink:"#ff1493",deepskyblue:"#00bfff",wheat:"#f5deb3",firebrick:"#b22222",floralwhite:"#fffaf0",ghostwhite:"#f8f8ff",darkviolet:"#9400d3",magenta:"#ff00ff",green:"#008000",dodgerblue:"#1e90ff",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",blueviolet:"#8a2be2",forestgreen:"#228b22",lawngreen:"#7cfc00",indianred:"#cd5c5c",indigo:"#4b0082",fuchsia:"#ff00ff",brown:"#a52a2a",maroon:"#800000",mediumblue:"#0000cd",lightcoral:"#f08080",darkturquoise:"#00ced1",lightcyan:"#e0ffff",ivory:"#fffff0",lightyellow:"#ffffe0",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",linen:"#faf0e6",mediumaquamarine:"#66cdaa",lemonchiffon:"#fffacd",lime:"#00ff00",khaki:"#f0e68c",mediumseagreen:"#3cb371",limegreen:"#32cd32",mediumspringgreen:"#00fa9a",lightskyblue:"#87cefa",lightblue:"#add8e6",midnightblue:"#191970",lightpink:"#ffb6c1",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",mintcream:"#f5fffa",lightslategray:"#778899",lightslategrey:"#778899",navajowhite:"#ffdead",navy:"#000080",mediumvioletred:"#c71585",powderblue:"#b0e0e6",palegoldenrod:"#eee8aa",oldlace:"#fdf5e6",paleturquoise:"#afeeee",mediumturquoise:"#48d1cc",mediumorchid:"#ba55d3",rebeccapurple:"#663399",lightsteelblue:"#b0c4de",mediumslateblue:"#7b68ee",thistle:"#d8bfd8",tan:"#d2b48c",orchid:"#da70d6",mediumpurple:"#9370db",purple:"#800080",pink:"#ffc0cb",skyblue:"#87ceeb",springgreen:"#00ff7f",palegreen:"#98fb98",red:"#ff0000",yellow:"#ffff00",slateblue:"#6a5acd",lavenderblush:"#fff0f5",peru:"#cd853f",palevioletred:"#db7093",violet:"#ee82ee",teal:"#008080",slategray:"#708090",slategrey:"#708090",aliceblue:"#f0f8ff",darkseagreen:"#8fbc8f",darkolivegreen:"#556b2f",greenyellow:"#adff2f",seagreen:"#2e8b57",seashell:"#fff5ee",tomato:"#ff6347",silver:"#c0c0c0",sienna:"#a0522d",lavender:"#e6e6fa",lightgreen:"#90ee90",orange:"#ffa500",orangered:"#ff4500",steelblue:"#4682b4",royalblue:"#4169e1",turquoise:"#40e0d0",yellowgreen:"#9acd32",salmon:"#fa8072",saddlebrown:"#8b4513",sandybrown:"#f4a460",rosybrown:"#bc8f8f",darksalmon:"#e9967a",lightgoldenrodyellow:"#fafad2",snow:"#fffafa",lightgrey:"#d3d3d3",lightgray:"#d3d3d3",dimgray:"#696969",dimgrey:"#696969",olivedrab:"#6b8e23",olive:"#808000"},r={};for(var n in o)r[o[n]]=n;var i={};e.prototype.toName=function(s){if(!(this.rgba.a||this.rgba.r||this.rgba.g||this.rgba.b))return"transparent";var a,c,u=r[this.toHex()];if(u)return u;if(s?.closest){var d=this.toRgb(),f=1/0,m="black";if(!i.length)for(var h in o)i[h]=new e(o[h]).toRgb();for(var p in o){var g=(a=d,c=i[p],Math.pow(a.r-c.r,2)+Math.pow(a.g-c.g,2)+Math.pow(a.b-c.b,2));gc?(a+.05)/(c+.05):(c+.05)/(a+.05),(r=2)===void 0&&(r=0),n===void 0&&(n=Math.pow(10,r)),Math.floor(n*o)/n+0},e.prototype.isReadable=function(t,o){return t===void 0&&(t="#FFF"),o===void 0&&(o={}),this.contrast(t)>=(a=(s=(r=o).size)===void 0?"normal":s,(i=(n=r.level)===void 0?"AA":n)==="AAA"&&a==="normal"?7:i==="AA"&&a==="large"?3:4.5);var r,n,i,s,a}}var E6=l(A(),1);var C6=l(xO(),1),{lock:B6,unlock:M}=(0,C6.__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/block-editor");Kc([Yc,Op]);var{kebabCase:ope}=M(E6.privateApis),da=(e,t,o)=>{if(t){let r=e?.find(n=>n.slug===t);if(r)return r}return{color:o}},d0=(e,t)=>e?.find(o=>o.color===t);function Si(e,t){if(!(!e||!t))return`has-${ope(t)}-${e}`}function T6(e,t){let o=Bt(t),r=({color:i})=>o.contrast(i),n=Math.max(...e.map(r));return e.find(i=>r(i)===n).color}var Dw=l(R(),1),zf=l(Z(),1),lU=l(A(),1);var nU=l(F(),1),iU=l(Re(),1);var Nw=l(R(),1),Lw=l($(),1);var pl=l($(),1),D6=l(A(),1),Wk=l(F(),1),vf=l(R(),1);var Ap=l(R(),1),R6=l(w(),1),f0=(0,Ap.createContext)({});f0.displayName="BlockContext";function m0({value:e,children:t}){let o=(0,Ap.useContext)(f0),r=(0,Ap.useMemo)(()=>({...o,...e}),[o,e]);return(0,R6.jsx)(f0.Provider,{value:r,children:t})}var xr=f0;var Lp=l(dn(),1);function gf(e){return e?.startsWith("#")&&(0,Lp.isValidFragment)(e)}function bf(e){return e?.startsWith("/")||e?.startsWith("./")||e?.startsWith("../")}function kf(e){if(e.includes(" "))return!1;let o=(0,Lp.getProtocol)(e),r=(0,Lp.isValidProtocol)(o),n=rpe(e),i=e?.startsWith("www.");return r||i||gf(e)||n||bf(e)}function rpe(e,t=6){let o=e.split(/[?#]/)[0];return new RegExp(`(?<=\\S)\\.(?:[a-zA-Z_]{2,${t}})(?:\\/|$)`).test(o)}var npe="__default",A6="core/pattern-overrides";function Gk(e){return e?.[npe]?.source===A6}function L6(e,t){if(Gk(e)){let o={};for(let r of t){let n=e[r]?e[r]:{source:A6};o[r]=n}return o}return e}var N6=l(R(),1),ur=(0,N6.createContext)({});ur.displayName="PrivateBlockContext";var p0=l(w(),1),ipe={},spe=e=>{let{name:t}=e,o=(0,pl.getBlockType)(t);if(!o)return null;let r=o.edit||o.save;return(0,p0.jsx)(r,{...e})},M6=(0,D6.withFilters)("editor.BlockEdit")(spe),ape=e=>{let{name:t,clientId:o,attributes:r,setAttributes:n}=e,i=(0,Wk.useRegistry)(),s=(0,pl.getBlockType)(t),a=(0,vf.useContext)(xr),c=(0,Wk.useSelect)(v=>M(v(pl.store)).getAllBlockBindingsSources(),[]),{bindableAttributes:u}=(0,vf.useContext)(ur),{blockBindings:d,context:f,hasPatternOverrides:m}=(0,vf.useMemo)(()=>{let v=s?.usesContext?Object.fromEntries(Object.entries(a).filter(([k])=>s.usesContext.includes(k))):ipe;return r?.metadata?.bindings&&Object.values(r?.metadata?.bindings||{}).forEach(k=>{c[k?.source]?.usesContext?.forEach(y=>{v[y]=a[y]})}),{blockBindings:L6(r?.metadata?.bindings,u),context:v,hasPatternOverrides:Gk(r?.metadata?.bindings)}},[s?.usesContext,a,r?.metadata?.bindings,u,c]),h=(0,Wk.useSelect)(v=>{if(!d)return r;let k={},y=new Map;for(let[S,x]of Object.entries(d)){let{source:C,args:B}=x,I=c[C];!I||!u?.includes(S)||y.set(I,{...y.get(I),[S]:{args:B}})}if(y.size)for(let[S,x]of y){let C={};S.getValues?C=S.getValues({select:v,context:f,clientId:o,bindings:x}):Object.keys(x).forEach(B=>{C[B]=S.label});for(let[B,I]of Object.entries(C))B==="url"&&(!I||!kf(I))?k[B]=null:k[B]=I}return{...r,...k}},[r,u,d,o,f,c]),p=(0,vf.useCallback)(v=>{if(!d){n(v);return}i.batch(()=>{let k={...v},y=new Map;for(let[x,C]of Object.entries(k)){if(!d[x]||!u?.includes(x))continue;let B=d[x],I=c[B?.source];I?.setValues&&(y.set(I,{...y.get(I),[x]:{args:B.args,newValue:C}}),delete k[x])}if(y.size)for(let[x,C]of y)x.setValues({select:i.select,dispatch:i.dispatch,context:f,clientId:o,bindings:C});let S=!!f["pattern/overrides"];!(m&&S)&&Object.keys(k).length&&(m&&delete k.href,n(k))})},[u,d,o,f,m,n,c,i]);if(!s)return null;if(s.apiVersion>1)return(0,p0.jsx)(M6,{...e,attributes:h,context:f,setAttributes:p});let g=(0,pl.hasBlockSupport)(s,"className",!0)?(0,pl.getBlockDefaultClassName)(t):null,b=D(g,r?.className,e.className);return(0,p0.jsx)(M6,{...e,attributes:h,className:b,context:f,setAttributes:p})},V6=ape;var tU=l($(),1),lM=l(A(),1),oU=l(F(),1),Aw=l(N(),1);var Ow=l(F(),1);var Yk=l(yf(),1),BO=l(Z(),1),qk=l(F(),1),$6=l(Re(),1),w0=l($(),1);var Ne=l(N(),1),j6={insertUsage:{}},$k={alignWide:!1,supportsLayout:!0,colors:[{name:(0,Ne.__)("Black"),slug:"black",color:"#000000"},{name:(0,Ne.__)("Cyan bluish gray"),slug:"cyan-bluish-gray",color:"#abb8c3"},{name:(0,Ne.__)("White"),slug:"white",color:"#ffffff"},{name:(0,Ne.__)("Pale pink"),slug:"pale-pink",color:"#f78da7"},{name:(0,Ne.__)("Vivid red"),slug:"vivid-red",color:"#cf2e2e"},{name:(0,Ne.__)("Luminous vivid orange"),slug:"luminous-vivid-orange",color:"#ff6900"},{name:(0,Ne.__)("Luminous vivid amber"),slug:"luminous-vivid-amber",color:"#fcb900"},{name:(0,Ne.__)("Light green cyan"),slug:"light-green-cyan",color:"#7bdcb5"},{name:(0,Ne.__)("Vivid green cyan"),slug:"vivid-green-cyan",color:"#00d084"},{name:(0,Ne.__)("Pale cyan blue"),slug:"pale-cyan-blue",color:"#8ed1fc"},{name:(0,Ne.__)("Vivid cyan blue"),slug:"vivid-cyan-blue",color:"#0693e3"},{name:(0,Ne.__)("Vivid purple"),slug:"vivid-purple",color:"#9b51e0"}],fontSizes:[{name:(0,Ne._x)("Small","font size name"),size:13,slug:"small"},{name:(0,Ne._x)("Normal","font size name"),size:16,slug:"normal"},{name:(0,Ne._x)("Medium","font size name"),size:20,slug:"medium"},{name:(0,Ne._x)("Large","font size name"),size:36,slug:"large"},{name:(0,Ne._x)("Huge","font size name"),size:42,slug:"huge"}],imageDefaultSize:"large",imageSizes:[{slug:"thumbnail",name:(0,Ne.__)("Thumbnail")},{slug:"medium",name:(0,Ne.__)("Medium")},{slug:"large",name:(0,Ne.__)("Large")},{slug:"full",name:(0,Ne.__)("Full Size")}],imageEditing:!0,maxWidth:580,allowedBlockTypes:!0,maxUploadFileSize:0,allowedMimeTypes:null,canLockBlocks:!0,canEditCSS:!1,enableOpenverseMediaCategory:!0,clearBlockSelection:!0,__experimentalCanUserUseUnfilteredHTML:!1,__experimentalBlockDirectory:!1,__mobileEnablePageTemplates:!1,__experimentalBlockPatterns:[],__experimentalBlockPatternCategories:[],isPreviewMode:!1,blockInspectorAnimation:{animationParent:"core/navigation","core/navigation":{enterDirection:"leftToRight"},"core/navigation-submenu":{enterDirection:"rightToLeft"},"core/navigation-link":{enterDirection:"rightToLeft"},"core/search":{enterDirection:"rightToLeft"},"core/social-links":{enterDirection:"rightToLeft"},"core/page-list":{enterDirection:"rightToLeft"},"core/spacer":{enterDirection:"rightToLeft"},"core/home-link":{enterDirection:"rightToLeft"},"core/site-title":{enterDirection:"rightToLeft"},"core/site-logo":{enterDirection:"rightToLeft"}},generateAnchors:!1,gradients:[{name:(0,Ne.__)("Vivid cyan blue to vivid purple"),gradient:"linear-gradient(135deg,rgba(6,147,227,1) 0%,rgb(155,81,224) 100%)",slug:"vivid-cyan-blue-to-vivid-purple"},{name:(0,Ne.__)("Light green cyan to vivid green cyan"),gradient:"linear-gradient(135deg,rgb(122,220,180) 0%,rgb(0,208,130) 100%)",slug:"light-green-cyan-to-vivid-green-cyan"},{name:(0,Ne.__)("Luminous vivid amber to luminous vivid orange"),gradient:"linear-gradient(135deg,rgba(252,185,0,1) 0%,rgba(255,105,0,1) 100%)",slug:"luminous-vivid-amber-to-luminous-vivid-orange"},{name:(0,Ne.__)("Luminous vivid orange to vivid red"),gradient:"linear-gradient(135deg,rgba(255,105,0,1) 0%,rgb(207,46,46) 100%)",slug:"luminous-vivid-orange-to-vivid-red"},{name:(0,Ne.__)("Very light gray to cyan bluish gray"),gradient:"linear-gradient(135deg,rgb(238,238,238) 0%,rgb(169,184,195) 100%)",slug:"very-light-gray-to-cyan-bluish-gray"},{name:(0,Ne.__)("Cool to warm spectrum"),gradient:"linear-gradient(135deg,rgb(74,234,220) 0%,rgb(151,120,209) 20%,rgb(207,42,186) 40%,rgb(238,44,130) 60%,rgb(251,105,98) 80%,rgb(254,248,76) 100%)",slug:"cool-to-warm-spectrum"},{name:(0,Ne.__)("Blush light purple"),gradient:"linear-gradient(135deg,rgb(255,206,236) 0%,rgb(152,150,240) 100%)",slug:"blush-light-purple"},{name:(0,Ne.__)("Blush bordeaux"),gradient:"linear-gradient(135deg,rgb(254,205,165) 0%,rgb(254,45,45) 50%,rgb(107,0,62) 100%)",slug:"blush-bordeaux"},{name:(0,Ne.__)("Luminous dusk"),gradient:"linear-gradient(135deg,rgb(255,203,112) 0%,rgb(199,81,192) 50%,rgb(65,88,208) 100%)",slug:"luminous-dusk"},{name:(0,Ne.__)("Pale ocean"),gradient:"linear-gradient(135deg,rgb(255,245,203) 0%,rgb(182,227,212) 50%,rgb(51,167,181) 100%)",slug:"pale-ocean"},{name:(0,Ne.__)("Electric grass"),gradient:"linear-gradient(135deg,rgb(202,248,128) 0%,rgb(113,206,126) 100%)",slug:"electric-grass"},{name:(0,Ne.__)("Midnight"),gradient:"linear-gradient(135deg,rgb(2,3,129) 0%,rgb(40,116,252) 100%)",slug:"midnight"}],__unstableResolvedAssets:{styles:[],scripts:[]}};function h0(e,t,o){return[...e.slice(0,o),...Array.isArray(t)?t:[t],...e.slice(o)]}function g0(e,t,o,r=1){let n=[...e];return n.splice(t,r),h0(n,e.slice(t,t+r),o)}var _i=Symbol("globalStylesDataKey"),b0=Symbol("globalStylesLinks"),qc=Symbol("selectBlockPatternsKey"),k0=Symbol("reusableBlocksSelect"),Zc=Symbol("sectionRootClientIdKey"),v0=Symbol("mediaEditKey"),y0=Symbol("getMediaSelect"),Xc=Symbol("isIsolatedEditor"),xi=Symbol("deviceTypeKey"),S0=Symbol("isNavigationOverlayContext"),_0=Symbol("mediaUploadOnSuccess");var{isContentBlock:lpe}=M(w0.privateApis),cpe=e=>e;function x0(e,t=""){let o=new Map,r=[];return o.set(t,r),e.forEach(n=>{let{clientId:i,innerBlocks:s}=n;r.push(i),x0(s,i).forEach((a,c)=>{o.set(c,a)})}),o}function wO(e,t=""){let o=[],r=[[t,e]];for(;r.length;){let[n,i]=r.shift();i.forEach(({innerBlocks:s,...a})=>{o.push([a.clientId,n]),s?.length&&r.push([a.clientId,s])})}return o}function K6(e,t=cpe){let o=[],r=[...e];for(;r.length;){let{innerBlocks:n,...i}=r.shift();r.push(...n),o.push([i.clientId,t(i)])}return o}function Y6(e){let t={},o=[...e];for(;o.length;){let{innerBlocks:r,...n}=o.shift();o.push(...r),t[n.clientId]=!0}return t}function U6(e){return K6(e,t=>{let{attributes:o,...r}=t;return r})}function H6(e){return K6(e,t=>t.attributes)}function upe(e,t){return(0,Yk.default)(Object.keys(e),Object.keys(t))}function dpe(e,t){return e.type==="UPDATE_BLOCK_ATTRIBUTES"&&t!==void 0&&t.type==="UPDATE_BLOCK_ATTRIBUTES"&&(0,Yk.default)(e.clientIds,t.clientIds)&&upe(e.attributes,t.attributes)}function G6(e,t){let o=e.tree,r=[...t],n=[...t];for(;r.length;){let i=r.shift();r.push(...i.innerBlocks),n.push(...i.innerBlocks)}for(let i of n)o.set(i.clientId,{});for(let i of n)o.set(i.clientId,Object.assign(o.get(i.clientId),{...e.byClientId.get(i.clientId),attributes:e.attributes.get(i.clientId),innerBlocks:i.innerBlocks.map(s=>o.get(s.clientId))}))}function hl(e,t,o=!1){let r=e.tree,n=new Set([]),i=new Set;for(let s of t){let a=o?s:e.parents.get(s);do if(e.controlledInnerBlocks[a]){i.add(a);break}else n.add(a),a=e.parents.get(a);while(a!==void 0)}for(let s of n)r.set(s,{...r.get(s)});for(let s of n)r.get(s).innerBlocks=(e.order.get(s)||[]).map(a=>r.get(a));for(let s of i)r.set("controlled||"+s,{innerBlocks:(e.order.get(s)||[]).map(a=>r.get(a))})}var fpe=e=>(t={},o)=>{let r=e(t,o);if(r===t)return t;switch(r.tree=t.tree?t.tree:new Map,o.type){case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":{r.tree=new Map(r.tree),G6(r,o.blocks),hl(r,o.rootClientId?[o.rootClientId]:[""],!0);break}case"UPDATE_BLOCK":r.tree=new Map(r.tree),r.tree.set(o.clientId,{...r.tree.get(o.clientId),...r.byClientId.get(o.clientId),attributes:r.attributes.get(o.clientId)}),hl(r,[o.clientId],!1);break;case"SYNC_DERIVED_BLOCK_ATTRIBUTES":case"UPDATE_BLOCK_ATTRIBUTES":{r.tree=new Map(r.tree),o.clientIds.forEach(i=>{r.tree.set(i,{...r.tree.get(i),attributes:r.attributes.get(i)})}),hl(r,o.clientIds,!1);break}case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":{let i=Y6(o.blocks);r.tree=new Map(r.tree),o.replacedClientIds.forEach(a=>{r.tree.delete(a),i[a]||r.tree.delete("controlled||"+a)}),G6(r,o.blocks),hl(r,o.blocks.map(a=>a.clientId),!1);let s=[];for(let a of o.clientIds){let c=t.parents.get(a);c!==void 0&&(c===""||r.byClientId.get(c))&&s.push(c)}hl(r,s,!0);break}case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":let n=[];for(let i of o.clientIds){let s=t.parents.get(i);s!==void 0&&(s===""||r.byClientId.get(s))&&n.push(s)}r.tree=new Map(r.tree),o.removedClientIds.forEach(i=>{r.tree.delete(i),r.tree.delete("controlled||"+i)}),hl(r,n,!0);break;case"MOVE_BLOCKS_TO_POSITION":{let i=[];o.fromRootClientId?i.push(o.fromRootClientId):i.push(""),o.toRootClientId&&i.push(o.toRootClientId),r.tree=new Map(r.tree),hl(r,i,!0);break}case"MOVE_BLOCKS_UP":case"MOVE_BLOCKS_DOWN":{let i=[o.rootClientId?o.rootClientId:""];r.tree=new Map(r.tree),hl(r,i,!0);break}case"SAVE_REUSABLE_BLOCK_SUCCESS":{let i=[];r.attributes.forEach((s,a)=>{r.byClientId.get(a).name==="core/block"&&s.ref===o.updatedId&&i.push(a)}),r.tree=new Map(r.tree),i.forEach(s=>{r.tree.set(s,{...r.byClientId.get(s),attributes:r.attributes.get(s),innerBlocks:r.tree.get(s).innerBlocks})}),hl(r,i,!1)}}return r};function mpe(e){let t,o=!1,r;return(n,i)=>{let s=e(n,i),a;if(i.type==="SET_EXPLICIT_PERSISTENT"&&(r=i.isPersistentChange,a=n.isPersistentChange??!0),r!==void 0)return a=r,a===s.isPersistentChange?s:{...s,isPersistentChange:a};let c=i.type==="MARK_LAST_CHANGE_AS_PERSISTENT"||o;return n===s&&!c?(o=i.type==="MARK_NEXT_CHANGE_AS_NOT_PERSISTENT",a=n?.isPersistentChange??!0,n.isPersistentChange===a?n:{...s,isPersistentChange:a}):(s={...s,isPersistentChange:c?!o:!dpe(i,t)},t=i,o=i.type==="MARK_NEXT_CHANGE_AS_NOT_PERSISTENT",s)}}function ppe(e){let t=new Set(["RECEIVE_BLOCKS"]);return(o,r)=>{let n=e(o,r);return n!==o&&(n.isIgnoredChange=t.has(r.type)),n}}var hpe=e=>(t,o)=>{let r=n=>{let i=n;for(let s=0;s(t,o)=>{if(o.type==="RESET_BLOCKS"){let r=e(void 0,{type:"INSERT_BLOCKS",rootClientId:"",blocks:o.blocks}),n=t?.controlledInnerBlocks??{};if(t?.order)for(let i of Object.keys(n)){if(!n[i]||!r.byClientId.has(i))continue;r.controlledInnerBlocks[i]=!0;let s=t.order.get(i);if(!s?.length)continue;r.order.set(i,s);let a=(c,u)=>{let d=t.byClientId.get(c);if(!d)return;r.byClientId.set(c,d),r.attributes.set(c,t.attributes.get(c)),r.parents.set(c,u);let f=t.order.get(c)||[];r.order.set(c,f),f.forEach(m=>a(m,c))};s.forEach(c=>a(c,i))}for(let i of Object.keys(r.controlledInnerBlocks)){let s=r.order.get(i);if(!s?.length)continue;let a=s.map(d=>t.tree.get(d)),c=r.tree.get(i);c&&(c.innerBlocks=a),r.tree.set("controlled||"+i,{innerBlocks:a});let u=d=>{let f=t.tree.get(d);if(!f)return;r.tree.set(d,f),(r.order.get(d)||[]).forEach(u)};s.forEach(u)}return r}return e(t,o)},bpe=e=>(t,o)=>{if(o.type!=="REPLACE_INNER_BLOCKS")return e(t,o);let r={};if(Object.keys(t.controlledInnerBlocks).length){let s=[...o.blocks];for(;s.length;){let{innerBlocks:a,...c}=s.shift();s.push(...a),t.controlledInnerBlocks[c.clientId]&&(r[c.clientId]=!0)}}let n=t;t.order.get(o.rootClientId)&&(n=e(n,{type:"REMOVE_BLOCKS",keepControlledInnerBlocks:r,clientIds:t.order.get(o.rootClientId)}));let i=n;if(o.blocks.length){i=e(i,{...o,type:"INSERT_BLOCKS",index:0});let s=new Map(i.order);Object.keys(r).forEach(a=>{t.order.get(a)&&s.set(a,t.order.get(a))}),i.order=s,i.tree=new Map(i.tree),Object.keys(r).forEach(a=>{let c=`controlled||${a}`;t.tree.has(c)&&i.tree.set(c,t.tree.get(c))})}return i},kpe=e=>(t,o)=>{if(t&&o.type==="SAVE_REUSABLE_BLOCK_SUCCESS"){let{id:r,updatedId:n}=o;if(r===n)return t;t={...t},t.attributes=new Map(t.attributes),t.attributes.forEach((i,s)=>{let{name:a}=t.byClientId.get(s);a==="core/block"&&i.ref===r&&t.attributes.set(s,{...i,ref:n})})}return e(t,o)},vpe=e=>(t,o)=>{if(o.type==="SET_HAS_CONTROLLED_INNER_BLOCKS"){if(t.order.get(o.clientId)?.length){let n=e(t,{type:"REPLACE_INNER_BLOCKS",rootClientId:o.clientId,blocks:[]});return e(n,o)}return e(t,o)}return e(t,o)},ype=(0,BO.pipe)(qk.combineReducers,kpe,fpe,hpe,bpe,gpe,mpe,ppe,vpe)({byClientId(e=new Map,t){switch(t.type){case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":{let o=new Map(e);return U6(t.blocks).forEach(([r,n])=>{o.set(r,n)}),o}case"UPDATE_BLOCK":{if(!e.has(t.clientId))return e;let{attributes:o,...r}=t.updates;if(Object.values(r).length===0)return e;let n=new Map(e);return n.set(t.clientId,{...e.get(t.clientId),...r}),n}case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":{if(!t.blocks)return e;let o=new Map(e);return t.replacedClientIds.forEach(r=>{o.delete(r)}),U6(t.blocks).forEach(([r,n])=>{o.set(r,n)}),o}case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":{let o=new Map(e);return t.removedClientIds.forEach(r=>{o.delete(r)}),o}}return e},attributes(e=new Map,t){switch(t.type){case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":{let o=new Map(e);return H6(t.blocks).forEach(([r,n])=>{o.set(r,n)}),o}case"UPDATE_BLOCK":{if(!e.get(t.clientId)||!t.updates.attributes)return e;let o=new Map(e);return o.set(t.clientId,{...e.get(t.clientId),...t.updates.attributes}),o}case"SYNC_DERIVED_BLOCK_ATTRIBUTES":case"UPDATE_BLOCK_ATTRIBUTES":{if(t.clientIds.every(n=>!e.get(n)))return e;let o=!1,r=new Map(e);for(let n of t.clientIds){let i=Object.entries(t.options?.uniqueByBlock?t.attributes[n]:t.attributes??{});if(i.length===0)continue;let s=!1,a=e.get(n),c={};i.forEach(([u,d])=>{a[u]!==d&&(s=!0,c[u]=d)}),o=o||s,s&&r.set(n,{...a,...c})}return o?r:e}case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":{if(!t.blocks)return e;let o=new Map(e);return t.replacedClientIds.forEach(r=>{o.delete(r)}),H6(t.blocks).forEach(([r,n])=>{o.set(r,n)}),o}case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":{let o=new Map(e);return t.removedClientIds.forEach(r=>{o.delete(r)}),o}}return e},order(e=new Map,t){switch(t.type){case"RECEIVE_BLOCKS":{let o=x0(t.blocks),r=new Map(e);return o.forEach((n,i)=>{i!==""&&r.set(i,n)}),r.set("",(e.get("")??[]).concat(o[""])),r}case"INSERT_BLOCKS":{let{rootClientId:o=""}=t,r=e.get(o)||[],n=x0(t.blocks,o),{index:i=r.length}=t,s=new Map(e);return n.forEach((a,c)=>{s.set(c,a)}),s.set(o,h0(r,n.get(o),i)),s}case"MOVE_BLOCKS_TO_POSITION":{let{fromRootClientId:o="",toRootClientId:r="",clientIds:n}=t,{index:i=e.get(r).length}=t;if(o===r){let c=e.get(r).indexOf(n[0]),u=new Map(e);return u.set(r,g0(e.get(r),c,i,n.length)),u}let s=new Map(e);return s.set(o,e.get(o)?.filter(a=>!n.includes(a))??[]),s.set(r,h0(e.get(r),n,i)),s}case"MOVE_BLOCKS_UP":{let{clientIds:o,rootClientId:r=""}=t,n=o[0],i=e.get(r);if(!i.length||n===i[0])return e;let s=i.indexOf(n),a=new Map(e);return a.set(r,g0(i,s,s-1,o.length)),a}case"MOVE_BLOCKS_DOWN":{let{clientIds:o,rootClientId:r=""}=t,n=o[0],i=o[o.length-1],s=e.get(r);if(!s.length||i===s[s.length-1])return e;let a=s.indexOf(n),c=new Map(e);return c.set(r,g0(s,a,a+1,o.length)),c}case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":{let{clientIds:o}=t;if(!t.blocks)return e;let r=x0(t.blocks),n=new Map(e);return t.replacedClientIds.forEach(i=>{n.delete(i)}),r.forEach((i,s)=>{s!==""&&n.set(s,i)}),n.forEach((i,s)=>{let a=Object.values(i).reduce((c,u)=>u===o[0]?[...c,...r.get("")]:(o.indexOf(u)===-1&&c.push(u),c),[]);n.set(s,a)}),n}case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":{let o=new Map(e);return t.removedClientIds.forEach(r=>{o.delete(r)}),o.forEach((r,n)=>{let i=r?.filter(s=>!t.removedClientIds.includes(s))??[];i.length!==r.length&&o.set(n,i)}),o}}return e},parents(e=new Map,t){switch(t.type){case"RECEIVE_BLOCKS":{let o=new Map(e);return wO(t.blocks).forEach(([r,n])=>{o.set(r,n)}),o}case"INSERT_BLOCKS":{let o=new Map(e);return wO(t.blocks,t.rootClientId||"").forEach(([r,n])=>{o.set(r,n)}),o}case"MOVE_BLOCKS_TO_POSITION":{let o=new Map(e);return t.clientIds.forEach(r=>{o.set(r,t.toRootClientId||"")}),o}case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":{let o=new Map(e);return t.replacedClientIds.forEach(r=>{o.delete(r)}),wO(t.blocks,e.get(t.clientIds[0])).forEach(([r,n])=>{o.set(r,n)}),o}case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":{let o=new Map(e);return t.removedClientIds.forEach(r=>{o.delete(r)}),o}}return e},controlledInnerBlocks(e={},{type:t,clientId:o,hasControlledInnerBlocks:r}){return t==="SET_HAS_CONTROLLED_INNER_BLOCKS"?{...e,[o]:r}:e}});function Spe(e=!1,t){switch(t.type){case"HIDE_BLOCK_INTERFACE":return!0;case"SHOW_BLOCK_INTERFACE":return!1}return e}function _pe(e=!1,t){switch(t.type){case"START_TYPING":return!0;case"STOP_TYPING":return!1}return e}function xpe(e=!1,t){switch(t.type){case"START_DRAGGING":return!0;case"STOP_DRAGGING":return!1}return e}function wpe(e=[],t){switch(t.type){case"START_DRAGGING_BLOCKS":return t.clientIds;case"STOP_DRAGGING_BLOCKS":return[]}return e}function Cpe(e={},t){return t.type==="SET_BLOCK_VISIBILITY"?{...e,...t.updates}:e}function W6(e={},t){switch(t.type){case"CLEAR_SELECTED_BLOCK":return e.clientId?{}:e;case"SELECT_BLOCK":return t.clientId===e.clientId?e:{clientId:t.clientId};case"REPLACE_INNER_BLOCKS":case"INSERT_BLOCKS":return!t.updateSelection||!t.blocks.length?e:{clientId:t.blocks[0].clientId};case"REMOVE_BLOCKS":return!t.clientIds||!t.clientIds.length||t.clientIds.indexOf(e.clientId)===-1?e:{};case"REPLACE_BLOCKS":{if(t.clientIds.indexOf(e.clientId)===-1)return e;let o=t.blocks[t.indexToSelect]||t.blocks[t.blocks.length-1];return o?o.clientId===e.clientId?e:{clientId:o.clientId}:{}}}return e}function Bpe(e={},t){switch(t.type){case"SELECTION_CHANGE":return t.clientId?{selectionStart:{clientId:t.clientId,attributeKey:t.attributeKey,offset:t.startOffset},selectionEnd:{clientId:t.clientId,attributeKey:t.attributeKey,offset:t.endOffset}}:{selectionStart:t.start||e.selectionStart,selectionEnd:t.end||e.selectionEnd};case"RESET_SELECTION":let{selectionStart:n,selectionEnd:i}=t;return{selectionStart:n,selectionEnd:i};case"MULTI_SELECT":let{start:s,end:a}=t;return s===e.selectionStart?.clientId&&a===e.selectionEnd?.clientId?e:{selectionStart:{clientId:s},selectionEnd:{clientId:a}};case"RESET_BLOCKS":let c=e?.selectionStart?.clientId,u=e?.selectionEnd?.clientId;if(!c&&!u)return e;if(!t.blocks.some(d=>d.clientId===c))return{selectionStart:{},selectionEnd:{}};if(!t.blocks.some(d=>d.clientId===u))return{...e,selectionEnd:e.selectionStart}}let o=W6(e.selectionStart,t),r=W6(e.selectionEnd,t);return o===e.selectionStart&&r===e.selectionEnd?e:{selectionStart:o,selectionEnd:r}}function Epe(e=!1,t){switch(t.type){case"START_MULTI_SELECT":return!0;case"STOP_MULTI_SELECT":return!1}return e}function Tpe(e=!0,t){return t.type==="TOGGLE_SELECTION"?t.isSelectionEnabled:e}function Ipe(e=null,t){switch(t.type){case"SHOW_VIEWPORT_MODAL":return t.clientIds;case"HIDE_VIEWPORT_MODAL":return null}return e}function Ppe(e=!1,t){switch(t.type){case"DISPLAY_BLOCK_REMOVAL_PROMPT":let{clientIds:o,selectPrevious:r,message:n}=t;return{clientIds:o,selectPrevious:r,message:n};case"CLEAR_BLOCK_REMOVAL_PROMPT":return!1}return e}function Rpe(e=!1,t){return t.type==="SET_BLOCK_REMOVAL_RULES"?t.rules:e}function Ope(e=null,t){return t.type==="REPLACE_BLOCKS"&&t.initialPosition!==void 0||["MULTI_SELECT","SELECT_BLOCK","RESET_SELECTION","INSERT_BLOCKS","REPLACE_INNER_BLOCKS"].includes(t.type)?t.initialPosition:e}function Ape(e={},t){if(t.type==="TOGGLE_BLOCK_MODE"){let{clientId:o}=t;return{...e,[o]:e[o]&&e[o]==="html"?"visual":"html"}}return e}function Lpe(e=null,t){switch(t.type){case"SHOW_INSERTION_POINT":{let{rootClientId:o,index:r,__unstableWithInserter:n,operation:i,nearestSide:s}=t,a={rootClientId:o,index:r,__unstableWithInserter:n,operation:i,nearestSide:s};return(0,Yk.default)(e,a)?e:a}case"HIDE_INSERTION_POINT":return null}return e}function Npe(e={isValid:!0},t){return t.type==="SET_TEMPLATE_VALIDITY"?{...e,isValid:t.isValid}:e}function Mpe(e=$k,t){if(t.type==="UPDATE_SETTINGS"){let o=t.reset?{...$k,...t.settings}:{...e,...t.settings};return Object.defineProperty(o,"__unstableIsPreviewMode",{get(){return(0,$6.default)("__unstableIsPreviewMode",{since:"6.8",alternative:"isPreviewMode"}),this.isPreviewMode}}),o}return e}function Dpe(e=j6,t){switch(t.type){case"INSERT_BLOCKS":case"REPLACE_BLOCKS":{let o=t.blocks.reduce((r,n)=>{let{attributes:i,name:s}=n,a=s,c=(0,qk.select)(w0.store).getActiveBlockVariation(s,i);return c?.name&&(a+="/"+c.name),s==="core/block"&&(a+="/"+i.ref),{...r,[a]:{time:t.time,count:r[a]?r[a].count+1:1}}},e.insertUsage);return{...e,insertUsage:o}}}return e}var Vpe=(e={},t)=>{switch(t.type){case"REPLACE_BLOCKS":{let o=new Set,r=[...t.blocks];for(;r.length;){let n=r.shift();o.add(n.clientId),r.push(...n.innerBlocks)}return Object.fromEntries(Object.entries(e).filter(([n])=>!t.clientIds.includes(n)||o.has(n)))}case"REMOVE_BLOCKS":return Object.fromEntries(Object.entries(e).filter(([o])=>!t.clientIds.includes(o)));case"UPDATE_BLOCK_LIST_SETTINGS":{let o=typeof t.clientId=="string"?{[t.clientId]:t.settings}:t.clientId;for(let n in o)o[n]?(0,Yk.default)(e[n],o[n])&&delete o[n]:e[n]||delete o[n];if(Object.keys(o).length===0)return e;let r={...e,...o};for(let n in o)o[n]||delete r[n];return r}}return e};function Fpe(e=null,t){switch(t.type){case"UPDATE_BLOCK":if(!t.updates.attributes)break;return{[t.clientId]:t.updates.attributes};case"UPDATE_BLOCK_ATTRIBUTES":return t.clientIds.reduce((o,r)=>({...o,[r]:t.options?.uniqueByBlock?t.attributes[r]:t.attributes}),{})}return e}function zpe(e,t){switch(t.type){case"TOGGLE_BLOCK_HIGHLIGHT":let{clientId:o,isHighlighted:r}=t;return r?o:e===o?null:e;case"SELECT_BLOCK":if(t.clientId!==e)return null}return e}function jpe(e,t){switch(t.type){case"TOGGLE_BLOCK_SPOTLIGHT":let{clientId:o,hasBlockSpotlight:r}=t;return r?o:e===o?null:e;case"SELECT_BLOCK":return t.clientId!==e?null:e;case"SELECTION_CHANGE":return t.start?.clientId!==e||t.end?.clientId!==e?null:e;case"CLEAR_SELECTED_BLOCK":return null}return e}function Upe(e=null,t){switch(t.type){case"SET_BLOCK_EXPANDED_IN_LIST_VIEW":return t.clientId;case"SELECT_BLOCK":if(t.clientId!==e)return null}return e}function Hpe(e={},t){switch(t.type){case"INSERT_BLOCKS":case"REPLACE_BLOCKS":if(!t.blocks.length)return e;let o=t.blocks.map(n=>n.clientId),r=t.meta?.source;return{clientIds:o,source:r};case"RESET_BLOCKS":return{}}return e}function Gpe(e,t){if(t.type==="EDIT_CONTENT_ONLY_SECTION")return t.clientId;if(!e)return e;switch(t.type){case"REMOVE_BLOCKS":case"REPLACE_BLOCKS":if(t.clientIds.includes(e))return;break;case"RESET_BLOCKS":if(!Y6(t.blocks)[e])return;break}return e}function Wpe(e=new Map,t){switch(t.type){case"SET_BLOCK_EDITING_MODE":return e.get(t.clientId)===t.mode?e:new Map(e).set(t.clientId,t.mode);case"UNSET_BLOCK_EDITING_MODE":{if(!e.has(t.clientId))return e;let o=new Map(e);return o.delete(t.clientId),o}case"RESET_BLOCKS":return e.has("")?new Map().set("",e.get("")):e}return e}function $pe(e=new Map,t){switch(t.type){case"SET_STYLE_OVERRIDE":return new Map(e).set(t.id,t.style);case"DELETE_STYLE_OVERRIDE":{let o=new Map(e);return o.delete(t.id),o}}return e}function Kpe(e=[],t){return t.type==="REGISTER_INSERTER_MEDIA_CATEGORY"?[...e,t.category]:e}function Ype(e=!1,t){return t.type==="LAST_FOCUS"?t.lastFocus:e}function qpe(e=100,t){switch(t.type){case"SET_ZOOM_LEVEL":return t.zoom;case"RESET_ZOOM_LEVEL":return 100}return e}function Zpe(e=null,t){switch(t.type){case"SET_INSERTION_POINT":return t.value;case"SELECT_BLOCK":return null}return e}function Xpe(e={allOpen:!1,panels:{}},t){switch(t.type){case"SET_OPEN_LIST_VIEW_PANEL":return{allOpen:!1,panels:t.clientId?{[t.clientId]:!0}:{}};case"SET_ALL_LIST_VIEW_PANELS_OPEN":return{allOpen:!0,panels:{}};case"TOGGLE_LIST_VIEW_PANEL":return{allOpen:!1,panels:{...e.panels,[t.clientId]:t.isOpen}};case"REPLACE_BLOCKS":case"REMOVE_BLOCKS":{if(!t.clientIds||t.clientIds.length===0)return e;let o={...e.panels},r=!1;return t.clientIds.forEach(n=>{n in o&&(delete o[n],r=!0)}),r?{...e,panels:o}:e}}return e}function Qpe(e=0,t){return t.type==="INCREMENT_LIST_VIEW_EXPAND_REVISION"?e+1:e}function Jpe(e=!1,t){switch(t.type){case"OPEN_LIST_VIEW_CONTENT_PANEL":return!0;case"CLOSE_LIST_VIEW_CONTENT_PANEL":return!1;case"CLEAR_SELECTED_BLOCK":return!1}return e}function ehe(e=null,t){switch(t.type){case"REQUEST_INSPECTOR_TAB":return{tabName:t.tabName,options:t.options};case"CLEAR_REQUESTED_INSPECTOR_TAB":return null}return e}var the=(0,qk.combineReducers)({blocks:ype,isDragging:xpe,isTyping:_pe,isBlockInterfaceHidden:Spe,draggedBlocks:wpe,selection:Bpe,isMultiSelecting:Epe,isSelectionEnabled:Tpe,initialPosition:Ope,blocksMode:Ape,blockListSettings:Vpe,insertionPoint:Zpe,insertionCue:Lpe,template:Npe,settings:Mpe,preferences:Dpe,lastBlockAttributesChange:Fpe,lastFocus:Ype,expandedBlock:Upe,highlightedBlock:zpe,lastBlockInserted:Hpe,editedContentOnlySection:Gpe,blockVisibility:Cpe,viewportModalClientIds:Ipe,blockEditingModes:Wpe,styleOverrides:$pe,removalPromptData:Ppe,blockRemovalRules:Rpe,registeredInserterMediaCategories:Kpe,zoomLevel:qpe,hasBlockSpotlight:jpe,openedListViewPanels:Xpe,listViewExpandRevision:Qpe,listViewContentPanelOpen:Jpe,requestedInspectorTab:ehe});function q6(e,t){if(t===""){let n=e.blocks.tree.get(t);return n?{clientId:"",...n}:void 0}if(!e.blocks.controlledInnerBlocks[t])return e.blocks.tree.get(t);let o=e.blocks.tree.get(`controlled||${t}`);return{...e.blocks.tree.get(t),innerBlocks:o?.innerBlocks}}function EO(e,t,o){let r=q6(e,t);if(r&&(o(r),!!r?.innerBlocks?.length))for(let n of r?.innerBlocks)EO(e,n.clientId,o)}function Kk(e,t,o){if(!o.length)return;let r=e.blocks.parents.get(t);for(;r!==void 0;){if(o.includes(r))return r;r=e.blocks.parents.get(r)}}function ohe(e){return e?.attributes?.metadata?.bindings&&Object.keys(e?.attributes?.metadata?.bindings).length}function CO(e,t=""){let o=e?.zoomLevel<100||e?.zoomLevel==="auto-scaled",r=new Map,n=e.settings?.[Zc],i=e.blocks.order.get(n),s=Array.from(e.blockEditingModes).some(([,g])=>g==="disabled"),a=[],c=[];Object.keys(e.blocks.controlledInnerBlocks).forEach(g=>{let b=e.blocks.byClientId?.get(g);b?.name==="core/template-part"&&a.push(g),b?.name==="core/block"&&c.push(g)});let u=Object.keys(e.blockListSettings).filter(g=>e.blockListSettings[g]?.templateLock==="contentOnly"),d=e.settings?.[Xc],f=e.settings?.disableContentOnlyForUnsyncedPatterns,m=d||f?[]:Array.from(e.blocks.attributes.keys()).filter(g=>e.blocks.attributes.get(g)?.metadata?.patternName),h=e.settings?.disableContentOnlyForTemplateParts,p=[...u,...m,...d||h?[]:a];return EO(e,t,g=>{let{clientId:b,name:v}=g,k=!!e.editedContentOnlySection,y=!1;if(k&&(y=b===e.editedContentOnlySection||!!Kk(e,b,[e.editedContentOnlySection]),!y)){r.set(b,"disabled");return}if(!e.blockEditingModes.has(b)){if(s){let S,x=e.blocks.parents.get(b);for(;x!==void 0&&(e.blockEditingModes.has(x)&&(S=e.blockEditingModes.get(x)),!S);)x=e.blocks.parents.get(x);if(S==="disabled"){r.set(b,"disabled");return}}if(o){if(b===n){r.set(b,"contentOnly");return}if(!i?.length){r.set(b,"disabled");return}if(i.includes(b)){r.set(b,"contentOnly");return}r.set(b,"disabled");return}if(c.length){if(c.includes(b)){if(Kk(e,b,c)){r.set(b,"disabled");return}return}let S=Kk(e,b,c);if(S){if(Kk(e,S,c)){r.set(b,"disabled");return}if(ohe(g)){r.set(b,"contentOnly");return}r.set(b,"disabled");return}}if(k&&y){r.set(b,"default");return}p.length&&Kk(e,b,p)&&(lpe(v)?r.set(b,"contentOnly"):r.set(b,"disabled"))}}),r}function Qc({prevState:e,nextState:t,addedBlocks:o,removedClientIds:r}){let n=e.derivedBlockEditingModes,i;return r?.forEach(s=>{EO(e,s,a=>{n.has(a.clientId)&&(i||(i=new Map(n)),i.delete(a.clientId))})}),o?.forEach(s=>{let a=CO(t,s.clientId);a.size&&(i?i=new Map([...i?.size?i:[],...a]):i=new Map([...n?.size?n:[],...a]))}),i}function rhe(e){return(t,o)=>{let r=e(t,o);if(o.type!=="SET_EDITOR_MODE"&&r===t)return t;switch(o.type){case"REMOVE_BLOCKS":{let n=Qc({prevState:t,nextState:r,removedClientIds:o.clientIds});if(n)return{...r,derivedBlockEditingModes:n??t.derivedBlockEditingModes};break}case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":{let n=Qc({prevState:t,nextState:r,addedBlocks:o.blocks});if(n)return{...r,derivedBlockEditingModes:n??t.derivedBlockEditingModes};break}case"UPDATE_BLOCK_ATTRIBUTES":{if(r.settings?.disableContentOnlyForUnsyncedPatterns)break;let i=[],s=[];for(let c of o?.clientIds){let u=o.options?.uniqueByBlock?o.attributes[c]:o.attributes;if(!u)break;u.metadata?.patternName&&!t.blocks.attributes.get(c)?.metadata?.patternName?i.push(r.blocks.tree.get(c)):u.metadata&&!u.metadata?.patternName&&t.blocks.attributes.get(c)?.metadata?.patternName&&s.push(c)}if(!i?.length&&!s?.length)break;let a=Qc({prevState:t,nextState:r,addedBlocks:i,removedClientIds:s});if(a)return{...r,derivedBlockEditingModes:a??t.derivedBlockEditingModes};break}case"UPDATE_BLOCK_LIST_SETTINGS":{let n=[],i=[],s=typeof o.clientId=="string"?{[o.clientId]:o.settings}:o.clientId;for(let c in s){let u=t.blockListSettings[c]?.templateLock!=="contentOnly"&&r.blockListSettings[c]?.templateLock==="contentOnly",d=t.blockListSettings[c]?.templateLock==="contentOnly"&&r.blockListSettings[c]?.templateLock!=="contentOnly";u?n.push(r.blocks.tree.get(c)):d&&i.push(c)}if(!n.length&&!i.length)break;let a=Qc({prevState:t,nextState:r,addedBlocks:n,removedClientIds:i});if(a)return{...r,derivedBlockEditingModes:a??t.derivedBlockEditingModes};break}case"SET_BLOCK_EDITING_MODE":case"UNSET_BLOCK_EDITING_MODE":case"SET_HAS_CONTROLLED_INNER_BLOCKS":{let n=q6(r,o.clientId);if(!n)break;let i=Qc({prevState:t,nextState:r,removedClientIds:[o.clientId],addedBlocks:[n]});if(i)return{...r,derivedBlockEditingModes:i??t.derivedBlockEditingModes};break}case"REPLACE_BLOCKS":{let n=Qc({prevState:t,nextState:r,addedBlocks:o.blocks,removedClientIds:o.clientIds});if(n)return{...r,derivedBlockEditingModes:n??t.derivedBlockEditingModes};break}case"REPLACE_INNER_BLOCKS":{let n=t.blocks.order.get(o.rootClientId),i=Qc({prevState:t,nextState:r,addedBlocks:o.blocks,removedClientIds:n});if(i)return{...r,derivedBlockEditingModes:i??t.derivedBlockEditingModes};break}case"MOVE_BLOCKS_TO_POSITION":{let n=o.clientIds.map(s=>r.blocks.byClientId.get(s)),i=Qc({prevState:t,nextState:r,addedBlocks:n,removedClientIds:o.clientIds});if(i)return{...r,derivedBlockEditingModes:i??t.derivedBlockEditingModes};break}case"UPDATE_SETTINGS":{if(t?.settings?.[Zc]!==r?.settings?.[Zc]||!!t?.settings?.disableContentOnlyForUnsyncedPatterns!=!!r?.settings?.disableContentOnlyForUnsyncedPatterns||!!t?.settings?.[Xc]!=!!r?.settings?.[Xc]||!!t?.settings?.disableContentOnlyForTemplateParts!=!!r?.settings?.disableContentOnlyForTemplateParts)return{...r,derivedBlockEditingModes:CO(r)};break}case"RESET_BLOCKS":case"EDIT_CONTENT_ONLY_SECTION":case"SET_EDITOR_MODE":case"RESET_ZOOM_LEVEL":case"SET_ZOOM_LEVEL":return{...r,derivedBlockEditingModes:CO(r)}}return r.derivedBlockEditingModes=t?.derivedBlockEditingModes??new Map,r}}function nhe(e){return(t,o)=>{let r=e(t,o);return t?(r.automaticChangeStatus=t.automaticChangeStatus,o.type==="MARK_AUTOMATIC_CHANGE"?{...r,automaticChangeStatus:"pending"}:o.type==="MARK_AUTOMATIC_CHANGE_FINAL"&&t.automaticChangeStatus==="pending"?{...r,automaticChangeStatus:"final"}:r.blocks===t.blocks&&r.selection===t.selection||r.automaticChangeStatus!=="final"&&r.selection!==t.selection?r:{...r,automaticChangeStatus:void 0}):r}}var Z6=(0,BO.pipe)(rhe,nhe)(the);var tM={};Ip(tM,{__experimentalGetActiveBlockIdByBlockNames:()=>rbe,__experimentalGetAllowedBlocks:()=>jge,__experimentalGetAllowedPatterns:()=>Wge,__experimentalGetBlockListSettingsForBlocks:()=>Zge,__experimentalGetDirectInsertBlock:()=>Uge,__experimentalGetGlobalBlocksByName:()=>Qhe,__experimentalGetLastBlockAttributeChanges:()=>Jge,__experimentalGetParsedPattern:()=>Hge,__experimentalGetPatternTransformItems:()=>Yge,__experimentalGetPatternsByBlockTypes:()=>Kge,__experimentalGetReusableBlockTitle:()=>Xge,__unstableGetBlockWithoutInnerBlocks:()=>qhe,__unstableGetClientIdWithClientIdsTree:()=>vj,__unstableGetClientIdsTree:()=>yj,__unstableGetContentLockingParent:()=>dbe,__unstableGetSelectedBlocksWithPartialSelection:()=>yge,__unstableGetTemporarilyEditingAsBlocks:()=>fbe,__unstableGetVisibleBlocks:()=>abe,__unstableHasActiveBlockOverlayActive:()=>Nj,__unstableIsFullySelected:()=>gge,__unstableIsLastBlockChangeIgnored:()=>Qge,__unstableIsSelectionCollapsed:()=>bge,__unstableIsSelectionMergeable:()=>vge,__unstableIsWithinBlockOverlay:()=>lbe,__unstableSelectionHasUnmergeableBlock:()=>kge,areInnerBlocksControlled:()=>Iw,canEditBlock:()=>Oj,canInsertBlockType:()=>Df,canInsertBlocks:()=>Lge,canLockBlockType:()=>Mge,canMoveBlock:()=>Rj,canMoveBlocks:()=>Nge,canRemoveBlock:()=>ZN,canRemoveBlocks:()=>Pj,didAutomaticChange:()=>tbe,getAdjacentBlockClientId:()=>$N,getAllowedBlocks:()=>HN,getBlock:()=>xl,getBlockAttributes:()=>Ei,getBlockCount:()=>ege,getBlockEditingMode:()=>Ti,getBlockHierarchyRootClientId:()=>sge,getBlockIndex:()=>Cj,getBlockInsertionPoint:()=>Pge,getBlockListSettings:()=>eM,getBlockMode:()=>Cge,getBlockName:()=>ut,getBlockNamesByClientId:()=>Jhe,getBlockOrder:()=>wr,getBlockParents:()=>ys,getBlockParentsByBlockName:()=>WN,getBlockRootClientId:()=>Po,getBlockSelectionEnd:()=>oge,getBlockSelectionStart:()=>tge,getBlockTransformItems:()=>Fge,getBlocks:()=>Zhe,getBlocksByClientId:()=>Tw,getBlocksByName:()=>_j,getClientIdsOfDescendants:()=>Sj,getClientIdsWithDescendants:()=>$p,getDirectInsertBlock:()=>Lj,getDraggedBlockClientIds:()=>Ege,getFirstMultiSelectedBlockClientId:()=>KN,getGlobalBlockCount:()=>Xhe,getHoveredBlockClientId:()=>sbe,getInserterItems:()=>Vge,getLastMultiSelectedBlockClientId:()=>xj,getLowestCommonAncestorWithSelectedBlock:()=>age,getMultiSelectedBlockClientIds:()=>du,getMultiSelectedBlocks:()=>dge,getMultiSelectedBlocksEndClientId:()=>hge,getMultiSelectedBlocksStartClientId:()=>pge,getNextBlockClientId:()=>cge,getPatternsByBlockTypes:()=>$ge,getPreviousBlockClientId:()=>lge,getSelectedBlock:()=>ige,getSelectedBlockClientId:()=>Yp,getSelectedBlockClientIds:()=>qp,getSelectedBlockCount:()=>rge,getSelectedBlocksInitialCaretPosition:()=>uge,getSelectionEnd:()=>Rv,getSelectionStart:()=>Pv,getSettings:()=>su,getTemplate:()=>Age,getTemplateLock:()=>fa,hasBlockMovingClientId:()=>ebe,hasDraggedInnerBlock:()=>Tj,hasInserterItems:()=>zge,hasMultiSelection:()=>_ge,hasSelectedBlock:()=>nge,hasSelectedInnerBlock:()=>Ej,isAncestorBeingDragged:()=>Tge,isAncestorMultiSelected:()=>mge,isBlockBeingDragged:()=>YN,isBlockHighlighted:()=>obe,isBlockInsertionPointVisible:()=>Rge,isBlockMultiSelected:()=>wj,isBlockSelected:()=>Bj,isBlockValid:()=>Yhe,isBlockVisible:()=>ibe,isBlockWithinSelection:()=>Sge,isCaretWithinFormattedText:()=>Ige,isDraggingBlocks:()=>Ij,isFirstMultiSelectedBlock:()=>fge,isGroupable:()=>ube,isLastBlockChangePersistent:()=>qge,isMultiSelecting:()=>xge,isSelectionEnabled:()=>wge,isTyping:()=>Bge,isUngroupable:()=>cbe,isValidTemplate:()=>Oge,wasBlockJustInserted:()=>nbe});var Oe=l($(),1),gj=l(R(),1),bj=l(ct(),1);var C0=l(R(),1),we=(0,C0.forwardRef)(({icon:e,size:t=24,...o},r)=>(0,C0.cloneElement)(e,{width:t,height:t,...o,ref:r}));var B0=l(q(),1),TO=l(w(),1),Sf=(0,TO.jsx)(B0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,TO.jsx)(B0.Path,{d:"M7.5 5.5h9V4h-9v1.5Zm-3.5 7h16V11H4v1.5Zm3.5 7h9V18h-9v1.5Z"})});var E0=l(q(),1),IO=l(w(),1),PO=(0,IO.jsx)(E0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,IO.jsx)(E0.Path,{d:"M4 12.8h16v-1.5H4v1.5zm0 7h12.4v-1.5H4v1.5zM4 4.3v1.5h16V4.3H4z"})});var T0=l(q(),1),RO=l(w(),1),Jc=(0,RO.jsx)(T0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,RO.jsx)(T0.Path,{d:"M13 5.5H4V4h9v1.5Zm7 7H4V11h16v1.5Zm-7 7H4V18h9v1.5Z"})});var I0=l(q(),1),OO=l(w(),1),_f=(0,OO.jsx)(I0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,OO.jsx)(I0.Path,{d:"M19 5.5H5V4h14v1.5ZM19 20H5v-1.5h14V20ZM5 9h14v6H5V9Z"})});var P0=l(q(),1),AO=l(w(),1),eu=(0,AO.jsx)(P0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,AO.jsx)(P0.Path,{d:"M11.111 5.5H20V4h-8.889v1.5ZM4 12.5h16V11H4v1.5Zm7.111 7H20V18h-8.889v1.5Z"})});var R0=l(q(),1),LO=l(w(),1),NO=(0,LO.jsx)(R0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,LO.jsx)(R0.Path,{d:"m16.5 13.5-3.7 3.7V4h-1.5v13.2l-3.8-3.7-1 1 5.5 5.6 5.5-5.6z"})});var O0=l(q(),1),MO=l(w(),1),Zk=(0,MO.jsx)(O0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,MO.jsx)(O0.Path,{d:"M20 11.2H6.8l3.7-3.7-1-1L3.9 12l5.6 5.5 1-1-3.7-3.7H20z"})});var A0=l(q(),1),DO=l(w(),1),Xk=(0,DO.jsx)(A0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,DO.jsx)(A0.Path,{d:"m14.5 6.5-1 1 3.7 3.7H4v1.6h13.2l-3.7 3.7 1 1 5.6-5.5z"})});var L0=l(q(),1),VO=l(w(),1),FO=(0,VO.jsx)(L0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,VO.jsx)(L0.Path,{d:"M18.5 5.5h-13c-1.1 0-2 .9-2 2v9c0 1.1.9 2 2 2h13c1.1 0 2-.9 2-2v-9c0-1.1-.9-2-2-2zm.5 11c0 .3-.2.5-.5.5h-13c-.3 0-.5-.2-.5-.5v-9c0-.3.2-.5.5-.5h13c.3 0 .5.2.5.5v9zM6.5 12H8v-2h2V8.5H6.5V12zm9.5 2h-2v1.5h3.5V12H16v2z"})});var N0=l(q(),1),zO=l(w(),1),jO=(0,zO.jsx)(N0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,zO.jsx)(N0.Path,{d:"M17.7 4.3c-1.2 0-2.8 0-3.8 1-.6.6-.9 1.5-.9 2.6V14c-.6-.6-1.5-1-2.5-1C8.6 13 7 14.6 7 16.5S8.6 20 10.5 20c1.5 0 2.8-1 3.3-2.3.5-.8.7-1.8.7-2.5V7.9c0-.7.2-1.2.5-1.6.6-.6 1.8-.6 2.8-.6h.3V4.3h-.4z"})});var M0=l(q(),1),UO=l(w(),1),Qk=(0,UO.jsx)(M0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,UO.jsx)(M0.Path,{d:"M19 8h-1V6h-5v2h-2V6H6v2H5c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-8c0-1.1-.9-2-2-2zm.5 10c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5v-8c0-.3.2-.5.5-.5h14c.3 0 .5.2.5.5v8z"})});var D0=l(q(),1),HO=l(w(),1),GO=(0,HO.jsx)(D0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,HO.jsx)(D0.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M6 5.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5H6a.5.5 0 01-.5-.5V6a.5.5 0 01.5-.5zM4 6a2 2 0 012-2h3a2 2 0 012 2v3a2 2 0 01-2 2H6a2 2 0 01-2-2V6zm11-.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5V6a.5.5 0 01.5-.5zM13 6a2 2 0 012-2h3a2 2 0 012 2v3a2 2 0 01-2 2h-3a2 2 0 01-2-2V6zm5 8.5h-3a.5.5 0 00-.5.5v3a.5.5 0 00.5.5h3a.5.5 0 00.5-.5v-3a.5.5 0 00-.5-.5zM15 13a2 2 0 00-2 2v3a2 2 0 002 2h3a2 2 0 002-2v-3a2 2 0 00-2-2h-3zm-9 1.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5H6a.5.5 0 01-.5-.5v-3a.5.5 0 01.5-.5zM4 15a2 2 0 012-2h3a2 2 0 012 2v3a2 2 0 01-2 2H6a2 2 0 01-2-2v-3z"})});var V0=l(q(),1),WO=l(w(),1),gl=(0,WO.jsx)(V0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,WO.jsx)(V0.Path,{d:"M16.5 7.5 10 13.9l-2.5-2.4-1 1 3.5 3.6 7.5-7.6z"})});var F0=l(q(),1),$O=l(w(),1),zn=(0,$O.jsx)(F0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,$O.jsx)(F0.Path,{d:"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"})});var z0=l(q(),1),KO=l(w(),1),Jk=(0,KO.jsx)(z0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,KO.jsx)(z0.Path,{d:"m13.1 16-3.4-4 3.4-4 1.1 1-2.6 3 2.6 3-1.1 1z"})});var j0=l(q(),1),YO=l(w(),1),Mr=(0,YO.jsx)(j0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,YO.jsx)(j0.Path,{d:"M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z"})});var U0=l(q(),1),qO=l(w(),1),tu=(0,qO.jsx)(U0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,qO.jsx)(U0.Path,{d:"M10.8622 8.04053L14.2805 12.0286L10.8622 16.0167L9.72327 15.0405L12.3049 12.0286L9.72327 9.01672L10.8622 8.04053Z"})});var H0=l(q(),1),ZO=l(w(),1),Vo=(0,ZO.jsx)(H0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,ZO.jsx)(H0.Path,{d:"M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"})});var G0=l(q(),1),XO=l(w(),1),xf=(0,XO.jsx)(G0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,XO.jsx)(G0.Path,{d:"M6.5 12.4L12 8l5.5 4.4-.9 1.2L12 10l-4.5 3.6-1-1.2z"})});var W0=l(q(),1),QO=l(w(),1),wf=(0,QO.jsx)(W0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,QO.jsx)(W0.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"})});var $0=l(q(),1),JO=l(w(),1),eA=(0,JO.jsx)($0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,JO.jsx)($0.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M10.289 4.836A1 1 0 0111.275 4h1.306a1 1 0 01.987.836l.244 1.466c.787.26 1.503.679 2.108 1.218l1.393-.522a1 1 0 011.216.437l.653 1.13a1 1 0 01-.23 1.273l-1.148.944a6.025 6.025 0 010 2.435l1.149.946a1 1 0 01.23 1.272l-.653 1.13a1 1 0 01-1.216.437l-1.394-.522c-.605.54-1.32.958-2.108 1.218l-.244 1.466a1 1 0 01-.987.836h-1.306a1 1 0 01-.986-.836l-.244-1.466a5.995 5.995 0 01-2.108-1.218l-1.394.522a1 1 0 01-1.217-.436l-.653-1.131a1 1 0 01.23-1.272l1.149-.946a6.026 6.026 0 010-2.435l-1.148-.944a1 1 0 01-.23-1.272l.653-1.131a1 1 0 011.217-.437l1.393.522a5.994 5.994 0 012.108-1.218l.244-1.466zM14.929 12a3 3 0 11-6 0 3 3 0 016 0z"})});var K0=l(q(),1),tA=l(w(),1),oA=(0,tA.jsx)(K0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,tA.jsx)(K0.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M5.625 5.5h9.75c.069 0 .125.056.125.125v9.75a.125.125 0 0 1-.125.125h-9.75a.125.125 0 0 1-.125-.125v-9.75c0-.069.056-.125.125-.125ZM4 5.625C4 4.728 4.728 4 5.625 4h9.75C16.273 4 17 4.728 17 5.625v9.75c0 .898-.727 1.625-1.625 1.625h-9.75A1.625 1.625 0 0 1 4 15.375v-9.75Zm14.5 11.656v-9H20v9C20 18.8 18.77 20 17.251 20H6.25v-1.5h11.001c.69 0 1.249-.528 1.249-1.219Z"})});var Y0=l(q(),1),rA=l(w(),1),Cf=(0,rA.jsx)(Y0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,rA.jsx)(Y0.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M5 4.5h11a.5.5 0 0 1 .5.5v11a.5.5 0 0 1-.5.5H5a.5.5 0 0 1-.5-.5V5a.5.5 0 0 1 .5-.5ZM3 5a2 2 0 0 1 2-2h11a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5Zm17 3v10.75c0 .69-.56 1.25-1.25 1.25H6v1.5h12.75a2.75 2.75 0 0 0 2.75-2.75V8H20Z"})});var q0=l(q(),1),nA=l(w(),1),iA=(0,nA.jsx)(q0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,nA.jsx)(q0.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M5.75 6A.25.25 0 0 1 6 5.75h3v-1.5H6A1.75 1.75 0 0 0 4.25 6v3h1.5V6ZM18 18.25h-3v1.5h3A1.75 1.75 0 0 0 19.75 18v-3h-1.5v3a.25.25 0 0 1-.25.25ZM18.25 9V6a.25.25 0 0 0-.25-.25h-3v-1.5h3c.966 0 1.75.784 1.75 1.75v3h-1.5Zm-12.5 9v-3h-1.5v3c0 .966.784 1.75 1.75 1.75h3v-1.5H6a.25.25 0 0 1-.25-.25Z"})});var Bf=l(q(),1),Np=l(w(),1),sA=(0,Np.jsxs)(Bf.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,Np.jsx)(Bf.G,{opacity:".25",children:(0,Np.jsx)(Bf.Path,{d:"M5.75 6A.25.25 0 0 1 6 5.75h3v-1.5H6A1.75 1.75 0 0 0 4.25 6v3h1.5V6ZM18 18.25h-3v1.5h3A1.75 1.75 0 0 0 19.75 18v-3h-1.5v3a.25.25 0 0 1-.25.25ZM18.25 9V6a.25.25 0 0 0-.25-.25h-3v-1.5h3c.966 0 1.75.784 1.75 1.75v3h-1.5ZM5.75 18v-3h-1.5v3c0 .966.784 1.75 1.75 1.75h3v-1.5H6a.25.25 0 0 1-.25-.25Z"})}),(0,Np.jsx)(Bf.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M5.75 15v3c0 .138.112.25.25.25h3v1.5H6A1.75 1.75 0 0 1 4.25 18v-3h1.5Z"})]});var Ef=l(q(),1),Mp=l(w(),1),aA=(0,Mp.jsxs)(Ef.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,Mp.jsx)(Ef.G,{opacity:".25",children:(0,Mp.jsx)(Ef.Path,{d:"M5.75 6A.25.25 0 0 1 6 5.75h3v-1.5H6A1.75 1.75 0 0 0 4.25 6v3h1.5V6ZM18 18.25h-3v1.5h3A1.75 1.75 0 0 0 19.75 18v-3h-1.5v3a.25.25 0 0 1-.25.25ZM18.25 9V6a.25.25 0 0 0-.25-.25h-3v-1.5h3c.966 0 1.75.784 1.75 1.75v3h-1.5ZM5.75 18v-3h-1.5v3c0 .966.784 1.75 1.75 1.75h3v-1.5H6a.25.25 0 0 1-.25-.25Z"})}),(0,Mp.jsx)(Ef.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M15 18.25h3a.25.25 0 0 0 .25-.25v-3h1.5v3A1.75 1.75 0 0 1 18 19.75h-3v-1.5Z"})]});var Tf=l(q(),1),Dp=l(w(),1),lA=(0,Dp.jsxs)(Tf.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,Dp.jsx)(Tf.G,{opacity:".25",children:(0,Dp.jsx)(Tf.Path,{d:"M5.75 6A.25.25 0 0 1 6 5.75h3v-1.5H6A1.75 1.75 0 0 0 4.25 6v3h1.5V6ZM18 18.25h-3v1.5h3A1.75 1.75 0 0 0 19.75 18v-3h-1.5v3a.25.25 0 0 1-.25.25ZM18.25 9V6a.25.25 0 0 0-.25-.25h-3v-1.5h3c.966 0 1.75.784 1.75 1.75v3h-1.5ZM5.75 18v-3h-1.5v3c0 .966.784 1.75 1.75 1.75h3v-1.5H6a.25.25 0 0 1-.25-.25Z"})}),(0,Dp.jsx)(Tf.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M6 5.75a.25.25 0 0 0-.25.25v3h-1.5V6c0-.966.784-1.75 1.75-1.75h3v1.5H6Z"})]});var If=l(q(),1),Vp=l(w(),1),cA=(0,Vp.jsxs)(If.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,Vp.jsx)(If.G,{opacity:".25",children:(0,Vp.jsx)(If.Path,{d:"M5.75 6A.25.25 0 0 1 6 5.75h3v-1.5H6A1.75 1.75 0 0 0 4.25 6v3h1.5V6ZM18 18.25h-3v1.5h3A1.75 1.75 0 0 0 19.75 18v-3h-1.5v3a.25.25 0 0 1-.25.25ZM18.25 9V6a.25.25 0 0 0-.25-.25h-3v-1.5h3c.966 0 1.75.784 1.75 1.75v3h-1.5ZM5.75 18v-3h-1.5v3c0 .966.784 1.75 1.75 1.75h3v-1.5H6a.25.25 0 0 1-.25-.25Z"})}),(0,Vp.jsx)(If.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M18.25 9V6a.25.25 0 0 0-.25-.25h-3v-1.5h3c.966 0 1.75.784 1.75 1.75v3h-1.5Z"})]});var Z0=l(q(),1),uA=l(w(),1),dA=(0,uA.jsx)(Z0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,uA.jsx)(Z0.Path,{d:"M20.5 16h-.7V8c0-1.1-.9-2-2-2H6.2c-1.1 0-2 .9-2 2v8h-.7c-.8 0-1.5.7-1.5 1.5h20c0-.8-.7-1.5-1.5-1.5zM5.7 8c0-.3.2-.5.5-.5h11.6c.3 0 .5.2.5.5v7.6H5.7V8z"})});var X0=l(q(),1),fA=l(w(),1),ev=(0,fA.jsx)(X0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,fA.jsx)(X0.Path,{d:"M8 7h2V5H8v2zm0 6h2v-2H8v2zm0 6h2v-2H8v2zm6-14v2h2V5h-2zm0 8h2v-2h-2v2zm0 6h2v-2h-2v2z"})});var Q0=l(q(),1),mA=l(w(),1),pA=(0,mA.jsx)(Q0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,mA.jsx)(Q0.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M3 7c0-1.1.9-2 2-2h14a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V7Zm2-.5h14c.3 0 .5.2.5.5v1L12 13.5 4.5 7.9V7c0-.3.2-.5.5-.5Zm-.5 3.3V17c0 .3.2.5.5.5h14c.3 0 .5-.2.5-.5V9.8L12 15.4 4.5 9.8Z"})});var J0=l(q(),1),hA=l(w(),1),Pf=(0,hA.jsx)(J0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,hA.jsx)(J0.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M12.218 5.377a.25.25 0 0 0-.436 0l-7.29 12.96a.25.25 0 0 0 .218.373h14.58a.25.25 0 0 0 .218-.372l-7.29-12.96Zm-1.743-.735c.669-1.19 2.381-1.19 3.05 0l7.29 12.96a1.75 1.75 0 0 1-1.525 2.608H4.71a1.75 1.75 0 0 1-1.525-2.608l7.29-12.96ZM12.75 17.46h-1.5v-1.5h1.5v1.5Zm-1.5-3h1.5v-5h-1.5v5Z"})});var ex=l(q(),1),gA=l(w(),1),bA=(0,gA.jsx)(ex.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,gA.jsx)(ex.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"})});var tx=l(q(),1),kA=l(w(),1),vA=(0,kA.jsx)(tx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,kA.jsx)(tx.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M12.848 8a1 1 0 0 1-.914-.594l-.723-1.63a.5.5 0 0 0-.447-.276H5a.5.5 0 0 0-.5.5v11.5a.5.5 0 0 0 .5.5h14a.5.5 0 0 0 .5-.5v-9A.5.5 0 0 0 19 8h-6.152Zm.612-1.5a.5.5 0 0 1-.462-.31l-.445-1.084A2 2 0 0 0 10.763 4H5a2 2 0 0 0-2 2v11.5a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-9a2 2 0 0 0-2-2h-5.54Z"})});var ox=l(q(),1),yA=l(w(),1),SA=(0,yA.jsx)(ox.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,yA.jsx)(ox.Path,{d:"M12 4 4 19h16L12 4zm0 3.2 5.5 10.3H12V7.2z"})});var rx=l(q(),1),_A=l(w(),1),xA=(0,_A.jsx)(rx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,_A.jsx)(rx.Path,{d:"M7.1 6.8L3.1 18h1.6l1.1-3h4.3l1.1 3h1.6l-4-11.2H7.1zm-.8 6.8L8 8.9l1.7 4.7H6.3zm14.5-1.5c-.3-.6-.7-1.1-1.2-1.5-.6-.4-1.2-.6-1.9-.6-.5 0-.9.1-1.4.3-.4.2-.8.5-1.1.8V6h-1.4v12h1.3l.2-1c.2.4.6.6 1 .8.4.2.9.3 1.4.3.7 0 1.2-.2 1.8-.5.5-.4 1-.9 1.3-1.5.3-.6.5-1.3.5-2.1-.1-.6-.2-1.3-.5-1.9zm-1.7 4c-.4.5-.9.8-1.6.8s-1.2-.2-1.7-.7c-.4-.5-.7-1.2-.7-2.1 0-.9.2-1.6.7-2.1.4-.5 1-.7 1.7-.7s1.2.3 1.6.8c.4.5.6 1.2.6 2 .1.8-.2 1.4-.6 2z"})});var nx=l(q(),1),wA=l(w(),1),CA=(0,wA.jsx)(nx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,wA.jsx)(nx.Path,{d:"M11 16.8c-.1-.1-.2-.3-.3-.5v-2.6c0-.9-.1-1.7-.3-2.2-.2-.5-.5-.9-.9-1.2-.4-.2-.9-.3-1.6-.3-.5 0-1 .1-1.5.2s-.9.3-1.2.6l.2 1.2c.4-.3.7-.4 1.1-.5.3-.1.7-.2 1-.2.6 0 1 .1 1.3.4.3.2.4.7.4 1.4-1.2 0-2.3.2-3.3.7s-1.4 1.1-1.4 2.1c0 .7.2 1.2.7 1.6.4.4 1 .6 1.8.6.9 0 1.7-.4 2.4-1.2.1.3.2.5.4.7.1.2.3.3.6.4.3.1.6.1 1.1.1h.1l.2-1.2h-.1c-.4.1-.6 0-.7-.1zM9.2 16c-.2.3-.5.6-.9.8-.3.1-.7.2-1.1.2-.4 0-.7-.1-.9-.3-.2-.2-.3-.5-.3-.9 0-.6.2-1 .7-1.3.5-.3 1.3-.4 2.5-.5v2zm10.6-3.9c-.3-.6-.7-1.1-1.2-1.5-.6-.4-1.2-.6-1.9-.6-.5 0-.9.1-1.4.3-.4.2-.8.5-1.1.8V6h-1.4v12h1.3l.2-1c.2.4.6.6 1 .8.4.2.9.3 1.4.3.7 0 1.2-.2 1.8-.5.5-.4 1-.9 1.3-1.5.3-.6.5-1.3.5-2.1-.1-.6-.2-1.3-.5-1.9zm-1.7 4c-.4.5-.9.8-1.6.8s-1.2-.2-1.7-.7c-.4-.5-.7-1.2-.7-2.1 0-.9.2-1.6.7-2.1.4-.5 1-.7 1.7-.7s1.2.3 1.6.8c.4.5.6 1.2.6 2s-.2 1.4-.6 2z"})});var ix=l(q(),1),BA=l(w(),1),EA=(0,BA.jsx)(ix.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,BA.jsx)(ix.Path,{d:"M9.1 9v-.5c0-.6.2-1.1.7-1.4.5-.3 1.2-.5 2-.5.7 0 1.4.1 2.1.3.7.2 1.4.5 2.1.9l.2-1.9c-.6-.3-1.2-.5-1.9-.7-.8-.1-1.6-.2-2.4-.2-1.5 0-2.7.3-3.6 1-.8.7-1.2 1.5-1.2 2.6V9h2zM20 12H4v1h8.3c.3.1.6.2.8.3.5.2.9.5 1.1.8.3.3.4.7.4 1.2 0 .7-.2 1.1-.8 1.5-.5.3-1.2.5-2.1.5-.8 0-1.6-.1-2.4-.3-.8-.2-1.5-.5-2.2-.8L7 18.1c.5.2 1.2.4 2 .6.8.2 1.6.3 2.4.3 1.7 0 3-.3 3.9-1 .9-.7 1.3-1.6 1.3-2.8 0-.9-.2-1.7-.7-2.2H20v-1z"})});var sx=l(q(),1),TA=l(w(),1),IA=(0,TA.jsx)(sx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,TA.jsx)(sx.Path,{d:"M7 18v1h10v-1H7zm5-2c1.5 0 2.6-.4 3.4-1.2.8-.8 1.1-2 1.1-3.5V5H15v5.8c0 1.2-.2 2.1-.6 2.8-.4.7-1.2 1-2.4 1s-2-.3-2.4-1c-.4-.7-.6-1.6-.6-2.8V5H7.5v6.2c0 1.5.4 2.7 1.1 3.5.8.9 1.9 1.3 3.4 1.3z"})});var ax=l(q(),1),PA=l(w(),1),RA=(0,PA.jsx)(ax.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,PA.jsx)(ax.Path,{d:"M6.1 6.8L2.1 18h1.6l1.1-3h4.3l1.1 3h1.6l-4-11.2H6.1zm-.8 6.8L7 8.9l1.7 4.7H5.3zm15.1-.7c-.4-.5-.9-.8-1.6-1 .4-.2.7-.5.8-.9.2-.4.3-.9.3-1.4 0-.9-.3-1.6-.8-2-.6-.5-1.3-.7-2.4-.7h-3.5V18h4.2c1.1 0 2-.3 2.6-.8.6-.6 1-1.4 1-2.4-.1-.8-.3-1.4-.6-1.9zm-5.7-4.7h1.8c.6 0 1.1.1 1.4.4.3.2.5.7.5 1.3 0 .6-.2 1.1-.5 1.3-.3.2-.8.4-1.4.4h-1.8V8.2zm4 8c-.4.3-.9.5-1.5.5h-2.6v-3.8h2.6c1.4 0 2 .6 2 1.9.1.6-.1 1-.5 1.4z"})});var lx=l(q(),1),OA=l(w(),1),AA=(0,OA.jsx)(lx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,OA.jsx)(lx.Path,{d:"M12.75 19.45 15 17.5l1 1.1-4 3.4-4-3.4 1-1.1 2.25 1.95V14.5h1.5v4.95ZM19 12.75H5v-1.5h14v1.5ZM16 5.4l-1 1.1-2.25-1.95V9.5h-1.5V4.55L9 6.5 8 5.4 12 2l4 3.4Z"})});var cx=l(q(),1),LA=l(w(),1),ux=(0,LA.jsx)(cx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,LA.jsx)(cx.Path,{d:"M6 4a2 2 0 0 0-2 2v3h1.5V6a.5.5 0 0 1 .5-.5h3V4H6Zm3 14.5H6a.5.5 0 0 1-.5-.5v-3H4v3a2 2 0 0 0 2 2h3v-1.5Zm6 1.5v-1.5h3a.5.5 0 0 0 .5-.5v-3H20v3a2 2 0 0 1-2 2h-3Zm3-16a2 2 0 0 1 2 2v3h-1.5V6a.5.5 0 0 0-.5-.5h-3V4h3Z"})});var dx=l(q(),1),NA=l(w(),1),tv=(0,NA.jsx)(dx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,NA.jsx)(dx.Path,{d:"M12 4c-4.4 0-8 3.6-8 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8Zm6.5 8c0 .6 0 1.2-.2 1.8h-2.7c0-.6.2-1.1.2-1.8s0-1.2-.2-1.8h2.7c.2.6.2 1.1.2 1.8Zm-.9-3.2h-2.4c-.3-.9-.7-1.8-1.1-2.4-.1-.2-.2-.4-.3-.5 1.6.5 3 1.6 3.8 3ZM12.8 17c-.3.5-.6 1-.8 1.3-.2-.3-.5-.8-.8-1.3-.3-.5-.6-1.1-.8-1.7h3.3c-.2.6-.5 1.2-.8 1.7Zm-2.9-3.2c-.1-.6-.2-1.1-.2-1.8s0-1.2.2-1.8H14c.1.6.2 1.1.2 1.8s0 1.2-.2 1.8H9.9ZM11.2 7c.3-.5.6-1 .8-1.3.2.3.5.8.8 1.3.3.5.6 1.1.8 1.7h-3.3c.2-.6.5-1.2.8-1.7Zm-1-1.2c-.1.2-.2.3-.3.5-.4.7-.8 1.5-1.1 2.4H6.4c.8-1.4 2.2-2.5 3.8-3Zm-1.8 8H5.7c-.2-.6-.2-1.1-.2-1.8s0-1.2.2-1.8h2.7c0 .6-.2 1.1-.2 1.8s0 1.2.2 1.8Zm-2 1.4h2.4c.3.9.7 1.8 1.1 2.4.1.2.2.4.3.5-1.6-.5-3-1.6-3.8-3Zm7.4 3c.1-.2.2-.3.3-.5.4-.7.8-1.5 1.1-2.4h2.4c-.8 1.4-2.2 2.5-3.8 3Z"})});var fx=l(q(),1),MA=l(w(),1),ov=(0,MA.jsx)(fx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,MA.jsx)(fx.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"m3 5c0-1.10457.89543-2 2-2h13.5c1.1046 0 2 .89543 2 2v13.5c0 1.1046-.8954 2-2 2h-13.5c-1.10457 0-2-.8954-2-2zm2-.5h6v6.5h-6.5v-6c0-.27614.22386-.5.5-.5zm-.5 8v6c0 .2761.22386.5.5.5h6v-6.5zm8 0v6.5h6c.2761 0 .5-.2239.5-.5v-6zm0-8v6.5h6.5v-6c0-.27614-.2239-.5-.5-.5z"})});var mx=l(q(),1),DA=l(w(),1),rv=(0,DA.jsx)(mx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,DA.jsx)(mx.Path,{d:"M18 4h-7c-1.1 0-2 .9-2 2v3H6c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2v-3h3c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-4.5 14c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5v-7c0-.3.2-.5.5-.5h3V13c0 1.1.9 2 2 2h2.5v3zm0-4.5H11c-.3 0-.5-.2-.5-.5v-2.5H13c.3 0 .5.2.5.5v2.5zm5-.5c0 .3-.2.5-.5.5h-3V11c0-1.1-.9-2-2-2h-2.5V6c0-.3.2-.5.5-.5h7c.3 0 .5.2.5.5v7z"})});var px=l(q(),1),VA=l(w(),1),FA=(0,VA.jsx)(px.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,VA.jsx)(px.Path,{d:"M17.6 7c-.6.9-1.5 1.7-2.6 2v1h2v7h2V7h-1.4zM11 11H7V7H5v10h2v-4h4v4h2V7h-2v4z"})});var hx=l(q(),1),zA=l(w(),1),jA=(0,zA.jsx)(hx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,zA.jsx)(hx.Path,{d:"M9 11.1H5v-4H3v10h2v-4h4v4h2v-10H9v4zm8 4c.5-.4.6-.6 1.1-1.1.4-.4.8-.8 1.2-1.3.3-.4.6-.8.9-1.3.2-.4.3-.8.3-1.3 0-.4-.1-.9-.3-1.3-.2-.4-.4-.7-.8-1-.3-.3-.7-.5-1.2-.6-.5-.2-1-.2-1.5-.2-.4 0-.7 0-1.1.1-.3.1-.7.2-1 .3-.3.1-.6.3-.9.5-.3.2-.6.4-.8.7l1.2 1.2c.3-.3.6-.5 1-.7.4-.2.7-.3 1.2-.3s.9.1 1.3.4c.3.3.5.7.5 1.1 0 .4-.1.8-.4 1.1-.3.5-.6.9-1 1.2-.4.4-1 .9-1.6 1.4-.6.5-1.4 1.1-2.2 1.6v1.5h8v-2H17z"})});var gx=l(q(),1),UA=l(w(),1),HA=(0,UA.jsx)(gx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,UA.jsx)(gx.Path,{d:"M9 11H5V7H3v10h2v-4h4v4h2V7H9v4zm11.3 1.7c-.4-.4-1-.7-1.6-.8v-.1c.6-.2 1.1-.5 1.5-.9.3-.4.5-.8.5-1.3 0-.4-.1-.8-.3-1.1-.2-.3-.5-.6-.8-.8-.4-.2-.8-.4-1.2-.5-.6-.1-1.1-.2-1.6-.2-.6 0-1.3.1-1.8.3s-1.1.5-1.6.9l1.2 1.4c.4-.2.7-.4 1.1-.6.3-.2.7-.3 1.1-.3.4 0 .8.1 1.1.3.3.2.4.5.4.8 0 .4-.2.7-.6.9-.7.3-1.5.5-2.2.4v1.6c.5 0 1 0 1.5.1.3.1.7.2 1 .3.2.1.4.2.5.4s.1.4.1.6c0 .3-.2.7-.5.8-.4.2-.9.3-1.4.3s-1-.1-1.4-.3c-.4-.2-.8-.4-1.2-.7L13 15.6c.5.4 1 .8 1.6 1 .7.3 1.5.4 2.3.4.6 0 1.1-.1 1.6-.2.4-.1.9-.2 1.3-.5.4-.2.7-.5.9-.9.2-.4.3-.8.3-1.2 0-.6-.3-1.1-.7-1.5z"})});var bx=l(q(),1),GA=l(w(),1),WA=(0,GA.jsx)(bx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,GA.jsx)(bx.Path,{d:"M20 13V7h-3l-4 6v2h5v2h2v-2h1v-2h-1zm-2 0h-2.8L18 9v4zm-9-2H5V7H3v10h2v-4h4v4h2V7H9v4z"})});var kx=l(q(),1),$A=l(w(),1),KA=(0,$A.jsx)(kx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,$A.jsx)(kx.Path,{d:"M9 11H5V7H3v10h2v-4h4v4h2V7H9v4zm11.7 1.2c-.2-.3-.5-.7-.8-.9-.3-.3-.7-.5-1.1-.6-.5-.1-.9-.2-1.4-.2-.2 0-.5.1-.7.1-.2.1-.5.1-.7.2l.1-1.9h4.3V7H14l-.3 5 1 .6.5-.2.4-.1c.1-.1.3-.1.4-.1h.5c.5 0 1 .1 1.4.4.4.2.6.7.6 1.1 0 .4-.2.8-.6 1.1-.4.3-.9.4-1.4.4-.4 0-.9-.1-1.3-.3-.4-.2-.7-.4-1.1-.7 0 0-1.1 1.4-1 1.5.5.4 1 .8 1.6 1 .7.3 1.5.4 2.3.4.5 0 1-.1 1.5-.3s.9-.4 1.3-.7c.4-.3.7-.7.9-1.1s.3-.9.3-1.4-.1-1-.3-1.4z"})});var vx=l(q(),1),YA=l(w(),1),qA=(0,YA.jsx)(vx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,YA.jsx)(vx.Path,{d:"M20.7 12.4c-.2-.3-.4-.6-.7-.9s-.6-.5-1-.6c-.4-.2-.8-.2-1.2-.2-.5 0-.9.1-1.3.3s-.8.5-1.2.8c0-.5 0-.9.2-1.4l.6-.9c.2-.2.5-.4.8-.5.6-.2 1.3-.2 1.9 0 .3.1.6.3.8.5 0 0 1.3-1.3 1.3-1.4-.4-.3-.9-.6-1.4-.8-.6-.2-1.3-.3-2-.3-.6 0-1.1.1-1.7.4-.5.2-1 .5-1.4.9-.4.4-.8 1-1 1.6-.3.7-.4 1.5-.4 2.3s.1 1.5.3 2.1c.2.6.6 1.1 1 1.5.4.4.9.7 1.4.9 1 .3 2 .3 3 0 .4-.1.8-.3 1.2-.6.3-.3.6-.6.8-1 .2-.5.3-.9.3-1.4s-.1-.9-.3-1.3zm-2 2.1c-.1.2-.3.4-.4.5-.1.1-.3.2-.5.2-.2.1-.4.1-.6.1-.2.1-.5 0-.7-.1-.2 0-.3-.2-.5-.3-.1-.2-.3-.4-.4-.6-.2-.3-.3-.7-.3-1 .3-.3.6-.5 1-.7.3-.1.7-.2 1-.2.4 0 .8.1 1.1.3.3.3.4.7.4 1.1 0 .2 0 .5-.1.7zM9 11H5V7H3v10h2v-4h4v4h2V7H9v4z"})});var yx=l(q(),1),ZA=l(w(),1),XA=(0,ZA.jsx)(yx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,ZA.jsx)(yx.Path,{d:"M12 4L4 7.9V20h16V7.9L12 4zm6.5 14.5H14V13h-4v5.5H5.5V8.8L12 5.7l6.5 3.1v9.7z"})});var Sx=l(q(),1),QA=l(w(),1),nv=(0,QA.jsx)(Sx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,QA.jsx)(Sx.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM5 4.5h14c.3 0 .5.2.5.5v8.4l-3-2.9c-.3-.3-.8-.3-1 0L11.9 14 9 12c-.3-.2-.6-.2-.8 0l-3.6 2.6V5c-.1-.3.1-.5.4-.5zm14 15H5c-.3 0-.5-.2-.5-.5v-2.4l4.1-3 3 1.9c.3.2.7.2.9-.1L16 12l3.5 3.4V19c0 .3-.2.5-.5.5z"})});var _x=l(q(),1),JA=l(w(),1),eL=(0,JA.jsx)(_x.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,JA.jsx)(_x.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M5.5 12a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0ZM12 4a8 8 0 1 0 0 16 8 8 0 0 0 0-16Zm.75 4v1.5h-1.5V8h1.5Zm0 8v-5h-1.5v5h1.5Z"})});var xx=l(q(),1),tL=l(w(),1),oL=(0,tL.jsx)(xx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,tL.jsx)(xx.Path,{d:"M15 4H9v11h6V4zM4 18.5V20h16v-1.5H4z"})});var wx=l(q(),1),rL=l(w(),1),nL=(0,rL.jsx)(wx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,rL.jsx)(wx.Path,{d:"M20 11h-5V4H9v7H4v1.5h5V20h6v-7.5h5z"})});var Cx=l(q(),1),iL=l(w(),1),ou=(0,iL.jsx)(Cx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,iL.jsx)(Cx.Path,{d:"M12.5 15v5H11v-5H4V9h7V4h1.5v5h7v6h-7Z"})});var Bx=l(q(),1),sL=l(w(),1),ru=(0,sL.jsx)(Bx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,sL.jsx)(Bx.Path,{d:"M9 9v6h11V9H9zM4 20h1.5V4H4v16z"})});var Ex=l(q(),1),aL=l(w(),1),nu=(0,aL.jsx)(Ex.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,aL.jsx)(Ex.Path,{d:"M4 15h11V9H4v6zM18.5 4v16H20V4h-1.5z"})});var Tx=l(q(),1),lL=l(w(),1),cL=(0,lL.jsx)(Tx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,lL.jsx)(Tx.Path,{d:"M7 4H17V8L7 8V4ZM7 16L17 16V20L7 20V16ZM20 11.25H4V12.75H20V11.25Z"})});var Ix=l(q(),1),uL=l(w(),1),Fp=(0,uL.jsx)(Ix.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,uL.jsx)(Ix.Path,{d:"M9 15h6V9H9v6zm-5 5h1.5V4H4v16zM18.5 4v16H20V4h-1.5z"})});var Px=l(q(),1),dL=l(w(),1),fL=(0,dL.jsx)(Px.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,dL.jsx)(Px.Path,{d:"M4 4L20 4L20 5.5L4 5.5L4 4ZM10 7L14 7L14 17L10 17L10 7ZM20 18.5L4 18.5L4 20L20 20L20 18.5Z"})});var Rx=l(q(),1),mL=l(w(),1),zp=(0,mL.jsx)(Rx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,mL.jsx)(Rx.Path,{d:"M4 4H5.5V20H4V4ZM7 10L17 10V14L7 14V10ZM20 4H18.5V20H20V4Z"})});var Ox=l(q(),1),pL=l(w(),1),hL=(0,pL.jsx)(Ox.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,pL.jsx)(Ox.Path,{d:"M9 20h6V9H9v11zM4 4v1.5h16V4H4z"})});var Ax=l(q(),1),gL=l(w(),1),bl=(0,gL.jsx)(Ax.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,gL.jsx)(Ax.Path,{d:"m6.734 16.106 2.176-2.38-1.093-1.028-3.846 4.158 3.846 4.158 1.093-1.028-2.176-2.38h2.811c1.125 0 2.25.03 3.374 0 1.428-.001 3.362-.25 4.963-1.277 1.66-1.065 2.868-2.906 2.868-5.859 0-2.479-1.327-4.896-3.65-5.93-1.82-.813-3.044-.8-4.806-.788l-.567.002v1.5c.184 0 .368 0 .553-.002 1.82-.007 2.704-.014 4.21.657 1.854.827 2.76 2.657 2.76 4.561 0 2.472-.973 3.824-2.178 4.596-1.258.807-2.864 1.04-4.163 1.04h-.02c-1.115.03-2.229 0-3.344 0H6.734Z"})});var Lx=l(q(),1),bL=l(w(),1),kL=(0,bL.jsx)(Lx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,bL.jsx)(Lx.Path,{d:"M18 5.5H6a.5.5 0 00-.5.5v3h13V6a.5.5 0 00-.5-.5zm.5 5H10v8h8a.5.5 0 00.5-.5v-7.5zm-10 0h-3V18a.5.5 0 00.5.5h2.5v-8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"})});var Nx=l(q(),1),vL=l(w(),1),wi=(0,vL.jsx)(Nx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,vL.jsx)(Nx.Path,{d:"M17.031 4.703 15.576 4l-1.56 3H14v.03l-2.324 4.47H9.5V13h1.396l-1.502 2.889h-.95a3.694 3.694 0 0 1 0-7.389H10V7H8.444a5.194 5.194 0 1 0 0 10.389h.17L7.5 19.53l1.416.719L15.049 8.5h.507a3.694 3.694 0 0 1 0 7.39H14v1.5h1.556a5.194 5.194 0 0 0 .273-10.383l1.202-2.304Z"})});var Mx=l(q(),1),yL=l(w(),1),fn=(0,yL.jsx)(Mx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,yL.jsx)(Mx.Path,{d:"M10 17.389H8.444A5.194 5.194 0 1 1 8.444 7H10v1.5H8.444a3.694 3.694 0 0 0 0 7.389H10v1.5ZM14 7h1.556a5.194 5.194 0 0 1 0 10.39H14v-1.5h1.556a3.694 3.694 0 0 0 0-7.39H14V7Zm-4.5 6h5v-1.5h-5V13Z"})});var Dx=l(q(),1),SL=l(w(),1),iv=(0,SL.jsx)(Dx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,SL.jsx)(Dx.Path,{d:"M3 6h11v1.5H3V6Zm3.5 5.5h11V13h-11v-1.5ZM21 17H10v1.5h11V17Z"})});var Vx=l(q(),1),_L=l(w(),1),xL=(0,_L.jsx)(Vx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,_L.jsx)(Vx.Path,{d:"M17 10h-1.2V7c0-2.1-1.7-3.8-3.8-3.8-2.1 0-3.8 1.7-3.8 3.8v3H7c-.6 0-1 .4-1 1v8c0 .6.4 1 1 1h10c.6 0 1-.4 1-1v-8c0-.6-.4-1-1-1zM9.8 7c0-1.2 1-2.2 2.2-2.2 1.2 0 2.2 1 2.2 2.2v3H9.8V7zm6.7 11.5h-9v-7h9v7z"})});var Fx=l(q(),1),wL=l(w(),1),CL=(0,wL.jsx)(Fx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,wL.jsx)(Fx.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M15 11h-.2V9c0-1.5-1.2-2.8-2.8-2.8S9.2 7.5 9.2 9v2H9c-.6 0-1 .4-1 1v4c0 .6.4 1 1 1h6c.6 0 1-.4 1-1v-4c0-.6-.4-1-1-1zm-1.8 0h-2.5V9c0-.7.6-1.2 1.2-1.2s1.2.6 1.2 1.2v2z"})});var zx=l(q(),1),BL=l(w(),1),Rf=(0,BL.jsx)(zx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,BL.jsx)(zx.Path,{d:"M17 10h-1.2V7c0-2.1-1.7-3.8-3.8-3.8-2.1 0-3.8 1.7-3.8 3.8v3H7c-.6 0-1 .4-1 1v8c0 .6.4 1 1 1h10c.6 0 1-.4 1-1v-8c0-.6-.4-1-1-1zm-2.8 0H9.8V7c0-1.2 1-2.2 2.2-2.2s2.2 1 2.2 2.2v3z"})});var sv=l(q(),1),av=l(w(),1),jp=(0,av.jsxs)(sv.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,av.jsx)(sv.Path,{d:"m7 6.5 4 2.5-4 2.5z"}),(0,av.jsx)(sv.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"m5 3c-1.10457 0-2 .89543-2 2v14c0 1.1046.89543 2 2 2h14c1.1046 0 2-.8954 2-2v-14c0-1.10457-.8954-2-2-2zm14 1.5h-14c-.27614 0-.5.22386-.5.5v10.7072l3.62953-2.6465c.25108-.1831.58905-.1924.84981-.0234l2.92666 1.8969 3.5712-3.4719c.2911-.2831.7545-.2831 1.0456 0l2.9772 2.8945v-9.3568c0-.27614-.2239-.5-.5-.5zm-14.5 14.5v-1.4364l4.09643-2.987 2.99567 1.9417c.2936.1903.6798.1523.9307-.0917l3.4772-3.3806 3.4772 3.3806.0228-.0234v2.5968c0 .2761-.2239.5-.5.5h-14c-.27614 0-.5-.2239-.5-.5z"})]});var jx=l(q(),1),EL=l(w(),1),lv=(0,EL.jsx)(jx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,EL.jsx)(jx.Path,{d:"M15 4H9c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h6c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 14c0 .3-.2.5-.5.5H9c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h6c.3 0 .5.2.5.5v12zm-4.5-.5h2V16h-2v1.5z"})});var Ux=l(q(),1),TL=l(w(),1),ks=(0,TL.jsx)(Ux.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,TL.jsx)(Ux.Path,{d:"M13 19h-2v-2h2v2zm0-6h-2v-2h2v2zm0-6h-2V5h2v2z"})});var cv=l(q(),1),uv=l(w(),1),kl=(0,uv.jsxs)(cv.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,uv.jsx)(cv.Path,{d:"M15.5 7.5h-7V9h7V7.5Zm-7 3.5h7v1.5h-7V11Zm7 3.5h-7V16h7v-1.5Z"}),(0,uv.jsx)(cv.Path,{d:"M17 4H7a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2ZM7 5.5h10a.5.5 0 0 1 .5.5v12a.5.5 0 0 1-.5.5H7a.5.5 0 0 1-.5-.5V6a.5.5 0 0 1 .5-.5Z"})]});var Hx=l(q(),1),IL=l(w(),1),PL=(0,IL.jsx)(Hx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,IL.jsx)(Hx.Path,{d:"m9.99609 14v-.2251l.00391.0001v6.225h1.5v-14.5h2.5v14.5h1.5v-14.5h3v-1.5h-8.50391c-2.76142 0-5 2.23858-5 5 0 2.7614 2.23858 5 5 5z"})});var Gx=l(q(),1),RL=l(w(),1),Of=(0,RL.jsx)(Gx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,RL.jsx)(Gx.Path,{d:"m19 7-3-3-8.5 8.5-1 4 4-1L19 7Zm-7 11.5H5V20h7v-1.5Z"})});var Wx=l(q(),1),OL=l(w(),1),AL=(0,OL.jsx)(Wx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,OL.jsx)(Wx.Path,{d:"M10.97 10.159a3.382 3.382 0 0 0-2.857.955l1.724 1.723-2.836 2.913L7 17h1.25l2.913-2.837 1.723 1.723a3.38 3.38 0 0 0 .606-.825c.33-.63.446-1.343.35-2.032L17 10.695 13.305 7l-2.334 3.159Z"})});var $x=l(q(),1),LL=l(w(),1),Ci=(0,LL.jsx)($x.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,LL.jsx)($x.Path,{d:"M11 12.5V17.5H12.5V12.5H17.5V11H12.5V6H11V11H6V12.5H11Z"})});var Kx=l(q(),1),NL=l(w(),1),ML=(0,NL.jsx)(Kx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,NL.jsx)(Kx.Path,{d:"M19 5.5H5V4h14v1.5ZM19 20H5v-1.5h14V20ZM7 9h10v6H7V9Z"})});var Yx=l(q(),1),DL=l(w(),1),VL=(0,DL.jsx)(Yx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,DL.jsx)(Yx.Path,{d:"M5 5.5h8V4H5v1.5ZM5 20h8v-1.5H5V20ZM19 9H5v6h14V9Z"})});var qx=l(q(),1),FL=l(w(),1),zL=(0,FL.jsx)(qx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,FL.jsx)(qx.Path,{d:"M19 5.5h-8V4h8v1.5ZM19 20h-8v-1.5h8V20ZM5 9h14v6H5V9Z"})});var Zx=l(q(),1),jL=l(w(),1),UL=(0,jL.jsx)(Zx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,jL.jsx)(Zx.Path,{d:"M19 3H5c-.6 0-1 .4-1 1v7c0 .5.4 1 1 1h14c.5 0 1-.4 1-1V4c0-.6-.4-1-1-1zM5.5 10.5v-.4l1.8-1.3 1.3.8c.3.2.7.2.9-.1L11 8.1l2.4 2.4H5.5zm13 0h-2.9l-4-4c-.3-.3-.8-.3-1.1 0L8.9 8l-1.2-.8c-.3-.2-.6-.2-.9 0l-1.3 1V4.5h13v6zM4 20h9v-1.5H4V20zm0-4h16v-1.5H4V16z"})});var Xx=l(q(),1),HL=l(w(),1),GL=(0,HL.jsx)(Xx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,HL.jsx)(Xx.Path,{d:"M18 5.5H6a.5.5 0 0 0-.5.5v12a.5.5 0 0 0 .5.5h12a.5.5 0 0 0 .5-.5V6a.5.5 0 0 0-.5-.5ZM6 4h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2Zm1 5h1.5v1.5H7V9Zm1.5 4.5H7V15h1.5v-1.5ZM10 9h7v1.5h-7V9Zm7 4.5h-7V15h7v-1.5Z"})});var Qx=l(q(),1),WL=l(w(),1),$L=(0,WL.jsx)(Qx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,WL.jsx)(Qx.Path,{d:"m7.3 9.7 1.4 1.4c.2-.2.3-.3.4-.5 0 0 0-.1.1-.1.3-.5.4-1.1.3-1.6L12 7 9 4 7.2 6.5c-.6-.1-1.1 0-1.6.3 0 0-.1 0-.1.1-.3.1-.4.2-.6.4l1.4 1.4L4 11v1h1l2.3-2.3zM4 20h9v-1.5H4V20zm0-5.5V16h16v-1.5H4z"})});var Jx=l(q(),1),KL=l(w(),1),Dr=(0,KL.jsx)(Jx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,KL.jsx)(Jx.Path,{d:"M7 11.5h10V13H7z"})});var ew=l(q(),1),YL=l(w(),1),qL=(0,YL.jsx)(ew.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,YL.jsx)(ew.Path,{d:"M15.1 4.8l-3-2.5V4c-4.4 0-8 3.6-8 8 0 3.7 2.5 6.9 6 7.7.3.1.6.1 1 .2l.2-1.5c-.4 0-.7-.1-1.1-.2l-.1.2v-.2c-2.6-.8-4.5-3.3-4.5-6.2 0-3.6 2.9-6.5 6.5-6.5v1.8l3-2.5zM20 11c-.2-1.4-.7-2.7-1.6-3.8l-1.2.8c.7.9 1.1 2 1.3 3.1L20 11zm-1.5 1.8c-.1.5-.2 1.1-.4 1.6s-.5 1-.8 1.5l1.2.9c.4-.5.8-1.1 1-1.8s.5-1.3.5-2l-1.5-.2zm-5.6 5.6l.2 1.5c1.4-.2 2.7-.7 3.8-1.6l-.9-1.1c-.9.7-2 1.1-3.1 1.2z"})});var tw=l(q(),1),ZL=l(w(),1),XL=(0,ZL.jsx)(tw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,ZL.jsx)(tw.Path,{d:"M4 6.5h5a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2H4V16h5a.5.5 0 0 0 .5-.5v-7A.5.5 0 0 0 9 8H4V6.5Zm16 0h-5a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h5V16h-5a.5.5 0 0 1-.5-.5v-7A.5.5 0 0 1 15 8h5V6.5Z"})});var ow=l(q(),1),QL=l(w(),1),JL=(0,QL.jsx)(ow.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,QL.jsx)(ow.Path,{d:"M13 5c-3.3 0-6 2.7-6 6 0 1.4.5 2.7 1.3 3.7l-3.8 3.8 1.1 1.1 3.8-3.8c1 .8 2.3 1.3 3.7 1.3 3.3 0 6-2.7 6-6S16.3 5 13 5zm0 10.5c-2.5 0-4.5-2-4.5-4.5s2-4.5 4.5-4.5 4.5 2 4.5 4.5-2 4.5-4.5 4.5z"})});var rw=l(q(),1),eN=l(w(),1),Af=(0,eN.jsx)(rw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,eN.jsx)(rw.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"})});var dv=l(q(),1),fv=l(w(),1),tN=(0,fv.jsxs)(dv.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,fv.jsx)(dv.Path,{d:"m19 7.5h-7.628c-.3089-.87389-1.1423-1.5-2.122-1.5-.97966 0-1.81309.62611-2.12197 1.5h-2.12803v1.5h2.12803c.30888.87389 1.14231 1.5 2.12197 1.5.9797 0 1.8131-.62611 2.122-1.5h7.628z"}),(0,fv.jsx)(dv.Path,{d:"m19 15h-2.128c-.3089-.8739-1.1423-1.5-2.122-1.5s-1.8131.6261-2.122 1.5h-7.628v1.5h7.628c.3089.8739 1.1423 1.5 2.122 1.5s1.8131-.6261 2.122-1.5h2.128z"})]});var nw=l(q(),1),oN=l(w(),1),rN=(0,oN.jsx)(nw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,oN.jsx)(nw.Path,{d:"M12 8c-2.2 0-4 1.8-4 4s1.8 4 4 4 4-1.8 4-4-1.8-4-4-4zm0 6.5c-1.4 0-2.5-1.1-2.5-2.5s1.1-2.5 2.5-2.5 2.5 1.1 2.5 2.5-1.1 2.5-2.5 2.5zM12.8 3h-1.5v3h1.5V3zm-1.6 18h1.5v-3h-1.5v3zm6.8-9.8v1.5h3v-1.5h-3zm-12 0H3v1.5h3v-1.5zm9.7 5.6 2.1 2.1 1.1-1.1-2.1-2.1-1.1 1.1zM8.3 7.2 6.2 5.1 5.1 6.2l2.1 2.1 1.1-1.1zM5.1 17.8l1.1 1.1 2.1-2.1-1.1-1.1-2.1 2.1zM18.9 6.2l-1.1-1.1-2.1 2.1 1.1 1.1 2.1-2.1z"})});var iw=l(q(),1),nN=l(w(),1),sw=(0,nN.jsx)(iw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,nN.jsx)(iw.Path,{d:"m7.5 6h9v-1.5h-9zm0 13.5h9v-1.5h-9zm-3-3h1.5v-9h-1.5zm13.5-9v9h1.5v-9z"})});var mv=l(q(),1),pv=l(w(),1),iN=(0,pv.jsxs)(mv.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,pv.jsx)(mv.Path,{d:"m7.5 6h9v-1.5h-9zm0 13.5h9v-1.5h-9zm-3-3h1.5v-9h-1.5zm13.5-9v9h1.5v-9z",style:{opacity:.25}}),(0,pv.jsx)(mv.Path,{d:"m16.5 19.5h-9v-1.5h9z"})]});var Up=l(q(),1),Hp=l(w(),1),sN=(0,Hp.jsxs)(Up.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,Hp.jsx)(Up.Path,{d:"m7.5 6h9v-1.5h-9zm0 13.5h9v-1.5h-9zm-3-3h1.5v-9h-1.5zm13.5-9v9h1.5v-9z",style:{opacity:.25}}),(0,Hp.jsx)(Up.Path,{d:"m4.5 7.5v9h1.5v-9z"}),(0,Hp.jsx)(Up.Path,{d:"m18 7.5v9h1.5v-9z"})]});var hv=l(q(),1),gv=l(w(),1),aN=(0,gv.jsxs)(hv.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,gv.jsx)(hv.Path,{d:"m7.5 6h9v-1.5h-9zm0 13.5h9v-1.5h-9zm-3-3h1.5v-9h-1.5zm13.5-9v9h1.5v-9z",style:{opacity:.25}}),(0,gv.jsx)(hv.Path,{d:"m4.5 16.5v-9h1.5v9z"})]});var bv=l(q(),1),kv=l(w(),1),lN=(0,kv.jsxs)(bv.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,kv.jsx)(bv.Path,{d:"m7.5 6h9v-1.5h-9zm0 13.5h9v-1.5h-9zm-3-3h1.5v-9h-1.5zm13.5-9v9h1.5v-9z",style:{opacity:.25}}),(0,kv.jsx)(bv.Path,{d:"m18 16.5v-9h1.5v9z"})]});var vv=l(q(),1),yv=l(w(),1),cN=(0,yv.jsxs)(vv.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,yv.jsx)(vv.Path,{d:"m7.5 6h9v-1.5h-9zm0 13.5h9v-1.5h-9zm-3-3h1.5v-9h-1.5zm13.5-9v9h1.5v-9z",style:{opacity:.25}}),(0,yv.jsx)(vv.Path,{d:"m16.5 6h-9v-1.5h9z"})]});var Gp=l(q(),1),Wp=l(w(),1),uN=(0,Wp.jsxs)(Gp.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,Wp.jsx)(Gp.Path,{d:"m7.5 6h9v-1.5h-9zm0 13.5h9v-1.5h-9zm-3-3h1.5v-9h-1.5zm13.5-9v9h1.5v-9z",style:{opacity:.25}}),(0,Wp.jsx)(Gp.Path,{d:"m7.5 6h9v-1.5h-9z"}),(0,Wp.jsx)(Gp.Path,{d:"m7.5 19.5h9v-1.5h-9z"})]});var aw=l(q(),1),dN=l(w(),1),fN=(0,dN.jsx)(aw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,dN.jsx)(aw.Path,{d:"M17.5 4v5a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2V4H8v5a.5.5 0 0 0 .5.5h7A.5.5 0 0 0 16 9V4h1.5Zm0 16v-5a2 2 0 0 0-2-2h-7a2 2 0 0 0-2 2v5H8v-5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 .5.5v5h1.5Z"})});var lw=l(q(),1),mN=l(w(),1),Sv=(0,mN.jsx)(lw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,mN.jsx)(lw.Path,{d:"M5 4h14v11H5V4Zm11 16H8v-1.5h8V20Z"})});var cw=l(q(),1),pN=l(w(),1),Lf=(0,pN.jsx)(cw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,pN.jsx)(cw.Path,{d:"M16 5.5H8V4h8v1.5ZM16 20H8v-1.5h8V20ZM5 9h14v6H5V9Z"})});var uw=l(q(),1),hN=l(w(),1),gN=(0,hN.jsx)(uw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,hN.jsx)(uw.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M20 12a8 8 0 1 1-16 0 8 8 0 0 1 16 0Zm-1.5 0a6.5 6.5 0 0 1-6.5 6.5v-13a6.5 6.5 0 0 1 6.5 6.5Z"})});var dw=l(q(),1),bN=l(w(),1),Bi=(0,bN.jsx)(dw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,bN.jsx)(dw.Path,{d:"M21.3 10.8l-5.6-5.6c-.7-.7-1.8-.7-2.5 0l-5.6 5.6c-.7.7-.7 1.8 0 2.5l5.6 5.6c.3.3.8.5 1.2.5s.9-.2 1.2-.5l5.6-5.6c.8-.7.8-1.9.1-2.5zm-1 1.4l-5.6 5.6c-.1.1-.3.1-.4 0l-5.6-5.6c-.1-.1-.1-.3 0-.4l5.6-5.6s.1-.1.2-.1.1 0 .2.1l5.6 5.6c.1.1.1.3 0 .4zm-16.6-.4L10 5.5l-1-1-6.3 6.3c-.7.7-.7 1.8 0 2.5L9 19.5l1.1-1.1-6.3-6.3c-.2 0-.2-.2-.1-.3z"})});var fw=l(q(),1),kN=l(w(),1),vN=(0,kN.jsx)(fw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,kN.jsx)(fw.Path,{d:"M17 4H7c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 14c0 .3-.2.5-.5.5H7c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h10c.3 0 .5.2.5.5v12zm-7.5-.5h4V16h-4v1.5z"})});var mw=l(q(),1),yN=l(w(),1),SN=(0,yN.jsx)(mw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,yN.jsx)(mw.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"})});var pw=l(q(),1),_N=l(w(),1),xN=(0,_N.jsx)(pw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,_N.jsx)(pw.Path,{d:"M8.2 14.4h3.9L13 17h1.7L11 6.5H9.3L5.6 17h1.7l.9-2.6zm2-5.5 1.4 4H8.8l1.4-4zm7.4 7.5-1.3.8.8 1.4H5.5V20h14.3l-2.2-3.6z"})});var hw=l(q(),1),wN=l(w(),1),CN=(0,wN.jsx)(hw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,wN.jsx)(hw.Path,{d:"M7 5.6v1.7l2.6.9v3.9L7 13v1.7L17.5 11V9.3L7 5.6zm4.2 6V8.8l4 1.4-4 1.4zm-5.7 5.6V5.5H4v14.3l3.6-2.2-.8-1.3-1.3.9z"})});var gw=l(q(),1),BN=l(w(),1),EN=(0,BN.jsx)(gw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,BN.jsx)(gw.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"})});var bw=l(q(),1),TN=l(w(),1),IN=(0,TN.jsx)(bw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,TN.jsx)(bw.Path,{d:"M18 4h-7c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 9c0 .3-.2.5-.5.5h-7c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h7c.3 0 .5.2.5.5v7zm-5 5c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5v-7c0-.3.2-.5.5-.5h1V9H6c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2v-1h-1.5v1z"})});var kw=l(q(),1),PN=l(w(),1),vl=(0,PN.jsx)(kw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,PN.jsx)(kw.Path,{d:"M17 10h-1.2V7c0-2.1-1.7-3.8-3.8-3.8-2.1 0-3.8 1.7-3.8 3.8h1.5c0-1.2 1-2.2 2.2-2.2s2.2 1 2.2 2.2v3H7c-.6 0-1 .4-1 1v8c0 .6.4 1 1 1h10c.6 0 1-.4 1-1v-8c0-.6-.4-1-1-1z"})});var vw=l(q(),1),RN=l(w(),1),vs=(0,RN.jsx)(vw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,RN.jsx)(vw.Path,{d:"M20.7 12.7s0-.1-.1-.2c0-.2-.2-.4-.4-.6-.3-.5-.9-1.2-1.6-1.8-.7-.6-1.5-1.3-2.6-1.8l-.6 1.4c.9.4 1.6 1 2.1 1.5.6.6 1.1 1.2 1.4 1.6.1.2.3.4.3.5v.1l.7-.3.7-.3Zm-5.2-9.3-1.8 4c-.5-.1-1.1-.2-1.7-.2-3 0-5.2 1.4-6.6 2.7-.7.7-1.2 1.3-1.6 1.8-.2.3-.3.5-.4.6 0 0 0 .1-.1.2s0 0 .7.3l.7.3V13c0-.1.2-.3.3-.5.3-.4.7-1 1.4-1.6 1.2-1.2 3-2.3 5.5-2.3H13v.3c-.4 0-.8-.1-1.1-.1-1.9 0-3.5 1.6-3.5 3.5s.6 2.3 1.6 2.9l-2 4.4.9.4 7.6-16.2-.9-.4Zm-3 12.6c1.7-.2 3-1.7 3-3.5s-.2-1.4-.6-1.9L12.4 16Z"})});var yw=l(q(),1),ON=l(w(),1),AN=(0,ON.jsx)(yw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,ON.jsx)(yw.Path,{d:"M18.5 15v3.5H13V6.7l4.5 4.1 1-1.1-6.2-5.8-5.8 5.8 1 1.1 4-4v11.7h-6V15H4v5h16v-5z"})});var Sw=l(q(),1),LN=l(w(),1),NN=(0,LN.jsx)(Sw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,LN.jsx)(Sw.Path,{d:"M17.8 2l-.9.3c-.1 0-3.6 1-5.2 2.1C10 5.5 9.3 6.5 8.9 7.1c-.6.9-1.7 4.7-1.7 6.3l-.9 2.3c-.2.4 0 .8.4 1 .1 0 .2.1.3.1.3 0 .6-.2.7-.5l.6-1.5c.3 0 .7-.1 1.2-.2.7-.1 1.4-.3 2.2-.5.8-.2 1.6-.5 2.4-.8.7-.3 1.4-.7 1.9-1.2s.8-1.2 1-1.9c.2-.7.3-1.6.4-2.4.1-.8.1-1.7.2-2.5 0-.8.1-1.5.2-2.1V2zm-1.9 5.6c-.1.8-.2 1.5-.3 2.1-.2.6-.4 1-.6 1.3-.3.3-.8.6-1.4.9-.7.3-1.4.5-2.2.8-.6.2-1.3.3-1.8.4L15 7.5c.3-.3.6-.7 1-1.1 0 .4 0 .8-.1 1.2zM6 20h8v-1.5H6V20z"})});var _w=l(q(),1),MN=l(w(),1),DN=(0,MN.jsx)(_w.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,MN.jsx)(_w.Path,{d:"M18.7 3H5.3C4 3 3 4 3 5.3v13.4C3 20 4 21 5.3 21h13.4c1.3 0 2.3-1 2.3-2.3V5.3C21 4 20 3 18.7 3zm.8 15.7c0 .4-.4.8-.8.8H5.3c-.4 0-.8-.4-.8-.8V5.3c0-.4.4-.8.8-.8h13.4c.4 0 .8.4.8.8v13.4zM10 15l5-3-5-3v6z"})});var _l=l(dr(),1),jn=l(Re(),1),Ee=l(F(),1);var mj=l($(),1),pj=l(ej(),1);var Kt="core/block-editor";var Cw={};Ip(Cw,{getAllPatterns:()=>_he,getBlockRemovalRules:()=>ghe,getBlockSettings:()=>oj,getBlockStyles:()=>The,getBlockWithoutAttributes:()=>dhe,getClosestAllowedInsertionPoint:()=>sj,getClosestAllowedInsertionPointForPattern:()=>Phe,getContentLockingParent:()=>VN,getEditedContentOnlySection:()=>FN,getEnabledBlockParents:()=>phe,getEnabledClientIdsTree:()=>mhe,getExpandedBlock:()=>Ehe,getInserterMediaCategories:()=>vhe,getInsertionPoint:()=>Rhe,getLastFocus:()=>Che,getLastInsertedBlocksClientIds:()=>uhe,getListViewExpandRevision:()=>Fhe,getParentSectionBlock:()=>au,getPatternBySlug:()=>She,getRegisteredInserterMediaCategories:()=>khe,getRemovalPromptData:()=>hhe,getRequestedInspectorTab:()=>jhe,getReusableBlocks:()=>whe,getSectionRootClientId:()=>Mf,getStyleOverrides:()=>bhe,getViewportModalClientIds:()=>zhe,getZoomLevel:()=>Ihe,hasAllowedPatterns:()=>yhe,hasBlockSpotlight:()=>Nhe,isBlockHiddenAnywhere:()=>Ohe,isBlockHiddenAtViewport:()=>aj,isBlockHiddenEverywhere:()=>UN,isBlockInterfaceHidden:()=>che,isBlockParentHiddenAtViewport:()=>Lhe,isBlockParentHiddenEverywhere:()=>Ahe,isBlockSubtreeDisabled:()=>fhe,isContainerInsertableToInContentOnlyMode:()=>xv,isDragging:()=>Bhe,isEditLockedBlock:()=>lj,isListViewContentPanelOpen:()=>Dhe,isListViewPanelOpened:()=>Vhe,isLockedBlock:()=>Mhe,isMoveLockedBlock:()=>cj,isRemoveLockedBlock:()=>uj,isSectionBlock:()=>lu,isWithinEditedContentOnlySection:()=>zN,isZoomOut:()=>jN});var Vr=l(F(),1),_v=l($(),1);var xw=l(N(),1);var Et={desktop:{label:(0,xw.__)("Desktop"),icon:dA,key:"desktop"},tablet:{label:(0,xw.__)("Tablet"),icon:vN,key:"tablet"},mobile:{label:(0,xw.__)("Mobile"),icon:lv,key:"mobile"}},iu=Object.entries(Et);var ww=l($(),1),tj=l(ct(),1);function pe(e,t,o){t=Array.isArray(t)?[...t]:[t],e=Array.isArray(e)?[...e]:{...e};let r=t.pop(),n=e;for(let i of t){let s=n[i];n=n[i]=Array.isArray(s)?[...s]:{...s}}return n[r]=o,e}var yl=(e,t,o)=>{let r=Array.isArray(t)?t:t.split("."),n=e;return r.forEach(i=>{n=n?.[i]}),n??o};var ihe=["color","border","dimensions","typography","spacing"],she={"color.palette":e=>e.colors,"color.gradients":e=>e.gradients,"color.custom":e=>e.disableCustomColors===void 0?void 0:!e.disableCustomColors,"color.customGradient":e=>e.disableCustomGradients===void 0?void 0:!e.disableCustomGradients,"typography.fontSizes":e=>e.fontSizes,"typography.customFontSize":e=>e.disableCustomFontSizes===void 0?void 0:!e.disableCustomFontSizes,"typography.lineHeight":e=>e.enableCustomLineHeight,"spacing.units":e=>{if(e.enableCustomUnits!==void 0)return e.enableCustomUnits===!0?["px","em","rem","vh","vw","%"]:e.enableCustomUnits},"spacing.padding":e=>e.enableCustomSpacing},ahe={"border.customColor":"border.color","border.customStyle":"border.style","border.customWidth":"border.width","typography.customFontStyle":"typography.fontStyle","typography.customFontWeight":"typography.fontWeight","typography.customLetterSpacing":"typography.letterSpacing","typography.customTextDecorations":"typography.textDecoration","typography.customTextTransforms":"typography.textTransform","border.customRadius":"border.radius","spacing.customMargin":"spacing.margin","spacing.customPadding":"spacing.padding","typography.customLineHeight":"typography.lineHeight"},lhe=e=>ahe[e]||e;function oj(e,t,...o){let r=ut(e,t),n=[];if(t){let i=t;do{let s=ut(e,i);(0,ww.hasBlockSupport)(s,"__experimentalSettings",!1)&&n.push(i)}while(i=e.blocks.parents.get(i))}return o.map(i=>{if(ihe.includes(i)){console.warn("Top level useSetting paths are disabled. Please use a subpath to query the information needed.");return}let s=(0,tj.applyFilters)("blockEditor.useSetting.before",void 0,i,t,r);if(s!==void 0)return s;let a=lhe(i);for(let d of n){let f=Ei(e,d);if(s=yl(f.settings?.blocks?.[r],a)??yl(f.settings,a),s!==void 0)break}let c=su(e);if(s===void 0&&r&&(s=yl(c.__experimentalFeatures?.blocks?.[r],a)),s===void 0&&(s=yl(c.__experimentalFeatures,a)),s!==void 0)return ww.__EXPERIMENTAL_PATHS_WITH_OVERRIDE[a]?s.custom??s.theme??s.default:s;let u=she[a]?.(c);return u!==void 0?u:a==="typography.dropCap"?!0:void 0})}var{isContentBlock:rj}=M(_v.privateApis);function che(e){return e.isBlockInterfaceHidden}function uhe(e){return e?.lastBlockInserted?.clientIds}function dhe(e,t){return e.blocks.byClientId.get(t)}var fhe=(e,t)=>{let o=r=>Ti(e,r)==="disabled"&&wr(e,r).every(o);return wr(e,t).every(o)};function xv(e,t,o){let r=rj(t),n=ut(e,o),i=rj(n);return Mf(e)===o||i&&r}function nj(e,t){let o=wr(e,t),r=[];for(let n of o){let i=nj(e,n);Ti(e,n)!=="disabled"?r.push({clientId:n,innerBlocks:i}):r.push(...i)}return r}var mhe=(0,Vr.createRegistrySelector)(()=>(0,Vr.createSelector)(nj,e=>[e.blocks.order,e.derivedBlockEditingModes,e.blockEditingModes])),phe=(0,Vr.createSelector)((e,t,o=!1)=>ys(e,t,o).filter(r=>Ti(e,r)!=="disabled"),e=>[e.blocks.parents,e.blockEditingModes,e.settings.templateLock,e.blockListSettings]);function hhe(e){return e.removalPromptData}function ghe(e){return e.blockRemovalRules}var bhe=(0,Vr.createSelector)(e=>{let o=$p(e).reduce((r,n,i)=>(r[n]=i,r),{});return[...e.styleOverrides].sort((r,n)=>{let[,{clientId:i}]=r,[,{clientId:s}]=n,a=o[i]??-1,c=o[s]??-1;return a-c})},e=>[e.blocks.order,e.styleOverrides]);function khe(e){return e.registeredInserterMediaCategories}var vhe=(0,Vr.createSelector)(e=>{let{settings:{inserterMediaCategories:t,allowedMimeTypes:o,enableOpenverseMediaCategory:r},registeredInserterMediaCategories:n}=e;if(!t&&!n.length||!o)return;let i=t?.map(({name:a})=>a)||[];return[...t||[],...(n||[]).filter(({name:a})=>!i.includes(a))].filter(a=>!r&&a.name==="openverse"?!1:Object.values(o).some(c=>c.startsWith(`${a.mediaType}/`)))},e=>[e.settings.inserterMediaCategories,e.settings.allowedMimeTypes,e.settings.enableOpenverseMediaCategory,e.registeredInserterMediaCategories]),yhe=(0,Vr.createRegistrySelector)(e=>(0,Vr.createSelector)((t,o=null)=>{let{getAllPatterns:r}=M(e(Kt)),n=r(),{allowedBlockTypes:i}=su(t);return n.some(s=>{let{inserter:a=!0}=s;if(!a)return!1;let c=Nf(s);return Cv(c,i)&&c.every(({name:u})=>Df(t,u,o))})},(t,o)=>[...Bv(e)(t),...cu(e)(t,o)])),She=(0,Vr.createRegistrySelector)(e=>(0,Vr.createSelector)((t,o)=>{if(o?.startsWith("core/block/")){let r=parseInt(o.slice(11),10),n=M(e(Kt)).getReusableBlocks().find(({id:i})=>i===r);return n?wv(n,t.settings.__experimentalUserPatternCategories):null}return[...t.settings.__experimentalBlockPatterns??[],...t.settings[qc]?.(e)??[]].find(({name:r})=>r===o)},(t,o)=>o?.startsWith("core/block/")?[M(e(Kt)).getReusableBlocks(),t.settings.__experimentalReusableBlocks]:[t.settings.__experimentalBlockPatterns,t.settings[qc]?.(e)])),_he=(0,Vr.createRegistrySelector)(e=>(0,Vr.createSelector)(t=>[...M(e(Kt)).getReusableBlocks().map(o=>wv(o,t.settings.__experimentalUserPatternCategories)),...t.settings.__experimentalBlockPatterns??[],...t.settings[qc]?.(e)??[]].filter((o,r,n)=>r===n.findIndex(i=>o.name===i.name)),Bv(e))),xhe=[],whe=(0,Vr.createRegistrySelector)(e=>t=>{let o=t.settings[k0];return(o?o(e):t.settings.__experimentalReusableBlocks)??xhe});function Che(e){return e.lastFocus}function Bhe(e){return e.isDragging}function Ehe(e){return e.expandedBlock}var VN=(e,t)=>{let o=t,r;for(;!r&&(o=e.blocks.parents.get(o));)fa(e,o)==="contentOnly"&&(r=o);return r};function ij(e,t){let o=ut(e,t);if(o==="core/block")return!0;let r=Ei(e,t),n=o==="core/template-part",i=e.settings?.[Xc],s=e.settings?.disableContentOnlyForUnsyncedPatterns,a=e.settings?.disableContentOnlyForTemplateParts;if((!s&&r?.metadata?.patternName||n&&!a)&&!i)return!0;let c=fa(e,t)==="contentOnly",u=Po(e,t),d=fa(e,u)==="contentOnly";return!!(c&&!d)}var au=(e,t)=>{if(zN(e,t))return;let o=t,r;for(;o=e.blocks.parents.get(o);)ij(e,o)&&(r=o);return r};function lu(e,t){return zN(e,t)||au(e,t)?!1:ij(e,t)}function FN(e){return e.editedContentOnlySection}function zN(e,t){if(!e.editedContentOnlySection)return!1;if(e.editedContentOnlySection===t)return!0;let o=t;for(;o=e.blocks.parents.get(o);)if(e.editedContentOnlySection===o)return!0;return!1}var The=(0,Vr.createSelector)((e,t)=>t.reduce((o,r)=>(o[r]=e.blocks.attributes.get(r)?.style,o),{}),(e,t)=>[...t.map(o=>e.blocks.attributes.get(o)?.style)]);function Mf(e){return e.settings?.[Zc]}function jN(e){return e.zoomLevel==="auto-scaled"||e.zoomLevel<100}function Ihe(e){return e.zoomLevel}function sj(e,t,o=""){let r=Array.isArray(t)?t:[t],n=s=>r.every(a=>Df(e,a,s));if(!o){if(n(o))return o;let s=Mf(e);return s&&n(s)?s:null}let i=o;for(;i!==null&&!n(i);)i=Po(e,i);return i}function Phe(e,t,o){let{allowedBlockTypes:r}=su(e);if(!Cv(Nf(t),r))return null;let i=Nf(t).map(({blockName:s})=>s);return sj(e,i,o)}function Rhe(e){return e.insertionPoint}var Ohe=(e,t)=>{let o=ut(e,t);if(!(0,_v.hasBlockSupport)(o,"visibility",!0))return!1;let n=e.blocks.attributes.get(t)?.metadata?.blockVisibility;return n===!1?!0:typeof n?.viewport=="object"&&n?.viewport!==null?Object.values(Et).some(i=>n?.viewport?.[i.key]===!1):!1},UN=(e,t)=>{let o=ut(e,t);return(0,_v.hasBlockSupport)(o,"visibility",!0)?e.blocks.attributes.get(t)?.metadata?.blockVisibility===!1:!1},Ahe=(e,t)=>ys(e,t).some(r=>UN(e,r)),aj=(e,t,o)=>{if(UN(e,t))return!0;let n=e.blocks.attributes.get(t)?.metadata?.blockVisibility?.viewport;return typeof n=="object"&&n!==null&&typeof o=="string"?n?.[o.toLowerCase()]===!1:!1},Lhe=(e,t,o)=>ys(e,t).some(n=>aj(e,n,o));function Nhe(e){return!!e.hasBlockSpotlight||!!e.editedContentOnlySection}function lj(e,t){return!!Ei(e,t)?.lock?.edit}function cj(e,t){let o=Ei(e,t);if(o?.lock?.move!==void 0)return!!o?.lock?.move;let r=Po(e,t);return fa(e,r)==="all"}function uj(e,t){let o=Ei(e,t);if(o?.lock?.remove!==void 0)return!!o?.lock?.remove;let r=Po(e,t),n=fa(e,r);return n==="all"||n==="insert"}function Mhe(e,t){return lj(e,t)||cj(e,t)||uj(e,t)}function Dhe(e){return e.listViewContentPanelOpen}function Vhe(e,t){return e.openedListViewPanels?.allOpen?!0:e.openedListViewPanels?.panels?.[t]===!0}function Fhe(e){return e.listViewExpandRevision||0}function zhe(e){return e.viewportModalClientIds}function jhe(e){return e.requestedInspectorTab}var Tv=l(N(),1),Nt={user:"user",theme:"theme",directory:"directory"},Ev={full:"fully",unsynced:"unsynced"},Vf={name:"allPatterns",label:(0,Tv._x)("All","patterns")},Sl={name:"myPatterns",label:(0,Tv.__)("My patterns")},Kp={name:"core/starter-content",label:(0,Tv.__)("Starter content")};function Bw(e,t,o){let r=e.name.startsWith("core/block"),n=e.source==="core"||e.source?.startsWith("pattern-directory");return!!(t===Nt.theme&&(r||n)||t===Nt.directory&&(r||!n)||t===Nt.user&&e.type!==Nt.user||o===Ev.full&&e.syncStatus!==""||o===Ev.unsynced&&e.syncStatus!=="unsynced"&&r)}var uu=Symbol("isFiltered"),dj=new WeakMap,fj=new WeakMap;function wv(e,t=[]){return{name:`core/block/${e.id}`,id:e.id,type:Nt.user,title:e.title?.raw,categories:e.wp_pattern_category?.map(o=>{let r=t.find(({id:n})=>n===o);return r?r.slug:o}),content:e.content?.raw,syncStatus:e.wp_pattern_sync_status}}function Uhe(e){let t=(0,mj.parse)(e.content,{__unstableSkipMigrationLogs:!0});return t.length===1&&(t[0].attributes={...t[0].attributes,metadata:{...t[0].attributes.metadata||{},categories:e.categories,patternName:e.name,name:t[0].attributes.metadata?.name||e.title}}),{...e,blocks:t}}function Ew(e){let t=dj.get(e);return t||(t=Uhe(e),dj.set(e,t)),t}function Nf(e){let t=fj.get(e);return t||(t=(0,pj.parse)(e.content),t=t.filter(o=>o.blockName!==null),fj.set(e,t)),t}var Ff=(e,t,o=null)=>typeof e=="boolean"?e:Array.isArray(e)?e.includes("core/post-content")&&t===null?!0:e.includes(t):o,Cv=(e,t)=>{if(typeof t=="boolean")return t;let o=[...e];for(;o.length>0;){let r=o.shift();if(!Ff(t,r.name||r.blockName,!0))return!1;r.innerBlocks?.forEach(i=>{o.push(i)})}return!0},Bv=e=>t=>[t.settings.__experimentalBlockPatterns,t.settings.__experimentalUserPatternCategories,t.settings.__experimentalReusableBlocks,t.settings[qc]?.(e),t.blockPatterns,M(e(Kt)).getReusableBlocks()],cu=()=>(e,t)=>[e.blockListSettings[t],e.blocks.byClientId.get(t),e.blocks.order.get(t||""),e.settings.allowedBlockTypes,e.settings.templateLock,Ti(e,t),Mf(e),lu(e,t),au(e,t)];var Hhe=(e,t,o)=>(r,n)=>{let i,s;if(typeof e=="function"?(i=e(r),s=e(n)):(i=r[e],s=n[e]),i>s)return o==="asc"?1:-1;if(s>i)return o==="asc"?-1:1;let a=t.findIndex(u=>u===r),c=t.findIndex(u=>u===n);return a>c?1:c>a?-1:0};function ma(e,t,o="asc"){return e.concat().sort(Hhe(t,e,o))}var{isContentBlock:GN}=M(Oe.privateApis),Ghe=3600*1e3,Whe=24*3600*1e3,$he=168*3600*1e3,fr=[],Khe=new Set,kj={[uu]:!0};function ut(e,t){let o=e.blocks.byClientId.get(t),r="core/social-link";if(gj.Platform.OS!=="web"&&o?.name===r){let n=e.blocks.attributes.get(t),{service:i}=n??{};return i?`${r}-${i}`:r}return o?o.name:null}function Yhe(e,t){let o=e.blocks.byClientId.get(t);return!!o&&o.isValid}function Ei(e,t){return e.blocks.byClientId.get(t)?e.blocks.attributes.get(t):null}function xl(e,t){return e.blocks.byClientId.has(t)?e.blocks.tree.get(t):null}var qhe=(0,Ee.createSelector)((e,t)=>{let o=e.blocks.byClientId.get(t);return o?{...o,attributes:Ei(e,t)}:null},(e,t)=>[e.blocks.byClientId.get(t),e.blocks.attributes.get(t)]);function Zhe(e,t){let o=!t||!Iw(e,t)?t||"":"controlled||"+t;return e.blocks.tree.get(o)?.innerBlocks||fr}var vj=(0,Ee.createSelector)((e,t)=>((0,jn.default)("wp.data.select( 'core/block-editor' ).__unstableGetClientIdWithClientIdsTree",{since:"6.3",version:"6.5"}),{clientId:t,innerBlocks:yj(e,t)}),e=>[e.blocks.order]),yj=(0,Ee.createSelector)((e,t="")=>((0,jn.default)("wp.data.select( 'core/block-editor' ).__unstableGetClientIdsTree",{since:"6.3",version:"6.5"}),wr(e,t).map(o=>vj(e,o))),e=>[e.blocks.order]),Sj=(0,Ee.createSelector)((e,t)=>{t=Array.isArray(t)?[...t]:[t];let o=[];for(let n of t){let i=e.blocks.order.get(n);i&&o.push(...i)}let r=0;for(;r[e.blocks.order]),$p=e=>Sj(e,""),Xhe=(0,Ee.createSelector)((e,t)=>{let o=$p(e);if(!t)return o.length;let r=0;for(let n of o)e.blocks.byClientId.get(n).name===t&&r++;return r},e=>[e.blocks.order,e.blocks.byClientId]),_j=(0,Ee.createSelector)((e,t)=>{if(!t)return fr;let o=Array.isArray(t)?t:[t],n=$p(e).filter(i=>{let s=e.blocks.byClientId.get(i);return o.includes(s.name)});return n.length>0?n:fr},e=>[e.blocks.order,e.blocks.byClientId]);function Qhe(e,t){return(0,jn.default)("wp.data.select( 'core/block-editor' ).__experimentalGetGlobalBlocksByName",{since:"6.5",alternative:"wp.data.select( 'core/block-editor' ).getBlocksByName"}),_j(e,t)}var Tw=(0,Ee.createSelector)((e,t)=>(Array.isArray(t)?t:[t]).map(o=>xl(e,o)),(e,t)=>(Array.isArray(t)?t:[t]).map(o=>e.blocks.tree.get(o))),Jhe=(0,Ee.createSelector)((e,t)=>Tw(e,t).filter(Boolean).map(o=>o.name),(e,t)=>Tw(e,t));function ege(e,t){return wr(e,t).length}function Pv(e){return e.selection.selectionStart}function Rv(e){return e.selection.selectionEnd}function tge(e){return e.selection.selectionStart.clientId}function oge(e){return e.selection.selectionEnd.clientId}function rge(e){let t=du(e).length;return t||(e.selection.selectionStart.clientId?1:0)}function nge(e){let{selectionStart:t,selectionEnd:o}=e.selection;return!!t.clientId&&t.clientId===o.clientId}function Yp(e){let{selectionStart:t,selectionEnd:o}=e.selection,{clientId:r}=t;return!r||r!==o.clientId?null:r}function ige(e){let t=Yp(e);return t?xl(e,t):null}function Po(e,t){return e.blocks.parents.get(t)??null}var ys=(0,Ee.createSelector)((e,t,o=!1)=>{let r=[],n=t;for(;n=e.blocks.parents.get(n);)r.push(n);return r.length?o?r:r.reverse():fr},e=>[e.blocks.parents]),WN=(0,Ee.createSelector)((e,t,o,r=!1)=>{let n=ys(e,t,r),i=Array.isArray(o)?s=>o.includes(s):s=>o===s;return n.filter(s=>i(ut(e,s)))},e=>[e.blocks.parents]);function sge(e,t){let o=t,r;do r=o,o=e.blocks.parents.get(o);while(o);return r}function age(e,t){let o=Yp(e),r=[...ys(e,t),t],n=[...ys(e,o),o],i,s=Math.min(r.length,n.length);for(let a=0;a{let{selectionStart:t,selectionEnd:o}=e.selection;if(!t.clientId||!o.clientId)return fr;if(t.clientId===o.clientId)return[t.clientId];let r=Po(e,t.clientId);if(r===null)return fr;let n=wr(e,r),i=n.indexOf(t.clientId),s=n.indexOf(o.clientId);return i>s?n.slice(s,i+1):n.slice(i,s+1)},e=>[e.blocks.order,e.selection.selectionStart.clientId,e.selection.selectionEnd.clientId]);function du(e){let{selectionStart:t,selectionEnd:o}=e.selection;return t.clientId===o.clientId?fr:qp(e)}var dge=(0,Ee.createSelector)(e=>{let t=du(e);return t.length?t.map(o=>xl(e,o)):fr},e=>[...qp.getDependants(e),e.blocks.byClientId,e.blocks.order,e.blocks.attributes]);function KN(e){return du(e)[0]||null}function xj(e){let t=du(e);return t[t.length-1]||null}function fge(e,t){return KN(e)===t}function wj(e,t){return du(e).indexOf(t)!==-1}var mge=(0,Ee.createSelector)((e,t)=>{let o=t,r=!1;for(;o&&!r;)o=Po(e,o),r=wj(e,o);return r},e=>[e.blocks.order,e.selection.selectionStart.clientId,e.selection.selectionEnd.clientId]);function pge(e){let{selectionStart:t,selectionEnd:o}=e.selection;return t.clientId===o.clientId?null:t.clientId||null}function hge(e){let{selectionStart:t,selectionEnd:o}=e.selection;return t.clientId===o.clientId?null:o.clientId||null}function gge(e){let t=Pv(e),o=Rv(e);return!t.attributeKey&&!o.attributeKey&&typeof t.offset>"u"&&typeof o.offset>"u"}function bge(e){let t=Pv(e),o=Rv(e);return!!t&&!!o&&t.clientId===o.clientId&&t.attributeKey===o.attributeKey&&t.offset===o.offset}function kge(e){return qp(e).some(t=>{let o=ut(e,t);return!(0,Oe.getBlockType)(o).merge})}function vge(e,t){let o=Pv(e),r=Rv(e);if(o.clientId===r.clientId||!o.attributeKey||!r.attributeKey||typeof o.offset>"u"||typeof r.offset>"u")return!1;let n=Po(e,o.clientId),i=Po(e,r.clientId);if(n!==i)return!1;let s=wr(e,n),a=s.indexOf(o.clientId),c=s.indexOf(r.clientId),u,d;a>c?(u=r,d=o):(u=o,d=r);let f=t?d.clientId:u.clientId,m=t?u.clientId:d.clientId,h=ut(e,f);if(!(0,Oe.getBlockType)(h).merge)return!1;let g=xl(e,m);if(g.name===h)return!0;let b=(0,Oe.switchToBlockType)(g,h);return b&&b.length}var yge=e=>{let t=Pv(e),o=Rv(e);if(t.clientId===o.clientId||!t.attributeKey||!o.attributeKey||typeof t.offset>"u"||typeof o.offset>"u")return fr;let r=Po(e,t.clientId),n=Po(e,o.clientId);if(r!==n)return fr;let i=wr(e,r),s=i.indexOf(t.clientId),a=i.indexOf(o.clientId),[c,u]=s>a?[o,t]:[t,o],d=xl(e,c.clientId),f=xl(e,u.clientId),m=d.attributes[c.attributeKey],h=f.attributes[u.attributeKey],p=(0,_l.create)({html:m}),g=(0,_l.create)({html:h});return p=(0,_l.remove)(p,0,c.offset),g=(0,_l.remove)(g,u.offset,g.text.length),[{...d,attributes:{...d.attributes,[c.attributeKey]:(0,_l.toHTMLString)({value:p})}},{...f,attributes:{...f.attributes,[u.attributeKey]:(0,_l.toHTMLString)({value:g})}}]};function wr(e,t){return e.blocks.order.get(t||"")||fr}function Cj(e,t){let o=Po(e,t);return wr(e,o).indexOf(t)}function Bj(e,t){let{selectionStart:o,selectionEnd:r}=e.selection;return o.clientId!==r.clientId?!1:o.clientId===t}function Ej(e,t,o=!1){let r=qp(e);return r.length?o?r.some(n=>ys(e,n,!0).includes(t)):r.some(n=>Po(e,n)===t):!1}function Tj(e,t,o=!1){return wr(e,t).some(r=>YN(e,r)||o&&Tj(e,r,o))}function Sge(e,t){if(!t)return!1;let o=du(e),r=o.indexOf(t);return r>-1&&rYN(e,r)):!1}function Ige(){return(0,jn.default)('wp.data.select( "core/block-editor" ).isCaretWithinFormattedText',{since:"6.1",version:"6.3"}),!1}var Pge=(0,Ee.createSelector)(e=>{let t,o,{insertionCue:r,selection:{selectionEnd:n}}=e;if(r!==null)return r;let{clientId:i}=n;return i?(t=Po(e,i)||void 0,o=Cj(e,n.clientId)+1):o=wr(e).length,{rootClientId:t,index:o}},e=>[e.insertionCue,e.selection.selectionEnd.clientId,e.blocks.parents,e.blocks.order]);function Rge(e){return e.insertionCue!==null}function Oge(e){return e.template.isValid}function Age(e){return e.settings.template}function fa(e,t){if(!t)return e.settings.templateLock??!1;let o=eM(e,t)?.templateLock;return o==="contentOnly"&&e.editedContentOnlySection===t?!1:o??!1}var qN=(e,t,o=null)=>{let r,n;if(t&&typeof t=="object"?(r=t,n=t.name):(r=(0,Oe.getBlockType)(t),n=t),!r)return!1;let{allowedBlockTypes:i}=su(e);if(!Ff(i,n,!0))return!1;let a=(Array.isArray(r.parent)?r.parent:[]).concat(Array.isArray(r.ancestor)?r.ancestor:[]);if(a.length>0){if(a.includes("core/post-content"))return!0;let c=o,u=!1;do{if(a.includes(ut(e,c))){u=!0;break}c=e.blocks.parents.get(c)}while(c);return u}return!0},Ov=(e,t,o=null)=>{if(e.settings.isPreviewMode||!qN(e,t,o))return!1;let r;t&&typeof t=="object"?(r=t,t=r.name):r=(0,Oe.getBlockType)(t);let n=fa(e,o);if(n&&n!=="contentOnly")return!1;let i=Ti(e,o??""),s=!!lu(e,o),a=s?o:au(e,o),c=!!a;if(i==="disabled"&&(!c||t!==(0,Oe.getDefaultBlockName)()))return!1;let u=eM(e,o);if(o&&u===void 0)return!1;let d=GN(t);if(c&&!d||c&&ut(e,a)==="core/block")return!1;if(c&&(s||i==="contentOnly")&&!xv(e,t,o)){let S=(0,Oe.getDefaultBlockName)();if(t===S){if(!wr(e,o).some(B=>ut(e,B)===S))return!1}else return!1}let f=ut(e,o),h=(0,Oe.getBlockType)(f)?.allowedBlocks,p=Ff(h,t);if(p!==!1){let S=u?.allowedBlocks,x=Ff(S,t);x!==null&&(p=x)}let g=r.parent,b=Ff(g,f),v=!0,k=r.ancestor;k&&(v=[o,...ys(e,o)].some(x=>Ff(k,ut(e,x))));let y=v&&(p===null&&b===null||p===!0||b===!0);return y&&(0,bj.applyFilters)("blockEditor.__unstableCanInsertBlockType",y,r,o,{getBlock:xl.bind(null,e),getBlockParentsByBlockName:WN.bind(null,e)})},Df=(0,Ee.createRegistrySelector)(e=>(0,Ee.createSelector)(Ov,(t,o,r)=>cu(e)(t,r)));function Lge(e,t,o=null){return t.every(r=>Df(e,ut(e,r),o))}function ZN(e,t){if(e.settings.isPreviewMode)return!1;let o=Ei(e,t);if(o===null)return!0;if(o.lock?.remove!==void 0)return!o.lock.remove;let r=Po(e,t),n=fa(e,r);if(n&&n!=="contentOnly")return!1;let i=!!lu(e,r),s=i?r:au(e,r),a=!!s,c=GN(ut(e,t));if(a&&!c||a&&ut(e,s)==="core/block")return!1;let u=Ti(e,r),d=ut(e,t),f=(0,Oe.getDefaultBlockName)();if(a&&(i||d===f||u==="contentOnly")&&!xv(e,ut(e,t),r))if(d===f){if(wr(e,r).filter(p=>ut(e,p)===f).length>1)return!0}else return!1;return u!=="disabled"}function Pj(e,t){return t.every(o=>ZN(e,o))}function Rj(e,t){if(e.settings.isPreviewMode)return!1;let o=Ei(e,t);if(o===null)return!0;if(o.lock?.move!==void 0)return!o.lock.move;let r=Po(e,t);if(fa(e,r)==="all")return!1;let i=!!au(e,t),s=GN(ut(e,t));if(i&&!s)return!1;let a=!!lu(e,r),c=Ti(e,r);return i&&(a||c==="contentOnly")&&!xv(e,ut(e,t),r)?!1:Ti(e,r)!=="disabled"}function Nge(e,t){return t.every(o=>Rj(e,o))}function Oj(e,t){if(e.settings.isPreviewMode)return!1;let o=Ei(e,t);if(o===null)return!0;let{lock:r}=o;return!r?.edit}function Mge(e,t){return e.settings.isPreviewMode||!(0,Oe.hasBlockSupport)(t,"lock",!0)?!1:!!e.settings?.canLockBlocks}function XN(e,t){return e.preferences.insertUsage?.[t]??null}var Iv=(e,t,o)=>(0,Oe.hasBlockSupport)(t,"inserter",!0)?Ov(e,t.name,o):!1,Dge=(e,t)=>o=>{let r=`${t.id}/${o.name}`,{time:n,count:i=0}=XN(e,r)||{};return{...t,id:r,icon:o.icon||t.icon,title:o.title||t.title,description:o.description||t.description,category:o.category||t.category,example:o.hasOwnProperty("example")?o.example:t.example,initialAttributes:{...t.initialAttributes,...o.attributes},innerBlocks:o.innerBlocks,keywords:o.keywords||t.keywords,frecency:QN(n,i),isSearchOnly:o.isSearchOnly}},QN=(e,t)=>{if(!e)return t;let o=Date.now()-e;switch(!0){case oo=>{let r=o.name,n=!1;(0,Oe.hasBlockSupport)(o.name,"multiple",!0)||(n=Tw(e,$p(e)).some(({name:f})=>f===o.name));let{time:i,count:s=0}=XN(e,r)||{},a={id:r,name:o.name,title:o.title,icon:o.icon,isDisabled:n,frecency:QN(i,s)};if(t==="transform")return a;let c=(0,Oe.getBlockVariations)(o.name,"inserter"),u=(0,Oe.getBlockVariations)(o.name,"block"),d=[...c,...u.filter(f=>o.name==="core/heading"&&["h1","h2","h3","h4","h5","h6"].includes(f.name)).map(f=>({...f,isSearchOnly:!0}))];return{...a,initialAttributes:{},description:o.description,category:o.category,keywords:o.keywords,parent:o.parent,ancestor:o.ancestor,variations:d,example:o.example,utility:1}},Vge=(0,Ee.createRegistrySelector)(e=>(0,Ee.createSelector)((t,o=null,r=kj)=>{let n=h=>{let p=h.wp_pattern_sync_status?Bi:{src:Bi,foreground:"var(--wp-block-synced-color)"},g=wv(h),{time:b,count:v=0}=XN(t,g.name)||{},k=QN(b,v);return{id:g.name,name:"core/block",initialAttributes:{ref:h.id},title:g.title,icon:p,category:"reusable",keywords:["reusable"],isDisabled:!1,utility:1,frecency:k,content:g.content,get blocks(){return Ew(g).blocks},syncStatus:g.syncStatus}},i=Ov(t,"core/block",o)?M(e(Kt)).getReusableBlocks().map(n):[],s=Aj(t,{buildScope:"inserter"}),a=(0,Oe.getBlockTypes)().filter(h=>(0,Oe.hasBlockSupport)(h,"inserter",!0)).map(s);if(r[uu]!==!1)a=a.filter(h=>Iv(t,h,o));else{let{getClosestAllowedInsertionPoint:h}=M(e(Kt));a=a.filter(p=>qN(t,p,o)&&h(p.name,o)!==null).map(p=>({...p,isAllowedInCurrentRoot:Iv(t,p,o)}))}let c=a.reduce((h,p)=>{let{variations:g=[]}=p;if(g.some(({isDefault:b})=>b)||h.push(p),g.length){let b=Dge(t,p);h.push(...g.map(b))}return h},[]),u=(h,p)=>{let{core:g,noncore:b}=h;return(p.name.startsWith("core/")?g:b).push(p),h},{core:d,noncore:f}=c.reduce(u,{core:[],noncore:[]});return[...[...d,...f],...i]},(t,o)=>[(0,Oe.getBlockTypes)(),M(e(Kt)).getReusableBlocks(),t.blocks.order,t.preferences.insertUsage,...cu(e)(t,o)])),Fge=(0,Ee.createRegistrySelector)(e=>(0,Ee.createSelector)((t,o,r=null)=>{let n=Array.isArray(o)?o:[o],i=Aj(t,{buildScope:"transform"}),s=(0,Oe.getBlockTypes)().filter(u=>Iv(t,u,r)).map(i),a=Object.fromEntries(Object.entries(s).map(([,u])=>[u.name,u])),c=(0,Oe.getPossibleBlockTransformations)(n).reduce((u,d)=>(a[d?.name]&&u.push(a[d.name]),u),[]);return ma(c,u=>a[u.name].frecency,"desc")},(t,o,r)=>[(0,Oe.getBlockTypes)(),t.preferences.insertUsage,...cu(e)(t,r)])),zge=(e,t=null)=>(0,Oe.getBlockTypes)().some(n=>Iv(e,n,t))?!0:Ov(e,"core/block",t),HN=(0,Ee.createRegistrySelector)(e=>(0,Ee.createSelector)((t,o=null)=>{if(!o)return;let r=(0,Oe.getBlockTypes)().filter(i=>Iv(t,i,o));return Ov(t,"core/block",o)&&r.push("core/block"),r},(t,o)=>[(0,Oe.getBlockTypes)(),...cu(e)(t,o)])),jge=(0,Ee.createSelector)((e,t=null)=>((0,jn.default)('wp.data.select( "core/block-editor" ).__experimentalGetAllowedBlocks',{alternative:'wp.data.select( "core/block-editor" ).getAllowedBlocks',since:"6.2",version:"6.4"}),HN(e,t)),(e,t)=>HN.getDependants(e,t));function Lj(e,t=null){if(!t)return;let{defaultBlock:o,directInsert:r}=e.blockListSettings[t]??{};if(!(!o||!r))return o}function Uge(e,t=null){return(0,jn.default)('wp.data.select( "core/block-editor" ).__experimentalGetDirectInsertBlock',{alternative:'wp.data.select( "core/block-editor" ).getDirectInsertBlock',since:"6.3",version:"6.4"}),Lj(e,t)}var Hge=(0,Ee.createRegistrySelector)(e=>(t,o)=>{let r=M(e(Kt)).getPatternBySlug(o);return r?Ew(r):null}),JN=e=>(t,o)=>[...Bv(e)(t),...cu(e)(t,o)],hj=new WeakMap;function Gge(e){let t=hj.get(e);return t||(t={...e,get blocks(){return Ew(e).blocks}},hj.set(e,t)),t}var Wge=(0,Ee.createRegistrySelector)(e=>(0,Ee.createSelector)((t,o=null,r=kj)=>{let{getAllPatterns:n}=M(e(Kt)),i=n(),{allowedBlockTypes:s}=su(t);return i.filter(({inserter:d=!0})=>!!d).map(Gge).filter(d=>Cv(Nf(d),s)).filter(d=>Nf(d).every(({blockName:f})=>r[uu]!==!1?Df(t,f,o):qN(t,f,o)))},JN(e))),$ge=(0,Ee.createRegistrySelector)(e=>(0,Ee.createSelector)((t,o,r=null)=>{if(!o)return fr;let n=e(Kt).__experimentalGetAllowedPatterns(r),i=Array.isArray(o)?o:[o],s=n.filter(a=>a?.blockTypes?.some?.(c=>i.includes(c)));return s.length===0?fr:s},(t,o,r)=>JN(e)(t,r))),Kge=(0,Ee.createRegistrySelector)(e=>((0,jn.default)('wp.data.select( "core/block-editor" ).__experimentalGetPatternsByBlockTypes',{alternative:'wp.data.select( "core/block-editor" ).getPatternsByBlockTypes',since:"6.2",version:"6.4"}),e(Kt).getPatternsByBlockTypes)),Yge=(0,Ee.createRegistrySelector)(e=>(0,Ee.createSelector)((t,o,r=null)=>{if(!o||o.some(({clientId:i,innerBlocks:s})=>s.length||Iw(t,i)))return fr;let n=Array.from(new Set(o.map(({name:i})=>i)));return e(Kt).getPatternsByBlockTypes(n,r)},(t,o,r)=>JN(e)(t,r)));function eM(e,t){return e.blockListSettings[t]}function su(e){return e.settings}function qge(e){return e.blocks.isPersistentChange}var Zge=(0,Ee.createSelector)((e,t=[])=>t.reduce((o,r)=>e.blockListSettings[r]?{...o,[r]:e.blockListSettings[r]}:o,{}),e=>[e.blockListSettings]),Xge=(0,Ee.createRegistrySelector)(e=>(0,Ee.createSelector)((t,o)=>{(0,jn.default)("wp.data.select( 'core/block-editor' ).__experimentalGetReusableBlockTitle",{since:"6.6",version:"6.8"});let r=M(e(Kt)).getReusableBlocks().find(n=>n.id===o);return r?r.title?.raw:null},()=>[M(e(Kt)).getReusableBlocks()]));function Qge(e){return e.blocks.isIgnoredChange}function Jge(e){return e.lastBlockAttributesChange}function ebe(){return(0,jn.default)('wp.data.select( "core/block-editor" ).hasBlockMovingClientId',{since:"6.7",hint:"Block moving mode feature has been removed"}),!1}function tbe(e){return!!e.automaticChangeStatus}function obe(e,t){return e.highlightedBlock===t}function Iw(e,t){return!!e.blocks.controlledInnerBlocks[t]}var rbe=(0,Ee.createSelector)((e,t)=>{if(!t.length)return null;let o=Yp(e);if(t.includes(ut(e,o)))return o;let r=du(e),n=WN(e,o||r[0],t);return n?n[n.length-1]:null},(e,t)=>[e.selection.selectionStart.clientId,e.selection.selectionEnd.clientId,t]);function nbe(e,t,o){let{lastBlockInserted:r}=e;return r.clientIds?.includes(t)&&r.source===o}function ibe(e,t){return e.blockVisibility?.[t]??!0}function sbe(){(0,jn.default)("wp.data.select( 'core/block-editor' ).getHoveredBlockClientId",{since:"6.9",version:"7.1"})}var abe=(0,Ee.createSelector)(e=>{let t=new Set(Object.keys(e.blockVisibility).filter(o=>e.blockVisibility[o]));return t.size===0?Khe:t},e=>[e.blockVisibility]);function Nj(e,t){if(Ti(e,t)!=="default")return!1;if(!Oj(e,t))return!0;if(jN(e)){let n=Mf(e);if(n){if(wr(e,n)?.includes(t))return!0}else if(t&&!Po(e,t))return!0}return((0,Oe.hasBlockSupport)(ut(e,t),"__experimentalDisableBlockOverlay",!1)?!1:Iw(e,t))&&!Bj(e,t)&&!Ej(e,t,!0)}function lbe(e,t){let o=e.blocks.parents.get(t);for(;o;){if(Nj(e,o))return!0;o=e.blocks.parents.get(o)}return!1}function Ti(e,t=""){return t===null&&(t=""),e.derivedBlockEditingModes?.has(t)?e.derivedBlockEditingModes.get(t):e.blockEditingModes.has(t)?e.blockEditingModes.get(t):"default"}var cbe=(0,Ee.createRegistrySelector)(e=>(t,o="")=>{let r=o||Yp(t);if(!r||lu(t,r))return!1;let{getGroupingBlockName:n}=e(Oe.store),i=xl(t,r),s=n();return i&&(i.name===s||(0,Oe.getBlockType)(i.name)?.transforms?.ungroup)&&!!i.innerBlocks.length&&ZN(t,r)}),ube=(0,Ee.createRegistrySelector)(e=>(t,o=fr)=>{let{getGroupingBlockName:r}=e(Oe.store),n=r(),i=o?.length?o:qp(t),s=i?.length?Po(t,i[0]):void 0;return Df(t,n,s)&&i.length&&Pj(t,i)}),dbe=(e,t)=>((0,jn.default)("wp.data.select( 'core/block-editor' ).__unstableGetContentLockingParent",{since:"6.1",version:"6.7"}),VN(e,t));function fbe(e){return(0,jn.default)("wp.data.select( 'core/block-editor' ).__unstableGetTemporarilyEditingAsBlocks",{since:"6.1",version:"6.7"}),FN(e)}var Pw={};Ip(Pw,{__experimentalUpdateSettings:()=>oM,clearBlockRemovalPrompt:()=>kbe,clearRequestedInspectorTab:()=>Mbe,closeListViewContentPanel:()=>Obe,deleteStyleOverride:()=>Sbe,editContentOnlySection:()=>nM,ensureDefaultBlock:()=>jj,expandBlock:()=>Cbe,hideBlockInterface:()=>hbe,hideViewportModal:()=>Lbe,openListViewContentPanel:()=>Rbe,privateRemoveBlocks:()=>rM,requestInspectorTab:()=>Nbe,resetZoomLevel:()=>Ibe,setBlockRemovalRules:()=>vbe,setInsertionPoint:()=>Bbe,setLastFocus:()=>_be,setStyleOverride:()=>ybe,setZoomLevel:()=>Tbe,showBlockInterface:()=>gbe,showViewportModal:()=>Abe,startDragging:()=>xbe,stopDragging:()=>wbe,stopEditingContentOnlySection:()=>Ebe,toggleBlockSpotlight:()=>Pbe});var Dj=l(R(),1),Vj=l(Re(),1),Fj=l(Xo(),1),zj=l(N(),1),mbe=e=>Array.isArray(e)?e:[e],pbe=["inserterMediaCategories","blockInspectorAnimation","mediaSideload"];function oM(e,{stripExperimentalSettings:t=!1,reset:o=!1}={}){let r=e;Object.hasOwn(r,"__unstableIsPreviewMode")&&((0,Vj.default)("__unstableIsPreviewMode argument in wp.data.dispatch('core/block-editor').updateSettings",{since:"6.8",alternative:"isPreviewMode"}),r={...r},r.isPreviewMode=r.__unstableIsPreviewMode,delete r.__unstableIsPreviewMode);let n=r;if(t&&Dj.Platform.OS==="web"){n={};for(let i in r)pbe.includes(i)||(n[i]=r[i])}return{type:"UPDATE_SETTINGS",settings:n,reset:o}}function hbe(){return{type:"HIDE_BLOCK_INTERFACE"}}function gbe(){return{type:"SHOW_BLOCK_INTERFACE"}}var rM=(e,t=!0,o=!1)=>({select:r,dispatch:n,registry:i})=>{if(!e||!e.length||(e=mbe(e),!r.canRemoveBlocks(e)))return;let a=!o&&r.getBlockRemovalRules();if(a){let u=function(h){let p=[],g=[...h];for(;g.length;){let{innerBlocks:b,...v}=g.shift();g.push(...b),p.push(v)}return p};var c=u;let d=e.map(r.getBlock),f=u(d),m;for(let h of a)if(m=h.callback(f),m){n(bbe(e,t,m));return}}t&&n.selectPreviousBlock(e[0],t),i.batch(()=>{n({type:"REMOVE_BLOCKS",clientIds:e}),n(jj())})},jj=()=>({select:e,dispatch:t})=>{if(e.getBlockCount()>0)return;let{__unstableHasCustomAppender:r}=e.getSettings();r||t.insertDefaultBlock()};function bbe(e,t,o){return{type:"DISPLAY_BLOCK_REMOVAL_PROMPT",clientIds:e,selectPrevious:t,message:o}}function kbe(){return{type:"CLEAR_BLOCK_REMOVAL_PROMPT"}}function vbe(e=!1){return{type:"SET_BLOCK_REMOVAL_RULES",rules:e}}function ybe(e,t){return{type:"SET_STYLE_OVERRIDE",id:e,style:t}}function Sbe(e){return{type:"DELETE_STYLE_OVERRIDE",id:e}}function _be(e=null){return{type:"LAST_FOCUS",lastFocus:e}}function xbe(){return{type:"START_DRAGGING"}}function wbe(){return{type:"STOP_DRAGGING"}}function Cbe(e){return{type:"SET_BLOCK_EXPANDED_IN_LIST_VIEW",clientId:e}}function Bbe(e){return{type:"SET_INSERTION_POINT",value:e}}function nM(e){return{type:"EDIT_CONTENT_ONLY_SECTION",clientId:e}}function Ebe(){return{type:"EDIT_CONTENT_ONLY_SECTION"}}var Tbe=(e=100)=>({select:t,dispatch:o})=>{if(e!==100){let r=t.getBlockSelectionStart(),n=t.getSectionRootClientId();if(r){let i;if(n){let s=t.getBlockOrder(n);s?.includes(r)?i=r:i=t.getBlockParents(r).find(a=>s.includes(a))}else i=t.getBlockHierarchyRootClientId(r);i?o.selectBlock(i):o.clearSelectedBlock(),(0,Fj.speak)((0,zj.__)("You are currently in zoom-out mode."))}}o({type:"SET_ZOOM_LEVEL",zoom:e})};function Ibe(){return{type:"RESET_ZOOM_LEVEL"}}function Pbe(e,t){return{type:"TOGGLE_BLOCK_SPOTLIGHT",clientId:e,hasBlockSpotlight:t}}function Rbe(){return{type:"OPEN_LIST_VIEW_CONTENT_PANEL"}}function Obe(){return{type:"CLOSE_LIST_VIEW_CONTENT_PANEL"}}function Abe(e){return{type:"SHOW_VIEWPORT_MODAL",clientIds:e}}function Lbe(){return{type:"HIDE_VIEWPORT_MODAL"}}function Nbe(e,t={}){return{type:"REQUEST_INSPECTOR_TAB",tabName:e,options:t}}function Mbe(){return{type:"CLEAR_REQUESTED_INSPECTOR_TAB"}}var aM={};Ip(aM,{__unstableDeleteSelection:()=>ske,__unstableExpandSelection:()=>lke,__unstableIncrementListViewExpandRevision:()=>Uke,__unstableMarkAutomaticChange:()=>Bke,__unstableMarkLastChangeAsPersistent:()=>wke,__unstableMarkNextChangeAsNotPersistent:()=>Cke,__unstableSaveReusableBlock:()=>xke,__unstableSetAllListViewPanelsOpen:()=>zke,__unstableSetEditorMode:()=>Eke,__unstableSetOpenListViewPanel:()=>Fke,__unstableSetTemporarilyEditingAsBlocks:()=>Nke,__unstableSplitSelection:()=>ake,__unstableToggleListViewPanel:()=>jke,clearSelectedBlock:()=>qbe,duplicateBlocks:()=>Ike,enterFormattedText:()=>bke,exitFormattedText:()=>kke,flashBlock:()=>Oke,hideInsertionPoint:()=>rke,hoverBlock:()=>Hbe,insertAfterBlock:()=>Rke,insertBeforeBlock:()=>Pke,insertBlock:()=>tke,insertBlocks:()=>Xj,insertDefaultBlock:()=>yke,mergeBlocks:()=>cke,moveBlockToPosition:()=>eke,moveBlocksDown:()=>Qbe,moveBlocksToPosition:()=>Zj,moveBlocksUp:()=>Jbe,multiSelect:()=>Ybe,receiveBlocks:()=>Fbe,registerInserterMediaCategory:()=>Mke,removeBlock:()=>uke,removeBlocks:()=>Qj,replaceBlock:()=>Xbe,replaceBlocks:()=>Yj,replaceInnerBlocks:()=>dke,resetBlocks:()=>Dbe,resetSelection:()=>Vbe,selectBlock:()=>Ube,selectNextBlock:()=>Wbe,selectPreviousBlock:()=>Gbe,selectionChange:()=>vke,setBlockEditingMode:()=>Dke,setBlockMovingClientId:()=>Tke,setBlockVisibility:()=>Lke,setHasControlledInnerBlocks:()=>Ake,setTemplateValidity:()=>nke,showInsertionPoint:()=>oke,startDraggingBlocks:()=>hke,startMultiSelect:()=>$be,startTyping:()=>mke,stopDraggingBlocks:()=>gke,stopMultiSelect:()=>Kbe,stopTyping:()=>pke,synchronizeTemplate:()=>ike,toggleBlockHighlight:()=>sM,toggleBlockMode:()=>fke,toggleSelection:()=>Zbe,unsetBlockEditingMode:()=>Vke,updateBlock:()=>jbe,updateBlockAttributes:()=>zbe,updateBlockListSettings:()=>Ske,updateSettings:()=>_ke,validateBlocksToTemplate:()=>Kj});var be=l($(),1),Rw=l(Xo(),1),fu=l(N(),1),Wj=l(Ii(),1),dt=l(dr(),1),mu=l(Re(),1),$j=l(Zp(),1);var Gj=l(dr(),1),wl="\x86";function Av(e){if(e)return Object.keys(e).find(t=>{let o=e[t];return(typeof o=="string"||o instanceof Gj.RichTextData)&&o.toString().indexOf(wl)!==-1})}function iM(e){for(let[t,o]of Object.entries(e.attributes))if(o.source==="rich-text"||o.source==="html")return t}var Xp=e=>Array.isArray(e)?e:[e],Dbe=e=>({dispatch:t})=>{t({type:"RESET_BLOCKS",blocks:e}),t(Kj(e))},Kj=e=>({select:t,dispatch:o})=>{let r=t.getTemplate(),n=t.getTemplateLock(),i=!r||n!=="all"||(0,be.doBlocksMatchTemplate)(e,r),s=t.isValidTemplate();if(i!==s)return o.setTemplateValidity(i),i};function Vbe(e,t,o){return{type:"RESET_SELECTION",selectionStart:e,selectionEnd:t,initialPosition:o}}function Fbe(e){return(0,mu.default)('wp.data.dispatch( "core/block-editor" ).receiveBlocks',{since:"5.9",alternative:"resetBlocks or insertBlocks"}),{type:"RECEIVE_BLOCKS",blocks:e}}function zbe(e,t,o={uniqueByBlock:!1}){return typeof o=="boolean"&&(o={uniqueByBlock:o}),{type:"UPDATE_BLOCK_ATTRIBUTES",clientIds:Xp(e),attributes:t,options:o}}function jbe(e,t){return{type:"UPDATE_BLOCK",clientId:e,updates:t}}function Ube(e,t=0){return{type:"SELECT_BLOCK",initialPosition:t,clientId:e}}function Hbe(){return(0,mu.default)('wp.data.dispatch( "core/block-editor" ).hoverBlock',{since:"6.9",version:"7.1"}),{type:"DO_NOTHING"}}var Gbe=(e,t=!1)=>({select:o,dispatch:r})=>{let n=o.getPreviousBlockClientId(e);if(n)r.selectBlock(n,-1);else if(t){let i=o.getBlockRootClientId(e);if(i)r.selectBlock(i,-1);else{let s=o.getNextBlockClientId(e);s&&r.selectBlock(s,0)}}},Wbe=e=>({select:t,dispatch:o})=>{let r=t.getNextBlockClientId(e);r&&o.selectBlock(r)};function $be(){return{type:"START_MULTI_SELECT"}}function Kbe(){return{type:"STOP_MULTI_SELECT"}}var Ybe=(e,t,o=0)=>({select:r,dispatch:n})=>{let i=r.getBlockRootClientId(e),s=r.getBlockRootClientId(t);if(i!==s)return;n({type:"MULTI_SELECT",start:e,end:t,initialPosition:o});let a=r.getSelectedBlockCount();(0,Rw.speak)((0,fu.sprintf)((0,fu._n)("%s block selected.","%s blocks selected.",a),a),"assertive")};function qbe(){return{type:"CLEAR_SELECTED_BLOCK"}}function Zbe(e=!0){return{type:"TOGGLE_SELECTION",isSelectionEnabled:e}}var Yj=(e,t,o,r=0,n)=>({select:i,dispatch:s,registry:a})=>{e=Xp(e),t=Xp(t);let c=i.getBlockRootClientId(e[0]);for(let u=0;u{s({type:"REPLACE_BLOCKS",clientIds:e,blocks:t,time:Date.now(),indexToSelect:o,initialPosition:r,meta:n}),s.ensureDefaultBlock()})};function Xbe(e,t){return Yj(e,t)}var qj=e=>(t,o)=>({select:r,dispatch:n})=>{r.canMoveBlocks(t)&&n({type:e,clientIds:Xp(t),rootClientId:o})},Qbe=qj("MOVE_BLOCKS_DOWN"),Jbe=qj("MOVE_BLOCKS_UP"),Zj=(e,t="",o="",r)=>({select:n,dispatch:i})=>{n.canMoveBlocks(e)&&(t!==o&&(!n.canRemoveBlocks(e)||!n.canInsertBlocks(e,o))||i({type:"MOVE_BLOCKS_TO_POSITION",fromRootClientId:t,toRootClientId:o,clientIds:e,index:r}))};function eke(e,t="",o="",r){return Zj([e],t,o,r)}function tke(e,t,o,r,n,i){return Xj([e],t,o,r,n,i)}var Xj=(e,t,o,r=!0,n=0,i)=>({select:s,dispatch:a})=>{n!==null&&typeof n=="object"&&(i=n,n=0,(0,mu.default)("meta argument in wp.data.dispatch('core/block-editor')",{since:"5.8",hint:"The meta argument is now the 6th argument of the function"})),e=Xp(e);let c=[];for(let u of e)s.canInsertBlockType(u.name,o)&&c.push(u);c.length&&a({type:"INSERT_BLOCKS",blocks:c,index:t,rootClientId:o,time:Date.now(),updateSelection:r,initialPosition:r?n:null,meta:i})};function oke(e,t,o={}){let{__unstableWithInserter:r,operation:n,nearestSide:i}=o;return{type:"SHOW_INSERTION_POINT",rootClientId:e,index:t,__unstableWithInserter:r,operation:n,nearestSide:i}}var rke=()=>({select:e,dispatch:t})=>{e.isBlockInsertionPointVisible()&&t({type:"HIDE_INSERTION_POINT"})};function nke(e){return{type:"SET_TEMPLATE_VALIDITY",isValid:e}}var ike=()=>({select:e,dispatch:t})=>{t({type:"SYNCHRONIZE_TEMPLATE"});let o=e.getBlocks(),r=e.getTemplate(),n=(0,be.synchronizeBlocksWithTemplate)(o,r);t.resetBlocks(n)},ske=e=>({registry:t,select:o,dispatch:r})=>{let n=o.getSelectionStart(),i=o.getSelectionEnd();if(n.clientId===i.clientId)return;if(!n.attributeKey||!i.attributeKey||typeof n.offset>"u"||typeof i.offset>"u")return!1;let s=o.getBlockRootClientId(n.clientId),a=o.getBlockRootClientId(i.clientId);if(s!==a)return;let c=o.getBlockOrder(s),u=c.indexOf(n.clientId),d=c.indexOf(i.clientId),f,m;u>d?(f=i,m=n):(f=n,m=i);let h=e?m:f,p=o.getBlock(h.clientId),g=(0,be.getBlockType)(p.name);if(!g.merge)return;let b=f,v=m,k=o.getBlock(b.clientId),y=o.getBlock(v.clientId),S=k.attributes[b.attributeKey],x=y.attributes[v.attributeKey],C=(0,dt.create)({html:S}),B=(0,dt.create)({html:x});C=(0,dt.remove)(C,b.offset,C.text.length),B=(0,dt.insert)(B,wl,0,v.offset);let I=(0,be.cloneBlock)(k,{[b.attributeKey]:(0,dt.toHTMLString)({value:C})}),P=(0,be.cloneBlock)(y,{[v.attributeKey]:(0,dt.toHTMLString)({value:B})}),E=e?I:P,L=k.name===y.name?[E]:(0,be.switchToBlockType)(E,g.name);if(!L||!L.length)return;let T;if(e){let se=L.pop();T=g.merge(se.attributes,P.attributes)}else{let se=L.shift();T=g.merge(I.attributes,se.attributes)}let O=Av(T),V=T[O],U=(0,dt.create)({html:V}),G=U.text.indexOf(wl),j=(0,dt.remove)(U,G,G+1),z=(0,dt.toHTMLString)({value:j});T[O]=z;let W=o.getSelectedBlockClientIds(),ee=[...e?L:[],{...p,attributes:{...p.attributes,...T}},...e?[]:L];t.batch(()=>{r.selectionChange(p.clientId,O,G,G),r.replaceBlocks(W,ee,0,o.getSelectedBlocksInitialCaretPosition())})},ake=(e=[])=>({registry:t,select:o,dispatch:r})=>{let n=o.getSelectionStart(),i=o.getSelectionEnd(),s=o.getBlockRootClientId(n.clientId),a=o.getBlockRootClientId(i.clientId);if(s!==a)return;let c=o.getBlockOrder(s),u=c.indexOf(n.clientId),d=c.indexOf(i.clientId),f,m;u>d?(f=i,m=n):(f=n,m=i);let h=f,p=m,g=o.getBlock(h.clientId),b=o.getBlock(p.clientId),v=(0,be.getBlockType)(g.name),k=(0,be.getBlockType)(b.name),y=typeof h.attributeKey=="string"?h.attributeKey:iM(v),S=typeof p.attributeKey=="string"?p.attributeKey:iM(k),x=o.getBlockAttributes(h.clientId);if(x?.metadata?.bindings?.[y]){if(e.length){let{createWarningNotice:ie}=t.dispatch(Wj.store);ie((0,fu.__)("Blocks can't be inserted into other blocks with bindings"),{type:"snackbar"});return}r.insertAfterBlock(h.clientId);return}if(!y||!S||typeof n.offset>"u"||typeof i.offset>"u")return;if(h.clientId===p.clientId&&y===S&&h.offset===p.offset){if(e.length){if((0,be.isUnmodifiedDefaultBlock)(g,"content")){r.replaceBlocks([h.clientId],e,e.length-1,-1);return}}else if(!o.getBlockOrder(h.clientId).length){let ie=function(){let Q=(0,be.getDefaultBlockName)();return o.canInsertBlockType(Q,s)?(0,be.createBlock)(Q):(0,be.createBlock)(o.getBlockName(h.clientId))};var B=ie;let re=x[y].length;if(h.offset===0&&re){r.insertBlocks([ie()],o.getBlockIndex(h.clientId),s,!1);return}if(h.offset===re){r.insertBlocks([ie()],o.getBlockIndex(h.clientId)+1,s);return}}}let I=g.attributes[y],P=b.attributes[S],E=(0,dt.create)({html:I}),L=(0,dt.create)({html:P});E=(0,dt.remove)(E,h.offset,E.text.length),L=(0,dt.remove)(L,0,p.offset);let T={...g,innerBlocks:g.clientId===b.clientId?[]:g.innerBlocks,attributes:{...g.attributes,[y]:(0,dt.toHTMLString)({value:E})}},O={...b,clientId:g.clientId===b.clientId?(0,be.createBlock)(b.name).clientId:b.clientId,attributes:{...b.attributes,[S]:(0,dt.toHTMLString)({value:L})}},V=(0,be.getDefaultBlockName)();if(g.clientId===b.clientId&&V&&O.name!==V&&o.canInsertBlockType(V,s)){let ie=(0,be.switchToBlockType)(O,V);ie?.length===1&&(O=ie[0])}if(!e.length){r.replaceBlocks(o.getSelectedBlockClientIds(),[T,O]);return}let U,G=[],j=[...e],z=j.shift(),W=(0,be.getBlockType)(T.name),ee=W.merge&&z.name===W.name?[z]:(0,be.switchToBlockType)(z,W.name);if(ee?.length){let ie=ee.shift();T={...T,attributes:{...T.attributes,...W.merge(T.attributes,ie.attributes)}},G.push(T),U={clientId:T.clientId,attributeKey:y,offset:(0,dt.create)({html:T.attributes[y]}).text.length},j.unshift(...ee)}else(0,be.isUnmodifiedBlock)(T)||G.push(T),G.push(z);let se=j.pop(),ce=(0,be.getBlockType)(O.name);if(j.length&&G.push(...j),se){let ie=ce.merge&&ce.name===se.name?[se]:(0,be.switchToBlockType)(se,ce.name);if(ie?.length){let re=ie.pop();G.push({...O,attributes:{...O.attributes,...ce.merge(re.attributes,O.attributes)}}),G.push(...ie),U={clientId:O.clientId,attributeKey:S,offset:(0,dt.create)({html:re.attributes[S]}).text.length}}else G.push(se),(0,be.isUnmodifiedBlock)(O)||G.push(O)}else(0,be.isUnmodifiedBlock)(O)||G.push(O);t.batch(()=>{r.replaceBlocks(o.getSelectedBlockClientIds(),G,G.length-1,0),U&&r.selectionChange(U.clientId,U.attributeKey,U.offset,U.offset)})},lke=()=>({select:e,dispatch:t})=>{let o=e.getSelectionStart(),r=e.getSelectionEnd();t.selectionChange({start:{clientId:o.clientId},end:{clientId:r.clientId}})},cke=(e,t)=>({registry:o,select:r,dispatch:n})=>{let i=e,s=t,a=r.getBlock(i),c=(0,be.getBlockType)(a.name);if(!c||r.getBlockEditingMode(i)==="disabled"||r.getBlockEditingMode(s)==="disabled")return;let u=r.getBlock(s);if(!c.merge&&(0,be.getBlockSupport)(a.name,"__experimentalOnMerge")){let x=(0,be.switchToBlockType)(u,c.name);if(x?.length!==1){n.selectBlock(a.clientId);return}let[C]=x;if(C.innerBlocks.length<1){n.selectBlock(a.clientId);return}o.batch(()=>{n.insertBlocks(C.innerBlocks,void 0,i),n.removeBlock(s),n.selectBlock(C.innerBlocks[0].clientId);let B=r.getNextBlockClientId(i);if(B&&r.getBlockName(i)===r.getBlockName(B)){let I=r.getBlockAttributes(i),P=r.getBlockAttributes(B);Object.keys(I).every(E=>I[E]===P[E])&&(n.moveBlocksToPosition(r.getBlockOrder(B),B,i),n.removeBlock(B,!1))}});return}if((0,be.isUnmodifiedDefaultBlock)(a)){n.removeBlock(i,r.isBlockSelected(i));return}if((0,be.isUnmodifiedDefaultBlock)(u)){n.removeBlock(s,r.isBlockSelected(s));return}if(!c.merge){(0,be.isUnmodifiedBlock)(u,"content")?n.removeBlock(s,r.isBlockSelected(s)):n.selectBlock(a.clientId);return}let d=(0,be.getBlockType)(u.name),{clientId:f,attributeKey:m,offset:h}=r.getSelectionStart(),g=(f===i?c:d).attributes[m],b=(f===i||f===s)&&m!==void 0&&h!==void 0&&!!g;g||(typeof m=="number"?window.console.error(`RichText needs an identifier prop that is the block attribute key of the attribute it controls. Its type is expected to be a string, but was ${typeof m}`):window.console.error("The RichText identifier prop does not match any attributes defined by the block."));let v=(0,be.cloneBlock)(a),k=(0,be.cloneBlock)(u);if(b){let x=f===i?v:k,C=x.attributes[m],B=(0,dt.insert)((0,dt.create)({html:C}),wl,h,h);x.attributes[m]=(0,dt.toHTMLString)({value:B})}let y=a.name===u.name?[k]:(0,be.switchToBlockType)(k,a.name);if(!y||!y.length)return;let S=c.merge(v.attributes,y[0].attributes);if(b){let x=Av(S),C=S[x],B=(0,dt.create)({html:C}),I=B.text.indexOf(wl),P=(0,dt.remove)(B,I,I+1),E=(0,dt.toHTMLString)({value:P});S[x]=E,n.selectionChange(a.clientId,x,I,I)}n.replaceBlocks([a.clientId,u.clientId],[{...a,attributes:{...a.attributes,...S}},...y.slice(1)],0)},Qj=(e,t=!0)=>rM(e,t);function uke(e,t){return Qj([e],t)}function dke(e,t,o=!1,r=0){return{type:"REPLACE_INNER_BLOCKS",rootClientId:e,blocks:t,updateSelection:o,initialPosition:o?r:null,time:Date.now()}}function fke(e){return{type:"TOGGLE_BLOCK_MODE",clientId:e}}function mke(){return{type:"START_TYPING"}}function pke(){return{type:"STOP_TYPING"}}function hke(e=[]){return{type:"START_DRAGGING_BLOCKS",clientIds:e}}function gke(){return{type:"STOP_DRAGGING_BLOCKS"}}function bke(){return(0,mu.default)('wp.data.dispatch( "core/block-editor" ).enterFormattedText',{since:"6.1",version:"6.3"}),{type:"DO_NOTHING"}}function kke(){return(0,mu.default)('wp.data.dispatch( "core/block-editor" ).exitFormattedText',{since:"6.1",version:"6.3"}),{type:"DO_NOTHING"}}function vke(e,t,o,r){return typeof e=="string"?{type:"SELECTION_CHANGE",clientId:e,attributeKey:t,startOffset:o,endOffset:r}:{type:"SELECTION_CHANGE",...e}}var yke=(e,t,o)=>({dispatch:r})=>{let n=(0,be.getDefaultBlockName)();if(!n)return;let i=(0,be.createBlock)(n,e);return r.insertBlock(i,o,t)};function Ske(e,t){return{type:"UPDATE_BLOCK_LIST_SETTINGS",clientId:e,settings:t}}function _ke(e){return oM(e,{stripExperimentalSettings:!0})}function xke(e,t){return{type:"SAVE_REUSABLE_BLOCK_SUCCESS",id:e,updatedId:t}}function wke(){return{type:"MARK_LAST_CHANGE_AS_PERSISTENT"}}function Cke(){return{type:"MARK_NEXT_CHANGE_AS_NOT_PERSISTENT"}}var Bke=()=>({dispatch:e})=>{e({type:"MARK_AUTOMATIC_CHANGE"});let{requestIdleCallback:t=o=>setTimeout(o,100)}=window;t(()=>{e({type:"MARK_AUTOMATIC_CHANGE_FINAL"})})},Eke=e=>({registry:t})=>{t.dispatch($j.store).set("core","editorTool",e),e==="navigation"?(0,Rw.speak)((0,fu.__)("You are currently in Write mode.")):e==="edit"&&(0,Rw.speak)((0,fu.__)("You are currently in Design mode."))};function Tke(){return(0,mu.default)('wp.data.dispatch( "core/block-editor" ).setBlockMovingClientId',{since:"6.7",hint:"Block moving mode feature has been removed"}),{type:"DO_NOTHING"}}var Ike=(e,t=!0)=>({select:o,dispatch:r})=>{if(!e||!e.length)return;let n=o.getBlocksByClientId(e);if(n.some(d=>!d)||n.map(d=>d.name).some(d=>!(0,be.hasBlockSupport)(d,"multiple",!0)))return;let s=o.getBlockRootClientId(e[0]),a=Xp(e),c=o.getBlockIndex(a[a.length-1]),u=n.map(d=>(0,be.__experimentalCloneSanitizedBlock)(d));return r.insertBlocks(u,c+1,s,t),u.length>1&&t&&r.multiSelect(u[0].clientId,u[u.length-1].clientId),u.map(d=>d.clientId)},Pke=e=>({select:t,dispatch:o})=>{if(!e)return;let r=t.getBlockRootClientId(e);if(t.getTemplateLock(r))return;let i=t.getBlockIndex(e),s=r?t.getDirectInsertBlock(r):null;if(!s)return o.insertDefaultBlock({},r,i);let a={};if(s.attributesToCopy){let u=t.getBlockAttributes(e);s.attributesToCopy.forEach(d=>{u[d]&&(a[d]=u[d])})}let c=(0,be.createBlock)(s.name,{...s.attributes,...a});return o.insertBlock(c,i,r)},Rke=e=>({select:t,dispatch:o})=>{if(!e)return;let r=t.getBlockRootClientId(e);if(t.getTemplateLock(r))return;let i=t.getBlockIndex(e),s=r?t.getDirectInsertBlock(r):null;if(!s)return o.insertDefaultBlock({},r,i+1);let a={};if(s.attributesToCopy){let u=t.getBlockAttributes(e);s.attributesToCopy.forEach(d=>{u[d]&&(a[d]=u[d])})}let c=(0,be.createBlock)(s.name,{...s.attributes,...a});return o.insertBlock(c,i+1,r)};function sM(e,t){return{type:"TOGGLE_BLOCK_HIGHLIGHT",clientId:e,isHighlighted:t}}var Oke=(e,t=150)=>async({dispatch:o})=>{o(sM(e,!0)),await new Promise(r=>setTimeout(r,t)),o(sM(e,!1))};function Ake(e,t){return{type:"SET_HAS_CONTROLLED_INNER_BLOCKS",hasControlledInnerBlocks:t,clientId:e}}function Lke(e){return{type:"SET_BLOCK_VISIBILITY",updates:e}}function Nke(e){return(0,mu.default)("wp.data.dispatch( 'core/block-editor' ).__unstableSetTemporarilyEditingAsBlocks",{since:"7.0"}),nM(e)}var Mke=e=>({select:t,dispatch:o})=>{if(!e||typeof e!="object"){console.error("Category should be an `InserterMediaCategory` object.");return}if(!e.name){console.error("Category should have a `name` that should be unique among all media categories.");return}if(!e.labels?.name){console.error("Category should have a `labels.name`.");return}if(!["image","audio","video"].includes(e.mediaType)){console.error("Category should have `mediaType` property that is one of `image|audio|video`.");return}if(!e.fetch||typeof e.fetch!="function"){console.error("Category should have a `fetch` function defined with the following signature `(InserterMediaRequest) => Promise`.");return}let r=t.getRegisteredInserterMediaCategories();if(r.some(({name:n})=>n===e.name)){console.error(`A category is already registered with the same name: "${e.name}".`);return}if(r.some(({labels:{name:n}={}})=>n===e.labels?.name)){console.error(`A category is already registered with the same labels.name: "${e.labels.name}".`);return}o({type:"REGISTER_INSERTER_MEDIA_CATEGORY",category:{...e,isExternalResource:!0}})};function Dke(e="",t){return{type:"SET_BLOCK_EDITING_MODE",clientId:e,mode:t}}function Vke(e=""){return{type:"UNSET_BLOCK_EDITING_MODE",clientId:e}}function Fke(e){return{type:"SET_OPEN_LIST_VIEW_PANEL",clientId:e}}function zke(){return{type:"SET_ALL_LIST_VIEW_PANELS_OPEN"}}function jke(e,t){return{type:"TOGGLE_LIST_VIEW_PANEL",clientId:e,isOpen:t}}function Uke(){return{type:"INCREMENT_LIST_VIEW_EXPAND_REVISION"}}var Qp={reducer:Z6,selectors:tM,actions:aM},_=(0,Ow.createReduxStore)(Kt,{...Qp,persist:["preferences"]}),Jj=(0,Ow.registerStore)(Kt,{...Qp,persist:["preferences"]});M(Jj).registerPrivateActions(Pw);M(Jj).registerPrivateSelectors(Cw);M(_).registerPrivateActions(Pw);M(_).registerPrivateSelectors(Cw);var Jp=l(A(),1),eU=l(N(),1);var Ss=l(w(),1);function Hke({className:e,actions:t,children:o,secondaryActions:r}){return(0,Ss.jsx)("div",{style:{display:"contents",all:"initial"},children:(0,Ss.jsx)("div",{className:D(e,"block-editor-warning"),children:(0,Ss.jsxs)("div",{className:"block-editor-warning__contents",children:[(0,Ss.jsx)("p",{className:"block-editor-warning__message",children:o}),(t?.length>0||r)&&(0,Ss.jsxs)("div",{className:"block-editor-warning__actions",children:[t?.length>0&&t.map((n,i)=>(0,Ss.jsx)("span",{className:"block-editor-warning__action",children:n},i)),r&&(0,Ss.jsx)(Jp.DropdownMenu,{className:"block-editor-warning__secondary",icon:ks,label:(0,eU.__)("More options"),popoverProps:{placement:"bottom-end",className:"block-editor-warning__dropdown"},noIcons:!0,children:()=>(0,Ss.jsx)(Jp.MenuGroup,{children:r.map((n,i)=>(0,Ss.jsx)(Jp.MenuItem,{onClick:n.onClick,children:n.title},i))})})]})]})})})}var pu=Hke;var eh=l(w(),1);function rU({originalBlockClientId:e,name:t,onReplace:o}){let{selectBlock:r}=(0,oU.useDispatch)(_),n=(0,tU.getBlockType)(t);return(0,eh.jsxs)(pu,{actions:[(0,eh.jsx)(lM.Button,{__next40pxDefaultSize:!0,variant:"secondary",onClick:()=>r(e),children:(0,Aw.__)("Find original")},"find-original"),(0,eh.jsx)(lM.Button,{__next40pxDefaultSize:!0,variant:"secondary",onClick:()=>o([]),children:(0,Aw.__)("Remove")},"remove")],children:[(0,eh.jsxs)("strong",{children:[n?.title,": "]}),(0,Aw.__)("This block can only be used once.")]})}var Lv=l(w(),1);function Mw({mayDisplayControls:e,mayDisplayParentControls:t,mayDisplayPatternEditingControls:o,blockEditingMode:r,isPreviewMode:n,...i}){let{name:s,isSelected:a,clientId:c,attributes:u={},__unstableLayoutClassNames:d}=i,{layout:f=null,metadata:m={}}=u,{bindings:h}=m,p=(0,Lw.hasBlockSupport)(s,"layout",!1)||(0,Lw.hasBlockSupport)(s,"__experimentalLayout",!1),b=!!Ie()[Uk]||(0,Lw.hasBlockSupport)(s,"listView")||s==="core/navigation",{originalBlockClientId:v}=(0,Nw.useContext)(ur);return(0,Lv.jsxs)(c0,{value:(0,Nw.useMemo)(()=>({name:s,isSelected:a,clientId:c,layout:p?f:null,__unstableLayoutClassNames:d,[bs]:e,[Pp]:t,[$c]:o&&r!=="disabled",[a0]:r,[Rp]:h,[l0]:n,[Uk]:b}),[s,a,c,p,f,d,e,t,o,r,h,n,b]),children:[(0,Lv.jsx)(V6,{...i}),v&&(0,Lv.jsx)(rU,{originalBlockClientId:v,name:s,onReplace:i.onReplace})]})}function me(...e){let{clientId:t=null}=Ie();return(0,nU.useSelect)(o=>M(o(_)).getBlockSettings(t,...e),[t,...e])}function sU(e){(0,iU.default)("wp.blockEditor.useSetting",{since:"6.5",alternative:"wp.blockEditor.useSettings",note:"The new useSettings function can retrieve multiple settings at once, with better performance."});let[t]=me(e);return t}var Vw=l(w(),1),{kebabCase:Gke}=M(lU.privateApis),aU=([e,...t])=>e.toUpperCase()+t.join(""),Wke=e=>(0,zf.createHigherOrderComponent)(t=>function(r){return(0,Vw.jsx)(t,{...r,colors:e})},"withCustomColorPalette"),$ke=()=>(0,zf.createHigherOrderComponent)(e=>function(o){let[r,n,i]=me("color.palette.custom","color.palette.theme","color.palette.default"),s=(0,Dw.useMemo)(()=>[...r||[],...n||[],...i||[]],[r,n,i]);return(0,Vw.jsx)(e,{...o,colors:s})},"withEditorColorPalette");function cU(e,t){let o=e.reduce((r,n)=>({...r,...typeof n=="string"?{[n]:Gke(n)}:n}),{});return(0,zf.compose)([t,r=>class extends Dw.Component{constructor(i){super(i),this.setters=this.createSetters(),this.colorUtils={getMostReadableColor:this.getMostReadableColor.bind(this)},this.state={}}getMostReadableColor(i){let{colors:s}=this.props;return T6(s,i)}createSetters(){return Object.keys(o).reduce((i,s)=>{let a=aU(s),c=`custom${a}`;return i[`set${a}`]=this.createSetColor(s,c),i},{})}createSetColor(i,s){return a=>{let c=d0(this.props.colors,a);this.props.setAttributes({[i]:c&&c.slug?c.slug:void 0,[s]:c&&c.slug?void 0:a})}}static getDerivedStateFromProps({attributes:i,colors:s},a){return Object.entries(o).reduce((c,[u,d])=>{let f=da(s,i[u],i[`custom${aU(u)}`]),m=a[u];return m?.color===f.color&&m?c[u]=m:c[u]={...f,class:Si(d,f.slug)},c},{})}render(){return(0,Vw.jsx)(r,{...this.props,colors:void 0,...this.state,...this.setters,colorUtils:this.colorUtils})}}])}function uU(e){return(...t)=>{let o=Wke(e);return(0,zf.createHigherOrderComponent)(cU(t,o),"withCustomColors")}}function dU(...e){let t=$ke();return(0,zf.createHigherOrderComponent)(cU(e,t),"withColors")}var Fw=l(R(),1),zw=l(F(),1);function th(e){if(e)return`has-${e}-gradient-background`}function jw(e,t){let o=e?.find(r=>r.slug===t);return o&&o.gradient}function fU(e,t){return e?.find(r=>r.gradient===t)}function mU(e,t){let o=fU(e,t);return o&&o.slug}function Kke({gradientAttribute:e="gradient",customGradientAttribute:t="customGradient"}={}){let{clientId:o}=Ie(),[r,n,i]=me("color.gradients.custom","color.gradients.theme","color.gradients.default"),s=(0,Fw.useMemo)(()=>[...r||[],...n||[],...i||[]],[r,n,i]),{gradient:a,customGradient:c}=(0,zw.useSelect)(h=>{let{getBlockAttributes:p}=h(_),g=p(o)||{};return{customGradient:g[t],gradient:g[e]}},[o,e,t]),{updateBlockAttributes:u}=(0,zw.useDispatch)(_),d=(0,Fw.useCallback)(h=>{let p=mU(s,h);if(p){u(o,{[e]:p,[t]:void 0});return}u(o,{[e]:void 0,[t]:h})},[s,o,u]),f=th(a),m;return a?m=jw(s,a):m=c,{gradientClass:f,gradientValue:m,setGradient:d}}var pU=l(A(),1);var{kebabCase:Yke}=M(pU.privateApis),oh=(e,t,o)=>{if(t){let r=e?.find(({slug:n})=>n===t);if(r)return r}return{size:o}};function cM(e,t){let o=e?.find(({size:r})=>r===t);return o||{size:t}}function hu(e){if(e)return`has-${Yke(e)}-font-size`}var qke="1600px",Zke="320px",Xke=1,Qke=.25,Jke=.75,eve="14px";function hU({minimumFontSize:e,maximumFontSize:t,fontSize:o,minimumViewportWidth:r=Zke,maximumViewportWidth:n=qke,scaleFactor:i=Xke,minimumFontSizeLimit:s}){if(s=gu(s)?s:eve,o){let y=gu(o);if(!y?.unit)return null;let S=gu(s,{coerceTo:y.unit});if(S?.value&&!e&&!t&&y?.value<=S?.value)return null;if(t||(t=`${y.value}${y.unit}`),!e){let x=y.unit==="px"?y.value:y.value*16,C=Math.min(Math.max(1-.075*Math.log2(x),Qke),Jke),B=Nv(y.value*C,3);S?.value&&Be.toUpperCase()+t.join(""),yU=(...e)=>{let t=e.reduce((o,r)=>(o[r]=`custom${kU(r)}`,o),{});return(0,Mv.createHigherOrderComponent)((0,Mv.compose)([(0,Mv.createHigherOrderComponent)(o=>function(n){let[i]=me("typography.fontSizes");return(0,dM.jsx)(o,{...n,fontSizes:i||ove})},"withFontSizes"),o=>class extends vU.Component{constructor(n){super(n),this.setters=this.createSetters(),this.state={}}createSetters(){return Object.entries(t).reduce((n,[i,s])=>{let a=kU(i);return n[`set${a}`]=this.createSetFontSize(i,s),n},{})}createSetFontSize(n,i){return s=>{let a=this.props.fontSizes?.find(({size:c})=>c===Number(s));this.props.setAttributes({[n]:a&&a.slug?a.slug:void 0,[i]:a&&a.slug?void 0:s})}}static getDerivedStateFromProps({attributes:n,fontSizes:i},s){let a=(u,d)=>s[d]?n[d]?n[d]!==s[d].slug:s[d].size!==n[u]:!0;if(!Object.values(t).some(a))return null;let c=Object.entries(t).filter(([u,d])=>a(d,u)).reduce((u,[d,f])=>{let m=n[d],h=oh(i,m,n[f]);return u[d]={...h,class:hu(m)},u},{});return{...s,...c}}render(){return(0,dM.jsx)(o,{...this.props,fontSizes:void 0,...this.state,...this.setters})}}]),"withFontSizes")};var bu=l(N(),1),Uw=l(A(),1);var SU=l(w(),1),rve=[{icon:Jc,title:(0,bu.__)("Align text left"),align:"left"},{icon:Sf,title:(0,bu.__)("Align text center"),align:"center"},{icon:eu,title:(0,bu.__)("Align text right"),align:"right"}],nve={placement:"bottom-start"};function ive({value:e,onChange:t,alignmentControls:o=rve,label:r=(0,bu.__)("Align text"),description:n=(0,bu.__)("Change text alignment"),isCollapsed:i=!0,isToolbar:s}){function a(m){return()=>t(e===m?void 0:m)}let c=o.find(m=>m.align===e);function u(){return c?c.icon:(0,bu.isRTL)()?eu:Jc}let d=s?Uw.ToolbarGroup:Uw.ToolbarDropdownMenu,f=s?{isCollapsed:i}:{toggleProps:{description:n},popoverProps:nve};return(0,SU.jsx)(d,{icon:u(),label:r,controls:o.map(m=>{let{align:h}=m;return{...m,isActive:e===h,role:i?"menuitemradio":void 0,onClick:a(h)}}),...f})}var fM=ive;var mM=l(w(),1),Hw=e=>(0,mM.jsx)(fM,{...e,isToolbar:!1}),_U=e=>(0,mM.jsx)(fM,{...e,isToolbar:!0});var Zw=l(ct(),1),Xw=l(A(),1),GU=l(R(),1),Qw=l($(),1);var NU=l(F(),1),vu=l($(),1),kM=l(R(),1);var RU=l(BU(),1);var pM=function(e,t){return pM=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,r){o.__proto__=r}||function(o,r){for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(o[n]=r[n])},pM(e,t)};function EU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");pM(e,t);function o(){this.constructor=e}e.prototype=t===null?Object.create(t):(o.prototype=t.prototype,new o)}var Fo=function(){return Fo=Object.assign||function(t){for(var o,r=1,n=arguments.length;re.name||"",mve=e=>e.title,pve=e=>e.description||"",hve=e=>e.keywords||[],gve=e=>e.category,bve=()=>null,kve=[/([\p{Ll}\p{Lo}\p{N}])([\p{Lu}\p{Lt}])/gu,/([\p{Lu}\p{Lt}])([\p{Lu}\p{Lt}][\p{Ll}\p{Lo}])/gu],vve=new RegExp("(\\p{C}|\\p{P}|\\p{S})+","giu"),hM=new Map,gM=new Map;function Ww(e=""){if(hM.has(e))return hM.get(e);let t=PU(e,{splitRegexp:kve,stripRegexp:vve}).split(" ").filter(Boolean);return hM.set(e,t),t}function Dv(e=""){if(gM.has(e))return gM.get(e);let t=(0,RU.default)(e);return t=t.replace(/^\//,""),t=t.toLowerCase(),gM.set(e,t),t}var Vv=(e="")=>Ww(Dv(e)),yve=(e,t)=>e.filter(o=>!Vv(t).some(r=>r.includes(o))),$w=(e,t,o,r)=>Vv(r).length===0?e:Fv(e,r,{getCategory:s=>t.find(({slug:a})=>a===s.category)?.title,getCollection:s=>o[s.name.split("/")[0]]?.title}),Fv=(e=[],t="",o={})=>{if(Vv(t).length===0)return e;let n=e.map(i=>[i,Sve(i,t,o)]).filter(([,i])=>i>0);return n.sort(([,i],[,s])=>s-i),n.map(([i])=>i)};function Sve(e,t,o={}){let{getName:r=fve,getTitle:n=mve,getDescription:i=pve,getKeywords:s=hve,getCategory:a=gve,getCollection:c=bve}=o,u=r(e),d=n(e),f=i(e),m=s(e),h=a(e),p=c(e),g=Dv(t),b=Dv(d),v=0;if(g===b)v+=30;else if(b.startsWith(g))v+=20;else{let k=[u,d,f,...m,h,p].join(" "),y=Ww(g);yve(y,k).length===0&&(v+=10)}if(v!==0&&u.startsWith("core/")){let k=u!==e.id;v+=k?1:2}return v}var pa=l($(),1),rh=l(F(),1),Kw=l(R(),1),OU=l(Ii(),1),Yw=l(N(),1);var _ve=(e,t,o)=>{let r=(0,Kw.useMemo)(()=>({[uu]:!!o}),[o]),[n]=(0,rh.useSelect)(d=>[d(_).getInserterItems(e,r)],[e,r]),{getClosestAllowedInsertionPoint:i}=M((0,rh.useSelect)(_)),{createErrorNotice:s}=(0,rh.useDispatch)(OU.store),[a,c]=(0,rh.useSelect)(d=>{let{getCategories:f,getCollections:m}=d(pa.store);return[f(),m()]},[]),u=(0,Kw.useCallback)(({name:d,initialAttributes:f,innerBlocks:m,syncStatus:h,content:p},g)=>{let b=i(d,e);if(b===null){let k=(0,pa.getBlockType)(d)?.title??d;s((0,Yw.sprintf)((0,Yw.__)(`Block "%s" can't be inserted.`),k),{type:"snackbar",id:"inserter-notice"});return}let v=h==="unsynced"?(0,pa.parse)(p,{__unstableSkipMigrationLogs:!0}):(0,pa.createBlock)(d,f,(0,pa.createBlocksFromInnerBlocksTemplate)(m));t(v,void 0,g,b)},[i,e,t,s]);return[n,a,c,u]},ku=_ve;var AU=l(A(),1);var LU=l(R(),1),bM=l(w(),1);function xve({icon:e,showColors:t=!1,className:o,context:r}){e?.src==="block-default"&&(e={src:Qk});let n=(0,bM.jsx)(AU.Icon,{icon:e&&e.src?e.src:e,context:r}),i=t?{backgroundColor:e&&e.background,color:e&&e.foreground}:{};return(0,bM.jsx)("span",{style:i,className:D("block-editor-block-icon",o,{"has-colors":t}),children:n})}var Ae=(0,LU.memo)(xve);var qw=(e,t)=>(t&&e.sort(({id:o},{id:r})=>{let n=t.indexOf(o),i=t.indexOf(r);return n<0&&(n=t.length),i<0&&(i=t.length),n-i}),e);var nh=l(w(),1),wve=()=>{},Cve=9;function Bve(){return{name:"blocks",className:"block-editor-autocompleters__block",triggerPrefix:"/",useItems(e){let{rootClientId:t,selectedBlockId:o,prioritizedBlocks:r}=(0,NU.useSelect)(u=>{let{getSelectedBlockClientId:d,getBlock:f,getBlockListSettings:m,getBlockRootClientId:h}=u(_),{getActiveBlockVariation:p}=u(vu.store),g=d(),{name:b,attributes:v}=f(g),k=p(b,v),y=h(g);return{selectedBlockId:k?`${b}/${k.name}`:b,rootClientId:y,prioritizedBlocks:m(y)?.prioritizedInserterBlocks}},[]),[n,i,s]=ku(t,wve,!0),a=(0,kM.useMemo)(()=>(e.trim()?$w(n,i,s,e):qw(ma(n,"frecency","desc"),r)).filter(d=>d.id!==o).slice(0,Cve),[e,o,n,i,s,r]);return[(0,kM.useMemo)(()=>a.map(u=>{let{title:d,icon:f,isDisabled:m}=u;return{key:`block-${u.id}`,value:u,label:(0,nh.jsxs)(nh.Fragment,{children:[(0,nh.jsx)(Ae,{icon:f,showColors:!0},"icon"),d]}),isDisabled:m}}),[a])]},allowContext(e,t){return!(/\S/.test(e)||/\S/.test(t))},getOptionCompletion(e){let{name:t,initialAttributes:o,innerBlocks:r,syncStatus:n,blocks:i}=e;return{action:"replace",value:n==="unsynced"?(i??[]).map(s=>(0,vu.cloneBlock)(s)):(0,vu.createBlock)(t,o,(0,vu.createBlocksFromInnerBlocksTemplate)(r))}}}}var MU=Bve();var zU=l(VU(),1),jU=l(dn(),1);var UU=l(vM(),1),jf=l(w(),1),Eve=10;function Tve(){return{name:"links",className:"block-editor-autocompleters__link",triggerPrefix:"[[",options:async e=>{let t=await(0,zU.default)({path:(0,jU.addQueryArgs)("/wp/v2/search",{per_page:Eve,search:e,type:"post",order_by:"menu_order"})});return t=t.filter(o=>o.title!==""),t},getOptionKeywords(e){return[...e.title.split(/\s+/)]},getOptionLabel(e){return(0,jf.jsxs)(jf.Fragment,{children:[(0,jf.jsx)(we,{icon:e.subtype==="page"?kl:$L},"icon"),(0,UU.decodeEntities)(e.title)]})},getOptionCompletion(e){return(0,jf.jsx)("a",{href:e.url,children:e.title})}}}var HU=Tve();var WU=l(w(),1),Ive=[];function $U({completers:e=Ive}){let{name:t}=Ie();return(0,GU.useMemo)(()=>{let o=[...e,HU];return(t===(0,Qw.getDefaultBlockName)()||(0,Qw.getBlockSupport)(t,"__experimentalSlashInserter",!1))&&(o=[...o,MU]),(0,Zw.hasFilter)("editor.Autocomplete.completers")&&(o===e&&(o=o.map(r=>({...r}))),o=(0,Zw.applyFilters)("editor.Autocomplete.completers",o,t)),o},[e,t])}function KU(e){return(0,Xw.__unstableUseAutocompleteProps)({...e,completers:$U(e)})}function Pve(e){return(0,WU.jsx)(Xw.Autocomplete,{...e,completers:$U(e)})}var YU=Pve;var wM=l(N(),1),xu=l(A(),1);var pH=l(F(),1);var nC=l(R(),1);var Pi=l(N(),1);var mn=l(A(),1);var ih=l(N(),1);var Un={default:{name:"default",slug:"flow",className:"is-layout-flow",baseStyles:[{selector:" > .alignleft",rules:{float:"left","margin-inline-start":"0","margin-inline-end":"2em"}},{selector:" > .alignright",rules:{float:"right","margin-inline-start":"2em","margin-inline-end":"0"}},{selector:" > .aligncenter",rules:{"margin-left":"auto !important","margin-right":"auto !important"}}],spacingStyles:[{selector:" > :first-child",rules:{"margin-block-start":"0"}},{selector:" > :last-child",rules:{"margin-block-end":"0"}},{selector:" > *",rules:{"margin-block-start":null,"margin-block-end":"0"}}]},constrained:{name:"constrained",slug:"constrained",className:"is-layout-constrained",baseStyles:[{selector:" > .alignleft",rules:{float:"left","margin-inline-start":"0","margin-inline-end":"2em"}},{selector:" > .alignright",rules:{float:"right","margin-inline-start":"2em","margin-inline-end":"0"}},{selector:" > .aligncenter",rules:{"margin-left":"auto !important","margin-right":"auto !important"}},{selector:" > :where(:not(.alignleft):not(.alignright):not(.alignfull))",rules:{"max-width":"var(--wp--style--global--content-size)","margin-left":"auto !important","margin-right":"auto !important"}},{selector:" > .alignwide",rules:{"max-width":"var(--wp--style--global--wide-size)"}}],spacingStyles:[{selector:" > :first-child",rules:{"margin-block-start":"0"}},{selector:" > :last-child",rules:{"margin-block-end":"0"}},{selector:" > *",rules:{"margin-block-start":null,"margin-block-end":"0"}}]},flex:{name:"flex",slug:"flex",className:"is-layout-flex",displayMode:"flex",baseStyles:[{selector:"",rules:{"flex-wrap":"wrap","align-items":"center"}},{selector:" > :is(*, div)",rules:{margin:"0"}}],spacingStyles:[{selector:"",rules:{gap:null}}]},grid:{name:"grid",slug:"grid",className:"is-layout-grid",displayMode:"grid",baseStyles:[{selector:" > :is(*, div)",rules:{margin:"0"}}],spacingStyles:[{selector:"",rules:{gap:null}}]}};function Hn(e,t=""){return e.split(",").map(o=>`${o}${t?` ${t}`:""}`).join(",")}function yu(e,t=Un,o,r){let n="";return t?.[o]?.spacingStyles?.length&&r&&t[o].spacingStyles.forEach(i=>{n+=`${Hn(e,i.selector.trim())} { `,n+=Object.entries(i.rules).map(([s,a])=>`${s}: ${a||r}`).join("; "),n+="; }"}),n}function Jw(e){let{contentSize:t,wideSize:o,type:r="default"}=e,n={},i=/^(?!0)\d+(px|em|rem|vw|vh|%|svw|lvw|dvw|svh|lvh|dvh|vi|svi|lvi|dvi|vb|svb|lvb|dvb|vmin|svmin|lvmin|dvmin|vmax|svmax|lvmax|dvmax)?$/i;return i.test(t)&&r==="constrained"&&(n.none=(0,ih.sprintf)((0,ih.__)("Max %s wide"),t)),i.test(o)&&(n.wide=(0,ih.sprintf)((0,ih.__)("Max %s wide"),o)),n}var _s=l(N(),1);var qU=8,Su=["top","right","bottom","left"],ZU={top:void 0,right:void 0,bottom:void 0,left:void 0},eC={custom:sw,axial:sw,horizontal:sN,vertical:uN,top:cN,right:lN,bottom:iN,left:aN},ha={default:(0,_s.__)("Spacing control"),top:(0,_s.__)("Top"),bottom:(0,_s.__)("Bottom"),left:(0,_s.__)("Left"),right:(0,_s.__)("Right"),mixed:(0,_s.__)("Mixed"),vertical:(0,_s.__)("Vertical"),horizontal:(0,_s.__)("Horizontal"),axial:(0,_s.__)("Horizontal & vertical"),custom:(0,_s.__)("Custom")},Cl={axial:"axial",top:"top",right:"right",bottom:"bottom",left:"left",custom:"custom"};function tC(e){return e?.includes?e==="0"||e.includes("var:preset|spacing|"):!1}function XU(e,t){if(!tC(e))return e;let o=Rve(e);return t.find(n=>String(n.slug)===o)?.size}function sh(e,t){if(!e||tC(e)||e==="0")return e;let o=t.find(r=>String(r.size)===String(e));return o?.slug?`var:preset|spacing|${o.slug}`:e}function zv(e){if(!e)return;let t=e.match(/var:preset\|spacing\|(.+)/);return t?`var(--wp--preset--spacing--${t[1]})`:e}function Rve(e){if(!e)return;if(e==="0"||e==="default")return e;let t=e.match(/var:preset\|spacing\|(.+)/);return t?t[1]:void 0}function yM(e,t){if(!e||!e.length)return!1;let o=e.includes("horizontal")||e.includes("left")&&e.includes("right"),r=e.includes("vertical")||e.includes("top")&&e.includes("bottom");return t==="horizontal"?o:t==="vertical"?r:o||r}function Ove(e=[]){let t={top:0,right:0,bottom:0,left:0};return e.forEach(o=>t[o]+=1),(t.top+t.bottom)%2===0&&(t.left+t.right)%2===0}function QU(e={},t){let{top:o,right:r,bottom:n,left:i}=e,s=[o,r,n,i].filter(Boolean),a=o===n&&i===r&&(!!o||!!i),c=!s.length&&Ove(t),u=t?.includes("horizontal")&&t?.includes("vertical")&&t?.length===2;if(yM(t)&&(a||c))return Cl.axial;if(u&&s.length===1){let d;return Object.entries(e).some(([f,m])=>(d=f,m!==void 0)),d}return t?.length===1&&!s.length?t[0]:Cl.custom}function Ave(e){if(!e)return null;let t=typeof e=="string";return{top:t?e:e?.top,left:t?e:e?.left}}function mr(e,t="0"){let o=Ave(e);if(!o)return null;let r=zv(o?.top)||t,n=zv(o?.left)||t;return r===n?r:`${r} ${n}`}var oo=l(w(),1),Lve={left:"flex-start",right:"flex-end",center:"center","space-between":"space-between"},JU={left:"flex-start",right:"flex-end",center:"center",stretch:"stretch"},Nve={top:"flex-start",center:"center",bottom:"flex-end",stretch:"stretch","space-between":"space-between"},eH={horizontal:"center",vertical:"top"},Mve=["wrap","nowrap"],oH={name:"flex",label:(0,Pi.__)("Flex"),inspectorControls:function({layout:t={},onChange:o,layoutBlockSupport:r={}}){let{allowOrientation:n=!0,allowJustification:i=!0,allowWrap:s=!0}=r;return(0,oo.jsxs)(oo.Fragment,{children:[(0,oo.jsxs)(mn.Flex,{children:[i&&(0,oo.jsx)(mn.FlexItem,{children:(0,oo.jsx)(tH,{layout:t,onChange:o})}),n&&(0,oo.jsx)(mn.FlexItem,{children:(0,oo.jsx)(zve,{layout:t,onChange:o})})]}),s&&(0,oo.jsx)(Fve,{layout:t,onChange:o})]})},toolBarControls:function({layout:t={},onChange:o,layoutBlockSupport:r}){let{allowVerticalAlignment:n=!0,allowJustification:i=!0}=r;return!i&&!n?null:(0,oo.jsxs)(Mt,{group:"block",__experimentalShareWithChildBlocks:!0,children:[i&&(0,oo.jsx)(tH,{layout:t,onChange:o,isToolbar:!0}),n&&(0,oo.jsx)(Dve,{layout:t,onChange:o})]})},getLayoutStyle:function({selector:t,layout:o,style:r,blockName:n,hasBlockGapSupport:i,globalBlockGapValue:s,layoutDefinitions:a=Un}){let{orientation:c="horizontal"}=o,u="0.5em";if(s){let k=mr(s,"0.5em").split(" ");u=k.length>1?k[1]:k[0]}let d=r?.spacing?.blockGap&&!Ue(n,"spacing","blockGap")?mr(r?.spacing?.blockGap,u):void 0,f=Lve[o.justifyContent],m=Mve.includes(o.flexWrap)?o.flexWrap:"wrap",h=Nve[o.verticalAlignment],p=JU[o.justifyContent]||JU.left,g="",b=[];return m&&m!=="wrap"&&b.push(`flex-wrap: ${m}`),c==="horizontal"?(h&&b.push(`align-items: ${h}`),f&&b.push(`justify-content: ${f}`)):(h&&b.push(`justify-content: ${h}`),b.push("flex-direction: column"),b.push(`align-items: ${p}`)),b.length&&(g=`${Hn(t)} { +`);return o=i[i.length-1],o=o.replace(/\S/g,""),!1}}),o}rawSemicolon(t){let o;return t.walk(r=>{if(r.nodes&&r.nodes.length&&r.last.type==="decl"&&(o=r.raws.semicolon,typeof o<"u"))return!1}),o}rawValue(t,o){let r=t[o],n=t.raws[o];return n&&n.value===r?n.raw:r}root(t){this.body(t),t.raws.after&&this.builder(t.raws.after)}rule(t){this.block(t,this.rawValue(t,"selector")),t.raws.ownSemicolon&&this.builder(t.raws.ownSemicolon,t,"end")}stringify(t,o){if(!this[t.type])throw new Error("Unknown AST node type "+t.type+". Maybe you need to change PostCSS stringifier.");this[t.type](t,o)}};JG.exports=Ey;Ey.default=Ey});var N1=oe((IHe,eW)=>{"use strict";var j_e=XD();function QD(e,t){new j_e(t).stringify(e)}eW.exports=QD;QD.default=QD});var JD=oe((PHe,oW)=>{"use strict";var tW={};oW.exports=function(t){tW[t]||(tW[t]=!0,typeof console<"u"&&console.warn&&console.warn(t))}});var M1=oe((RHe,e5)=>{"use strict";e5.exports.isClean=Symbol("isClean");e5.exports.my=Symbol("my")});var V1=oe((OHe,rW)=>{"use strict";var{isClean:D1,my:U_e}=M1(),H_e=R1(),G_e=XD(),W_e=N1();function t5(e,t){let o=new e.constructor;for(let r in e){if(!Object.prototype.hasOwnProperty.call(e,r)||r==="proxyCache")continue;let n=e[r],i=typeof n;r==="parent"&&i==="object"?t&&(o[r]=t):r==="source"?o[r]=n:Array.isArray(n)?o[r]=n.map(s=>t5(s,o)):(i==="object"&&n!==null&&(n=t5(n)),o[r]=n)}return o}var Ty=class{constructor(t={}){this.raws={},this[D1]=!1,this[U_e]=!0;for(let o in t)if(o==="nodes"){this.nodes=[];for(let r of t[o])typeof r.clone=="function"?this.append(r.clone()):this.append(r)}else this[o]=t[o]}addToError(t){if(t.postcssNode=this,t.stack&&this.source&&/\n\s{4}at /.test(t.stack)){let o=this.source;t.stack=t.stack.replace(/\n\s{4}at /,`$&${o.input.from}:${o.start.line}:${o.start.column}$&`)}return t}after(t){return this.parent.insertAfter(this,t),this}assign(t={}){for(let o in t)this[o]=t[o];return this}before(t){return this.parent.insertBefore(this,t),this}cleanRaws(t){delete this.raws.before,delete this.raws.after,t||delete this.raws.between}clone(t={}){let o=t5(this);for(let r in t)o[r]=t[r];return o}cloneAfter(t={}){let o=this.clone(t);return this.parent.insertAfter(this,o),o}cloneBefore(t={}){let o=this.clone(t);return this.parent.insertBefore(this,o),o}error(t,o={}){if(this.source){let{end:r,start:n}=this.rangeBy(o);return this.source.input.error(t,{column:n.column,line:n.line},{column:r.column,line:r.line},o)}return new H_e(t)}getProxyProcessor(){return{get(t,o){return o==="proxyOf"?t:o==="root"?()=>t.root().toProxy():t[o]},set(t,o,r){return t[o]===r||(t[o]=r,(o==="prop"||o==="value"||o==="name"||o==="params"||o==="important"||o==="text")&&t.markDirty()),!0}}}markDirty(){if(this[D1]){this[D1]=!1;let t=this;for(;t=t.parent;)t[D1]=!1}}next(){if(!this.parent)return;let t=this.parent.index(this);return this.parent.nodes[t+1]}positionBy(t,o){let r=this.source.start;if(t.index)r=this.positionInside(t.index,o);else if(t.word){o=this.toString();let n=o.indexOf(t.word);n!==-1&&(r=this.positionInside(n,o))}return r}positionInside(t,o){let r=o||this.toString(),n=this.source.start.column,i=this.source.start.line;for(let s=0;stypeof c=="object"&&c.toJSON?c.toJSON(null,o):c);else if(typeof a=="object"&&a.toJSON)r[s]=a.toJSON(null,o);else if(s==="source"){let c=o.get(a.input);c==null&&(c=i,o.set(a.input,i),i++),r[s]={end:a.end,inputId:c,start:a.start}}else r[s]=a}return n&&(r.inputs=[...o.keys()].map(s=>s.toJSON())),r}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(t=W_e){t.stringify&&(t=t.stringify);let o="";return t(this,r=>{o+=r}),o}warn(t,o,r){let n={node:this};for(let i in r)n[i]=r[i];return t.warn(o,n)}get proxyOf(){return this}};rW.exports=Ty;Ty.default=Ty});var o5=oe((AHe,nW)=>{"use strict";var $_e=V1(),Iy=class extends $_e{constructor(t){t&&typeof t.value<"u"&&typeof t.value!="string"&&(t={...t,value:String(t.value)}),super(t),this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}};nW.exports=Iy;Iy.default=Iy});var r5=oe((LHe,iW)=>{"use strict";var K_e=V1(),Py=class extends K_e{constructor(t){super(t),this.type="comment"}};iW.exports=Py;Py.default=Py});var rm=oe((NHe,pW)=>{"use strict";var{isClean:sW,my:aW}=M1(),lW=o5(),cW=r5(),Y_e=V1(),uW,n5,i5,dW;function fW(e){return e.map(t=>(t.nodes&&(t.nodes=fW(t.nodes)),delete t.source,t))}function mW(e){if(e[sW]=!1,e.proxyOf.nodes)for(let t of e.proxyOf.nodes)mW(t)}var Os=class e extends Y_e{append(...t){for(let o of t){let r=this.normalize(o,this.last);for(let n of r)this.proxyOf.nodes.push(n)}return this.markDirty(),this}cleanRaws(t){if(super.cleanRaws(t),this.nodes)for(let o of this.nodes)o.cleanRaws(t)}each(t){if(!this.proxyOf.nodes)return;let o=this.getIterator(),r,n;for(;this.indexes[o]t[o](...r.map(n=>typeof n=="function"?(i,s)=>n(i.toProxy(),s):n)):o==="every"||o==="some"?r=>t[o]((n,...i)=>r(n.toProxy(),...i)):o==="root"?()=>t.root().toProxy():o==="nodes"?t.nodes.map(r=>r.toProxy()):o==="first"||o==="last"?t[o].toProxy():t[o]:t[o]},set(t,o,r){return t[o]===r||(t[o]=r,(o==="name"||o==="params"||o==="selector")&&t.markDirty()),!0}}}index(t){return typeof t=="number"?t:(t.proxyOf&&(t=t.proxyOf),this.proxyOf.nodes.indexOf(t))}insertAfter(t,o){let r=this.index(t),n=this.normalize(o,this.proxyOf.nodes[r]).reverse();r=this.index(t);for(let s of n)this.proxyOf.nodes.splice(r+1,0,s);let i;for(let s in this.indexes)i=this.indexes[s],r"u")t=[];else if(Array.isArray(t)){t=t.slice(0);for(let n of t)n.parent&&n.parent.removeChild(n,"ignore")}else if(t.type==="root"&&this.type!=="document"){t=t.nodes.slice(0);for(let n of t)n.parent&&n.parent.removeChild(n,"ignore")}else if(t.type)t=[t];else if(t.prop){if(typeof t.value>"u")throw new Error("Value field is missed in node creation");typeof t.value!="string"&&(t.value=String(t.value)),t=[new lW(t)]}else if(t.selector)t=[new n5(t)];else if(t.name)t=[new i5(t)];else if(t.text)t=[new cW(t)];else throw new Error("Unknown node type in node creation");return t.map(n=>(n[aW]||e.rebuild(n),n=n.proxyOf,n.parent&&n.parent.removeChild(n),n[sW]&&mW(n),typeof n.raws.before>"u"&&o&&typeof o.raws.before<"u"&&(n.raws.before=o.raws.before.replace(/\S/g,"")),n.parent=this.proxyOf,n))}prepend(...t){t=t.reverse();for(let o of t){let r=this.normalize(o,this.first,"prepend").reverse();for(let n of r)this.proxyOf.nodes.unshift(n);for(let n in this.indexes)this.indexes[n]=this.indexes[n]+r.length}return this.markDirty(),this}push(t){return t.parent=this,this.proxyOf.nodes.push(t),this}removeAll(){for(let t of this.proxyOf.nodes)t.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(t){t=this.index(t),this.proxyOf.nodes[t].parent=void 0,this.proxyOf.nodes.splice(t,1);let o;for(let r in this.indexes)o=this.indexes[r],o>=t&&(this.indexes[r]=o-1);return this.markDirty(),this}replaceValues(t,o,r){return r||(r=o,o={}),this.walkDecls(n=>{o.props&&!o.props.includes(n.prop)||o.fast&&!n.value.includes(o.fast)||(n.value=n.value.replace(t,r))}),this.markDirty(),this}some(t){return this.nodes.some(t)}walk(t){return this.each((o,r)=>{let n;try{n=t(o,r)}catch(i){throw o.addToError(i)}return n!==!1&&o.walk&&(n=o.walk(t)),n})}walkAtRules(t,o){return o?t instanceof RegExp?this.walk((r,n)=>{if(r.type==="atrule"&&t.test(r.name))return o(r,n)}):this.walk((r,n)=>{if(r.type==="atrule"&&r.name===t)return o(r,n)}):(o=t,this.walk((r,n)=>{if(r.type==="atrule")return o(r,n)}))}walkComments(t){return this.walk((o,r)=>{if(o.type==="comment")return t(o,r)})}walkDecls(t,o){return o?t instanceof RegExp?this.walk((r,n)=>{if(r.type==="decl"&&t.test(r.prop))return o(r,n)}):this.walk((r,n)=>{if(r.type==="decl"&&r.prop===t)return o(r,n)}):(o=t,this.walk((r,n)=>{if(r.type==="decl")return o(r,n)}))}walkRules(t,o){return o?t instanceof RegExp?this.walk((r,n)=>{if(r.type==="rule"&&t.test(r.selector))return o(r,n)}):this.walk((r,n)=>{if(r.type==="rule"&&r.selector===t)return o(r,n)}):(o=t,this.walk((r,n)=>{if(r.type==="rule")return o(r,n)}))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}};Os.registerParse=e=>{uW=e};Os.registerRule=e=>{n5=e};Os.registerAtRule=e=>{i5=e};Os.registerRoot=e=>{dW=e};pW.exports=Os;Os.default=Os;Os.rebuild=e=>{e.type==="atrule"?Object.setPrototypeOf(e,i5.prototype):e.type==="rule"?Object.setPrototypeOf(e,n5.prototype):e.type==="decl"?Object.setPrototypeOf(e,lW.prototype):e.type==="comment"?Object.setPrototypeOf(e,cW.prototype):e.type==="root"&&Object.setPrototypeOf(e,dW.prototype),e[aW]=!0,e.nodes&&e.nodes.forEach(t=>{Os.rebuild(t)})}});var bW=oe((MHe,gW)=>{"use strict";var F1=/[\t\n\f\r "#'()/;[\\\]{}]/g,z1=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,q_e=/.[\r\n"'(/\\]/,hW=/[\da-f]/i;gW.exports=function(t,o={}){let r=t.css.valueOf(),n=o.ignoreErrors,i,s,a,c,u,d,f,m,h,p,g=r.length,b=0,v=[],k=[];function y(){return b}function S(I){throw t.error("Unclosed "+I,b)}function x(){return k.length===0&&b>=g}function C(I){if(k.length)return k.pop();if(b>=g)return;let P=I?I.ignoreUnclosed:!1;switch(i=r.charCodeAt(b),i){case 10:case 32:case 9:case 13:case 12:{s=b;do s+=1,i=r.charCodeAt(s);while(i===32||i===10||i===9||i===13||i===12);p=["space",r.slice(b,s)],b=s-1;break}case 91:case 93:case 123:case 125:case 58:case 59:case 41:{let E=String.fromCharCode(i);p=[E,E,b];break}case 40:{if(m=v.length?v.pop()[1]:"",h=r.charCodeAt(b+1),m==="url"&&h!==39&&h!==34&&h!==32&&h!==10&&h!==9&&h!==12&&h!==13){s=b;do{if(d=!1,s=r.indexOf(")",s+1),s===-1)if(n||P){s=b;break}else S("bracket");for(f=s;r.charCodeAt(f-1)===92;)f-=1,d=!d}while(d);p=["brackets",r.slice(b,s+1),b,s],b=s}else s=r.indexOf(")",b+1),c=r.slice(b,s+1),s===-1||q_e.test(c)?p=["(","(",b]:(p=["brackets",c,b,s],b=s);break}case 39:case 34:{a=i===39?"'":'"',s=b;do{if(d=!1,s=r.indexOf(a,s+1),s===-1)if(n||P){s=b+1;break}else S("string");for(f=s;r.charCodeAt(f-1)===92;)f-=1,d=!d}while(d);p=["string",r.slice(b,s+1),b,s],b=s;break}case 64:{F1.lastIndex=b+1,F1.test(r),F1.lastIndex===0?s=r.length-1:s=F1.lastIndex-2,p=["at-word",r.slice(b,s+1),b,s],b=s;break}case 92:{for(s=b,u=!0;r.charCodeAt(s+1)===92;)s+=1,u=!u;if(i=r.charCodeAt(s+1),u&&i!==47&&i!==32&&i!==10&&i!==9&&i!==13&&i!==12&&(s+=1,hW.test(r.charAt(s)))){for(;hW.test(r.charAt(s+1));)s+=1;r.charCodeAt(s+1)===32&&(s+=1)}p=["word",r.slice(b,s+1),b,s],b=s;break}default:{i===47&&r.charCodeAt(b+1)===42?(s=r.indexOf("*/",b+2)+1,s===0&&(n||P?s=r.length:S("comment")),p=["comment",r.slice(b,s+1),b,s],b=s):(z1.lastIndex=b+1,z1.test(r),z1.lastIndex===0?s=r.length-1:s=z1.lastIndex-2,p=["word",r.slice(b,s+1),b,s],v.push(p),b=s);break}}return b++,p}function B(I){k.push(I)}return{back:B,endOfFile:x,nextToken:C,position:y}}});var yW=oe((DHe,vW)=>{"use strict";var kW=rm(),Dh=class extends kW{constructor(t){super(t),this.type="atrule"}append(...t){return this.proxyOf.nodes||(this.nodes=[]),super.append(...t)}prepend(...t){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...t)}};vW.exports=Dh;Dh.default=Dh;kW.registerAtRule(Dh)});var j1=oe((VHe,wW)=>{"use strict";var SW=rm(),_W,xW,Fu=class extends SW{constructor(t){super(t),this.type="root",this.nodes||(this.nodes=[])}normalize(t,o,r){let n=super.normalize(t);if(o){if(r==="prepend")this.nodes.length>1?o.raws.before=this.nodes[1].raws.before:delete o.raws.before;else if(this.first!==o)for(let i of n)i.raws.before=o.raws.before}return n}removeChild(t,o){let r=this.index(t);return!o&&r===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[r].raws.before),super.removeChild(t)}toResult(t={}){return new _W(new xW,this,t).stringify()}};Fu.registerLazyResult=e=>{_W=e};Fu.registerProcessor=e=>{xW=e};wW.exports=Fu;Fu.default=Fu;SW.registerRoot(Fu)});var BW=oe((FHe,CW)=>{"use strict";var Ry={comma(e){return Ry.split(e,[","],!0)},space(e){let t=[" ",` +`," "];return Ry.split(e,t)},split(e,t,o){let r=[],n="",i=!1,s=0,a=!1,c="",u=!1;for(let d of e)u?u=!1:d==="\\"?u=!0:a?d===c&&(a=!1):d==='"'||d==="'"?(a=!0,c=d):d==="("?s+=1:d===")"?s>0&&(s-=1):s===0&&t.includes(d)&&(i=!0),i?(n!==""&&r.push(n.trim()),n="",i=!1):n+=d;return(o||n!=="")&&r.push(n.trim()),r}};CW.exports=Ry;Ry.default=Ry});var IW=oe((zHe,TW)=>{"use strict";var EW=rm(),Z_e=BW(),Vh=class extends EW{constructor(t){super(t),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return Z_e.comma(this.selector)}set selectors(t){let o=this.selector?this.selector.match(/,\s*/):null,r=o?o[0]:","+this.raw("between","beforeOpen");this.selector=t.join(r)}};TW.exports=Vh;Vh.default=Vh;EW.registerRule(Vh)});var AW=oe((jHe,OW)=>{"use strict";var X_e=o5(),Q_e=bW(),J_e=r5(),e0e=yW(),t0e=j1(),PW=IW(),RW={empty:!0,space:!0};function o0e(e){for(let t=e.length-1;t>=0;t--){let o=e[t],r=o[3]||o[2];if(r)return r}}var s5=class{constructor(t){this.input=t,this.root=new t0e,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:t,start:{column:1,line:1,offset:0}}}atrule(t){let o=new e0e;o.name=t[1].slice(1),o.name===""&&this.unnamedAtrule(o,t),this.init(o,t[2]);let r,n,i,s=!1,a=!1,c=[],u=[];for(;!this.tokenizer.endOfFile();){if(t=this.tokenizer.nextToken(),r=t[0],r==="("||r==="["?u.push(r==="("?")":"]"):r==="{"&&u.length>0?u.push("}"):r===u[u.length-1]&&u.pop(),u.length===0)if(r===";"){o.source.end=this.getPosition(t[2]),o.source.end.offset++,this.semicolon=!0;break}else if(r==="{"){a=!0;break}else if(r==="}"){if(c.length>0){for(i=c.length-1,n=c[i];n&&n[0]==="space";)n=c[--i];n&&(o.source.end=this.getPosition(n[3]||n[2]),o.source.end.offset++)}this.end(t);break}else c.push(t);else c.push(t);if(this.tokenizer.endOfFile()){s=!0;break}}o.raws.between=this.spacesAndCommentsFromEnd(c),c.length?(o.raws.afterName=this.spacesAndCommentsFromStart(c),this.raw(o,"params",c),s&&(t=c[c.length-1],o.source.end=this.getPosition(t[3]||t[2]),o.source.end.offset++,this.spaces=o.raws.between,o.raws.between="")):(o.raws.afterName="",o.params=""),a&&(o.nodes=[],this.current=o)}checkMissedSemicolon(t){let o=this.colon(t);if(o===!1)return;let r=0,n;for(let i=o-1;i>=0&&(n=t[i],!(n[0]!=="space"&&(r+=1,r===2)));i--);throw this.input.error("Missed semicolon",n[0]==="word"?n[3]+1:n[2])}colon(t){let o=0,r,n,i;for(let[s,a]of t.entries()){if(r=a,n=r[0],n==="("&&(o+=1),n===")"&&(o-=1),o===0&&n===":")if(!i)this.doubleColon(r);else{if(i[0]==="word"&&i[1]==="progid")continue;return s}i=r}return!1}comment(t){let o=new J_e;this.init(o,t[2]),o.source.end=this.getPosition(t[3]||t[2]),o.source.end.offset++;let r=t[1].slice(2,-2);if(/^\s*$/.test(r))o.text="",o.raws.left=r,o.raws.right="";else{let n=r.match(/^(\s*)([^]*\S)(\s*)$/);o.text=n[2],o.raws.left=n[1],o.raws.right=n[3]}}createTokenizer(){this.tokenizer=Q_e(this.input)}decl(t,o){let r=new X_e;this.init(r,t[0][2]);let n=t[t.length-1];for(n[0]===";"&&(this.semicolon=!0,t.pop()),r.source.end=this.getPosition(n[3]||n[2]||o0e(t)),r.source.end.offset++;t[0][0]!=="word";)t.length===1&&this.unknownWord(t),r.raws.before+=t.shift()[1];for(r.source.start=this.getPosition(t[0][2]),r.prop="";t.length;){let u=t[0][0];if(u===":"||u==="space"||u==="comment")break;r.prop+=t.shift()[1]}r.raws.between="";let i;for(;t.length;)if(i=t.shift(),i[0]===":"){r.raws.between+=i[1];break}else i[0]==="word"&&/\w/.test(i[1])&&this.unknownWord([i]),r.raws.between+=i[1];(r.prop[0]==="_"||r.prop[0]==="*")&&(r.raws.before+=r.prop[0],r.prop=r.prop.slice(1));let s=[],a;for(;t.length&&(a=t[0][0],!(a!=="space"&&a!=="comment"));)s.push(t.shift());this.precheckMissedSemicolon(t);for(let u=t.length-1;u>=0;u--){if(i=t[u],i[1].toLowerCase()==="!important"){r.important=!0;let d=this.stringFrom(t,u);d=this.spacesFromEnd(t)+d,d!==" !important"&&(r.raws.important=d);break}else if(i[1].toLowerCase()==="important"){let d=t.slice(0),f="";for(let m=u;m>0;m--){let h=d[m][0];if(f.trim().indexOf("!")===0&&h!=="space")break;f=d.pop()[1]+f}f.trim().indexOf("!")===0&&(r.important=!0,r.raws.important=f,t=d)}if(i[0]!=="space"&&i[0]!=="comment")break}t.some(u=>u[0]!=="space"&&u[0]!=="comment")&&(r.raws.between+=s.map(u=>u[1]).join(""),s=[]),this.raw(r,"value",s.concat(t),o),r.value.includes(":")&&!o&&this.checkMissedSemicolon(t)}doubleColon(t){throw this.input.error("Double colon",{offset:t[2]},{offset:t[2]+t[1].length})}emptyRule(t){let o=new PW;this.init(o,t[2]),o.selector="",o.raws.between="",this.current=o}end(t){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(t[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(t)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(t){if(this.spaces+=t[1],this.current.nodes){let o=this.current.nodes[this.current.nodes.length-1];o&&o.type==="rule"&&!o.raws.ownSemicolon&&(o.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(t){let o=this.input.fromOffset(t);return{column:o.col,line:o.line,offset:t}}init(t,o){this.current.push(t),t.source={input:this.input,start:this.getPosition(o)},t.raws.before=this.spaces,this.spaces="",t.type!=="comment"&&(this.semicolon=!1)}other(t){let o=!1,r=null,n=!1,i=null,s=[],a=t[1].startsWith("--"),c=[],u=t;for(;u;){if(r=u[0],c.push(u),r==="("||r==="[")i||(i=u),s.push(r==="("?")":"]");else if(a&&n&&r==="{")i||(i=u),s.push("}");else if(s.length===0)if(r===";")if(n){this.decl(c,a);return}else break;else if(r==="{"){this.rule(c);return}else if(r==="}"){this.tokenizer.back(c.pop()),o=!0;break}else r===":"&&(n=!0);else r===s[s.length-1]&&(s.pop(),s.length===0&&(i=null));u=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(o=!0),s.length>0&&this.unclosedBracket(i),o&&n){if(!a)for(;c.length&&(u=c[c.length-1][0],!(u!=="space"&&u!=="comment"));)this.tokenizer.back(c.pop());this.decl(c,a)}else this.unknownWord(c)}parse(){let t;for(;!this.tokenizer.endOfFile();)switch(t=this.tokenizer.nextToken(),t[0]){case"space":this.spaces+=t[1];break;case";":this.freeSemicolon(t);break;case"}":this.end(t);break;case"comment":this.comment(t);break;case"at-word":this.atrule(t);break;case"{":this.emptyRule(t);break;default:this.other(t);break}this.endFile()}precheckMissedSemicolon(){}raw(t,o,r,n){let i,s,a=r.length,c="",u=!0,d,f;for(let m=0;mh+p[1],"");t.raws[o]={raw:m,value:c}}t[o]=c}rule(t){t.pop();let o=new PW;this.init(o,t[0][2]),o.raws.between=this.spacesAndCommentsFromEnd(t),this.raw(o,"selector",t),this.current=o}spacesAndCommentsFromEnd(t){let o,r="";for(;t.length&&(o=t[t.length-1][0],!(o!=="space"&&o!=="comment"));)r=t.pop()[1]+r;return r}spacesAndCommentsFromStart(t){let o,r="";for(;t.length&&(o=t[0][0],!(o!=="space"&&o!=="comment"));)r+=t.shift()[1];return r}spacesFromEnd(t){let o,r="";for(;t.length&&(o=t[t.length-1][0],o==="space");)r=t.pop()[1]+r;return r}stringFrom(t,o){let r="";for(let n=o;n{"use strict";var r0e=rm(),n0e=AW(),i0e=YD();function U1(e,t){let o=new i0e(e,t),r=new n0e(o);try{r.parse()}catch(n){throw n}return r.root}LW.exports=U1;U1.default=U1;r0e.registerParse(U1)});var MW=oe((HHe,NW)=>{"use strict";var Oy=class{constructor(t,o={}){if(this.type="warning",this.text=t,o.node&&o.node.source){let r=o.node.rangeBy(o);this.line=r.start.line,this.column=r.start.column,this.endLine=r.end.line,this.endColumn=r.end.column}for(let r in o)this[r]=o[r]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}};NW.exports=Oy;Oy.default=Oy});var l5=oe((GHe,DW)=>{"use strict";var s0e=MW(),Ay=class{constructor(t,o,r){this.processor=t,this.messages=[],this.root=o,this.opts=r,this.css=void 0,this.map=void 0}toString(){return this.css}warn(t,o={}){o.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(o.plugin=this.lastPlugin.postcssPlugin);let r=new s0e(t,o);return this.messages.push(r),r}warnings(){return this.messages.filter(t=>t.type==="warning")}get content(){return this.css}};DW.exports=Ay;Ay.default=Ay});var FW=oe(($He,VW)=>{"use strict";var a0e=ZD(),l0e=N1(),WHe=JD(),c0e=a5(),u0e=l5(),Ly=class{constructor(t,o,r){o=o.toString(),this.stringified=!1,this._processor=t,this._css=o,this._opts=r,this._map=void 0;let n,i=l0e;this.result=new u0e(this._processor,n,this._opts),this.result.css=o;let s=this;Object.defineProperty(this.result,"root",{get(){return s.root}});let a=new a0e(i,n,this._opts,o);if(a.isMap()){let[c,u]=a.generate();c&&(this.result.css=c),u&&(this.result.map=u)}else a.clearAnnotation(),this.result.css=a.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(t){return this.async().catch(t)}finally(t){return this.async().then(t,t)}sync(){if(this.error)throw this.error;return this.result}then(t,o){return this.async().then(t,o)}toString(){return this._css}warnings(){return[]}get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let t,o=c0e;try{t=o(this._css,this._opts)}catch(r){this.error=r}if(this.error)throw this.error;return this._root=t,t}get[Symbol.toStringTag](){return"NoWorkResult"}};VW.exports=Ly;Ly.default=Ly});var c5=oe((KHe,UW)=>{"use strict";var d0e=rm(),zW,jW,nm=class extends d0e{constructor(t){super({type:"document",...t}),this.nodes||(this.nodes=[])}toResult(t={}){return new zW(new jW,this,t).stringify()}};nm.registerLazyResult=e=>{zW=e};nm.registerProcessor=e=>{jW=e};UW.exports=nm;nm.default=nm});var KW=oe((qHe,$W)=>{"use strict";var{isClean:xa,my:f0e}=M1(),m0e=ZD(),p0e=N1(),h0e=rm(),g0e=c5(),YHe=JD(),HW=l5(),b0e=a5(),k0e=j1(),v0e={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},y0e={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},S0e={Once:!0,postcssPlugin:!0,prepare:!0},Fh=0;function Ny(e){return typeof e=="object"&&typeof e.then=="function"}function WW(e){let t=!1,o=v0e[e.type];return e.type==="decl"?t=e.prop.toLowerCase():e.type==="atrule"&&(t=e.name.toLowerCase()),t&&e.append?[o,o+"-"+t,Fh,o+"Exit",o+"Exit-"+t]:t?[o,o+"-"+t,o+"Exit",o+"Exit-"+t]:e.append?[o,Fh,o+"Exit"]:[o,o+"Exit"]}function GW(e){let t;return e.type==="document"?t=["Document",Fh,"DocumentExit"]:e.type==="root"?t=["Root",Fh,"RootExit"]:t=WW(e),{eventIndex:0,events:t,iterator:0,node:e,visitorIndex:0,visitors:[]}}function u5(e){return e[xa]=!1,e.nodes&&e.nodes.forEach(t=>u5(t)),e}var d5={},zu=class e{constructor(t,o,r){this.stringified=!1,this.processed=!1;let n;if(typeof o=="object"&&o!==null&&(o.type==="root"||o.type==="document"))n=u5(o);else if(o instanceof e||o instanceof HW)n=u5(o.root),o.map&&(typeof r.map>"u"&&(r.map={}),r.map.inline||(r.map.inline=!1),r.map.prev=o.map);else{let i=b0e;r.syntax&&(i=r.syntax.parse),r.parser&&(i=r.parser),i.parse&&(i=i.parse);try{n=i(o,r)}catch(s){this.processed=!0,this.error=s}n&&!n[f0e]&&h0e.rebuild(n)}this.result=new HW(t,n,r),this.helpers={...d5,postcss:d5,result:this.result},this.plugins=this.processor.plugins.map(i=>typeof i=="object"&&i.prepare?{...i,...i.prepare(this.result)}:i)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(t){return this.async().catch(t)}finally(t){return this.async().then(t,t)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(t,o){let r=this.result.lastPlugin;try{o&&o.addToError(t),this.error=t,t.name==="CssSyntaxError"&&!t.plugin?(t.plugin=r.postcssPlugin,t.setMessage()):r.postcssVersion}catch(n){console&&console.error&&console.error(n)}return t}prepareVisitors(){this.listeners={};let t=(o,r,n)=>{this.listeners[r]||(this.listeners[r]=[]),this.listeners[r].push([o,n])};for(let o of this.plugins)if(typeof o=="object")for(let r in o){if(!y0e[r]&&/^[A-Z]/.test(r))throw new Error(`Unknown event ${r} in ${o.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!S0e[r])if(typeof o[r]=="object")for(let n in o[r])n==="*"?t(o,r,o[r][n]):t(o,r+"-"+n.toLowerCase(),o[r][n]);else typeof o[r]=="function"&&t(o,r,o[r])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let t=0;t0;){let r=this.visitTick(o);if(Ny(r))try{await r}catch(n){let i=o[o.length-1].node;throw this.handleError(n,i)}}}if(this.listeners.OnceExit)for(let[o,r]of this.listeners.OnceExit){this.result.lastPlugin=o;try{if(t.type==="document"){let n=t.nodes.map(i=>r(i,this.helpers));await Promise.all(n)}else await r(t,this.helpers)}catch(n){throw this.handleError(n)}}}return this.processed=!0,this.stringify()}runOnRoot(t){this.result.lastPlugin=t;try{if(typeof t=="object"&&t.Once){if(this.result.root.type==="document"){let o=this.result.root.nodes.map(r=>t.Once(r,this.helpers));return Ny(o[0])?Promise.all(o):o}return t.Once(this.result.root,this.helpers)}else if(typeof t=="function")return t(this.result.root,this.result)}catch(o){throw this.handleError(o)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let t=this.result.opts,o=p0e;t.syntax&&(o=t.syntax.stringify),t.stringifier&&(o=t.stringifier),o.stringify&&(o=o.stringify);let n=new m0e(o,this.result.root,this.result.opts).generate();return this.result.css=n[0],this.result.map=n[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let t of this.plugins){let o=this.runOnRoot(t);if(Ny(o))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let t=this.result.root;for(;!t[xa];)t[xa]=!0,this.walkSync(t);if(this.listeners.OnceExit)if(t.type==="document")for(let o of t.nodes)this.visitSync(this.listeners.OnceExit,o);else this.visitSync(this.listeners.OnceExit,t)}return this.result}then(t,o){return this.async().then(t,o)}toString(){return this.css}visitSync(t,o){for(let[r,n]of t){this.result.lastPlugin=r;let i;try{i=n(o,this.helpers)}catch(s){throw this.handleError(s,o.proxyOf)}if(o.type!=="root"&&o.type!=="document"&&!o.parent)return!0;if(Ny(i))throw this.getAsyncError()}}visitTick(t){let o=t[t.length-1],{node:r,visitors:n}=o;if(r.type!=="root"&&r.type!=="document"&&!r.parent){t.pop();return}if(n.length>0&&o.visitorIndex{n[xa]||this.walkSync(n)});else{let n=this.listeners[r];if(n&&this.visitSync(n,t.toProxy()))return}}warnings(){return this.sync().warnings()}get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}};zu.registerPostcss=e=>{d5=e};$W.exports=zu;zu.default=zu;k0e.registerLazyResult(zu);g0e.registerLazyResult(zu)});var qW=oe((ZHe,YW)=>{"use strict";var _0e=FW(),x0e=KW(),w0e=c5(),C0e=j1(),im=class{constructor(t=[]){this.version="8.4.38",this.plugins=this.normalize(t)}normalize(t){let o=[];for(let r of t)if(r.postcss===!0?r=r():r.postcss&&(r=r.postcss),typeof r=="object"&&Array.isArray(r.plugins))o=o.concat(r.plugins);else if(typeof r=="object"&&r.postcssPlugin)o.push(r);else if(typeof r=="function")o.push(r);else if(!(typeof r=="object"&&(r.parse||r.stringify)))throw new Error(r+" is not a PostCSS plugin");return o}process(t,o={}){return!this.plugins.length&&!o.parser&&!o.stringifier&&!o.syntax?new _0e(this,t,o):new x0e(this,t,o)}use(t){return this.plugins=this.plugins.concat(this.normalize([t])),this}};YW.exports=im;im.default=im;C0e.registerProcessor(im);w0e.registerProcessor(im)});var QW=oe((XHe,XW)=>{XW.exports=function(t){let o=t.prefix,r=/\s+$/.test(o)?o:`${o} `,n=t.ignoreFiles?[].concat(t.ignoreFiles):[],i=t.includeFiles?[].concat(t.includeFiles):[];return function(s){n.length&&s.source.input.file&&ZW(s.source.input.file,n)||i.length&&s.source.input.file&&!ZW(s.source.input.file,i)||s.walkRules(a=>{let c=["keyframes","-webkit-keyframes","-moz-keyframes","-o-keyframes","-ms-keyframes"];a.parent&&c.includes(a.parent.name)||(a.selectors=a.selectors.map(u=>t.exclude&&B0e(u,t.exclude)?u:t.transform?t.transform(o,u,r+u,s.source.input.file,a):r+u))})}};function ZW(e,t){return t.some(o=>o instanceof RegExp?o.test(e):e.includes(o))}function B0e(e,t){return t.some(o=>o instanceof RegExp?o.test(e):e===o)}});var e$=oe((QHe,JW)=>{var f5=40,m5=41,H1=39,p5=34,h5=92,zh=47,g5=44,b5=58,G1=42,E0e=117,T0e=85,I0e=43,P0e=/^[a-f0-9?-]+$/i;JW.exports=function(e){for(var t=[],o=e,r,n,i,s,a,c,u,d,f=0,m=o.charCodeAt(f),h=o.length,p=[{nodes:t}],g=0,b,v="",k="",y="";f{t$.exports=function e(t,o,r){var n,i,s,a;for(n=0,i=t.length;n{function r$(e,t){var o=e.type,r=e.value,n,i;return t&&(i=t(e))!==void 0?i:o==="word"||o==="space"?r:o==="string"?(n=e.quote||"",n+r+(e.unclosed?"":n)):o==="comment"?"/*"+r+(e.unclosed?"":"*/"):o==="div"?(e.before||"")+r+(e.after||""):Array.isArray(e.nodes)?(n=n$(e.nodes,t),o!=="function"?n:r+"("+(e.before||"")+n+(e.after||"")+(e.unclosed?"":")")):r}function n$(e,t){var o,r;if(Array.isArray(e)){for(o="",r=e.length-1;~r;r-=1)o=r$(e[r],t)+o;return o}return r$(e,t)}i$.exports=n$});var l$=oe((t8e,a$)=>{var W1=45,$1=43,k5=46,R0e=101,O0e=69;function A0e(e){var t=e.charCodeAt(0),o;if(t===$1||t===W1){if(o=e.charCodeAt(1),o>=48&&o<=57)return!0;var r=e.charCodeAt(2);return o===k5&&r>=48&&r<=57}return t===k5?(o=e.charCodeAt(1),o>=48&&o<=57):t>=48&&t<=57}a$.exports=function(e){var t=0,o=e.length,r,n,i;if(o===0||!A0e(e))return!1;for(r=e.charCodeAt(t),(r===$1||r===W1)&&t++;t57));)t+=1;if(r=e.charCodeAt(t),n=e.charCodeAt(t+1),r===k5&&n>=48&&n<=57)for(t+=2;t57));)t+=1;if(r=e.charCodeAt(t),n=e.charCodeAt(t+1),i=e.charCodeAt(t+2),(r===R0e||r===O0e)&&(n>=48&&n<=57||(n===$1||n===W1)&&i>=48&&i<=57))for(t+=n===$1||n===W1?3:2;t57));)t+=1;return{number:e.slice(0,t),unit:e.slice(t)}}});var f$=oe((o8e,d$)=>{var L0e=e$(),c$=o$(),u$=s$();function ju(e){return this instanceof ju?(this.nodes=L0e(e),this):new ju(e)}ju.prototype.toString=function(){return Array.isArray(this.nodes)?u$(this.nodes):""};ju.prototype.walk=function(e,t){return c$(this.nodes,e,t),this};ju.unit=l$();ju.walk=c$;ju.stringify=u$;d$.exports=ju});var p$=oe((r8e,v5)=>{var m$=f$();v5.exports=e=>{let o=Object.assign({skipHostRelativeUrls:!0},e);return{postcssPlugin:"rebaseUrl",Declaration(r){let n=m$(r.value),i=!1;n.walk(s=>{if(s.type!=="function"||s.value!=="url")return;let a=s.nodes[0].value,c=new URL(a,e.rootUrl);return c.pathname===a&&o.skipHostRelativeUrls||(s.nodes[0].value=c.toString(),i=!0),!1}),i&&(r.value=m$.stringify(n))}}};v5.exports.postcss=!0});var E$=oe((b8e,B$)=>{B$.exports=window.wp.priorityQueue});var D5=oe((u9e,BK)=>{BK.exports=window.wp.blob});var Qy=oe((LWe,NY)=>{NY.exports=window.wp.isShallowEqual});var qE=oe((Hqe,BX)=>{BX.exports=window.wp.tokenList});var LV=oe((tZe,zX)=>{"use strict";var g1e=function(t){return b1e(t)&&!k1e(t)};function b1e(e){return!!e&&typeof e=="object"}function k1e(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||S1e(e)}var v1e=typeof Symbol=="function"&&Symbol.for,y1e=v1e?Symbol.for("react.element"):60103;function S1e(e){return e.$$typeof===y1e}function _1e(e){return Array.isArray(e)?[]:{}}function _S(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Pg(_1e(e),e,t):e}function x1e(e,t,o){return e.concat(t).map(function(r){return _S(r,o)})}function w1e(e,t){if(!t.customMerge)return Pg;var o=t.customMerge(e);return typeof o=="function"?o:Pg}function C1e(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function VX(e){return Object.keys(e).concat(C1e(e))}function FX(e,t){try{return t in e}catch{return!1}}function B1e(e,t){return FX(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function E1e(e,t,o){var r={};return o.isMergeableObject(e)&&VX(e).forEach(function(n){r[n]=_S(e[n],o)}),VX(t).forEach(function(n){B1e(e,n)||(FX(e,n)&&o.isMergeableObject(t[n])?r[n]=w1e(n,o)(e[n],t[n],o):r[n]=_S(t[n],o))}),r}function Pg(e,t,o){o=o||{},o.arrayMerge=o.arrayMerge||x1e,o.isMergeableObject=o.isMergeableObject||g1e,o.cloneUnlessOtherwiseSpecified=_S;var r=Array.isArray(t),n=Array.isArray(e),i=r===n;return i?r?o.arrayMerge(e,t,o):E1e(e,t,o):_S(t,o)}Pg.all=function(t,o){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(r,n){return Pg(r,n,o)},{})};var T1e=Pg;zX.exports=T1e});var YQ=oe((RQe,KQ)=>{KQ.exports=window.wp.commands});var pc=oe((cot,dte)=>{dte.exports=window.wp.date});var Gte=oe((Zot,Hte)=>{var Vte=!1,Gm,A3,L3,pI,hI,Fte,gI,N3,M3,D3,zte,V3,F3,jte,Ute;function En(){if(!Vte){Vte=!0;var e=navigator.userAgent,t=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),o=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(V3=/\b(iPhone|iP[ao]d)/.exec(e),F3=/\b(iP[ao]d)/.exec(e),D3=/Android/i.exec(e),jte=/FBAN\/\w+;/i.exec(e),Ute=/Mobile/i.exec(e),zte=!!/Win64/.exec(e),t){Gm=t[1]?parseFloat(t[1]):t[5]?parseFloat(t[5]):NaN,Gm&&document&&document.documentMode&&(Gm=document.documentMode);var r=/(?:Trident\/(\d+.\d+))/.exec(e);Fte=r?parseFloat(r[1])+4:Gm,A3=t[2]?parseFloat(t[2]):NaN,L3=t[3]?parseFloat(t[3]):NaN,pI=t[4]?parseFloat(t[4]):NaN,pI?(t=/(?:Chrome\/(\d+\.\d+))/.exec(e),hI=t&&t[1]?parseFloat(t[1]):NaN):hI=NaN}else Gm=A3=L3=hI=pI=NaN;if(o){if(o[1]){var n=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);gI=n?parseFloat(n[1].replace("_",".")):!0}else gI=!1;N3=!!o[2],M3=!!o[3]}else gI=N3=M3=!1}}var z3={ie:function(){return En()||Gm},ieCompatibilityMode:function(){return En()||Fte>Gm},ie64:function(){return z3.ie()&&zte},firefox:function(){return En()||A3},opera:function(){return En()||L3},webkit:function(){return En()||pI},safari:function(){return z3.webkit()},chrome:function(){return En()||hI},windows:function(){return En()||N3},osx:function(){return En()||gI},linux:function(){return En()||M3},iphone:function(){return En()||V3},mobile:function(){return En()||V3||F3||D3||Ute},nativeApp:function(){return En()||jte},android:function(){return En()||D3},ipad:function(){return En()||F3}};Hte.exports=z3});var $te=oe((Xot,Wte)=>{"use strict";var bI=!!(typeof window<"u"&&window.document&&window.document.createElement),kEe={canUseDOM:bI,canUseWorkers:typeof Worker<"u",canUseEventListeners:bI&&!!(window.addEventListener||window.attachEvent),canUseViewport:bI&&!!window.screen,isInWorker:!bI};Wte.exports=kEe});var Zte=oe((Qot,qte)=>{"use strict";var Kte=$te(),Yte;Kte.canUseDOM&&(Yte=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0);function vEe(e,t){if(!Kte.canUseDOM||t&&!("addEventListener"in document))return!1;var o="on"+e,r=o in document;if(!r){var n=document.createElement("div");n.setAttribute(o,"return;"),r=typeof n[o]=="function"}return!r&&Yte&&e==="wheel"&&(r=document.implementation.hasFeature("Events.wheel","3.0")),r}qte.exports=vEe});var ooe=oe((Jot,toe)=>{"use strict";var yEe=Gte(),SEe=Zte(),Xte=10,Qte=40,Jte=800;function eoe(e){var t=0,o=0,r=0,n=0;return"detail"in e&&(o=e.detail),"wheelDelta"in e&&(o=-e.wheelDelta/120),"wheelDeltaY"in e&&(o=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=o,o=0),r=t*Xte,n=o*Xte,"deltaY"in e&&(n=e.deltaY),"deltaX"in e&&(r=e.deltaX),(r||n)&&e.deltaMode&&(e.deltaMode==1?(r*=Qte,n*=Qte):(r*=Jte,n*=Jte)),r&&!t&&(t=r<1?-1:1),n&&!o&&(o=n<1?-1:1),{spinX:t,spinY:o,pixelX:r,pixelY:n}}eoe.getEventType=function(){return yEe.firefox()?"DOMMouseScroll":SEe("wheel")?"wheel":"mousewheel"};toe.exports=eoe});var noe=oe((ert,roe)=>{roe.exports=ooe()});var Are=oe((Wnt,Ore)=>{"use strict";Ore.exports=function e(t,o){if(t===o)return!0;if(t&&o&&typeof t=="object"&&typeof o=="object"){if(t.constructor!==o.constructor)return!1;var r,n,i;if(Array.isArray(t)){if(r=t.length,r!=o.length)return!1;for(n=r;n--!==0;)if(!e(t[n],o[n]))return!1;return!0}if(t.constructor===RegExp)return t.source===o.source&&t.flags===o.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===o.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===o.toString();if(i=Object.keys(t),r=i.length,r!==Object.keys(o).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(o,i[n]))return!1;for(n=r;n--!==0;){var s=i[n];if(!e(t[s],o[s]))return!1}return!0}return t!==t&&o!==o}});var lLe={};Ip(lLe,{AlignmentControl:()=>Hw,AlignmentToolbar:()=>_U,Autocomplete:()=>YU,BlockAlignmentControl:()=>sC,BlockAlignmentToolbar:()=>gH,BlockBindingsAttributeControl:()=>Wv,BlockBindingsSourceFieldsList:()=>Gv,BlockBreadcrumb:()=>FH,BlockCanvas:()=>JQ,BlockColorsStyleSelector:()=>rJ,BlockContextProvider:()=>m0,BlockControls:()=>Mt,BlockEdit:()=>Mw,BlockEditorKeyboardShortcuts:()=>p1,BlockEditorProvider:()=>z9,BlockFormatControls:()=>hV,BlockIcon:()=>Ae,BlockInspector:()=>jae,BlockList:()=>Hh,BlockMover:()=>gE,BlockNavigationDropdown:()=>fee,BlockPopover:()=>bY,BlockPreview:()=>vn,BlockSelectionClearer:()=>PY,BlockSettingsMenu:()=>UE,BlockSettingsMenuControls:()=>DE,BlockStyles:()=>Xg,BlockTitle:()=>Kv,BlockToolbar:()=>LQ,BlockTools:()=>PS,BlockVerticalAlignmentControl:()=>oC,BlockVerticalAlignmentToolbar:()=>Dee,ButtonBlockAppender:()=>Qu,ButtonBlockerAppender:()=>aY,ColorPalette:()=>ite,ColorPaletteControl:()=>lte,ContrastChecker:()=>ZT,CopyHandler:()=>Gae,DefaultBlockAppender:()=>lg,DimensionControl:()=>ab,FontSizePicker:()=>uM,HeadingLevelDropdown:()=>wee,HeightControl:()=>Dte,InnerBlocks:()=>eS,Inserter:()=>Ui,InspectorAdvancedControls:()=>rd,InspectorControls:()=>fe,JustifyContentControl:()=>ah,JustifyToolbar:()=>Koe,LineHeightControl:()=>jI,LinkControl:()=>Pd,MediaPlaceholder:()=>pne,MediaReplaceFlow:()=>Sb,MediaUpload:()=>qu,MediaUploadCheck:()=>Ds,MultiSelectScrollIntoView:()=>Yae,NavigableToolbar:()=>Cg,ObserveTyping:()=>tq,PanelColorSettings:()=>gne,PlainText:()=>pie,RecursionProvider:()=>u4,RichText:()=>Bb,RichTextShortcut:()=>_F,RichTextToolbarButton:()=>wF,SETTINGS_DEFAULTS:()=>$k,SkipToSelectedBlock:()=>gP,ToolSelector:()=>ale,Typewriter:()=>Qae,URLInput:()=>Td,URLInputButton:()=>xie,URLPopover:()=>Ad,Warning:()=>pu,WritingFlow:()=>C1,__experimentalBlockAlignmentMatrixControl:()=>RH,__experimentalBlockFullHeightAligmentControl:()=>EH,__experimentalBlockPatternSetup:()=>Lee,__experimentalBlockPatternsList:()=>Ca,__experimentalBlockVariationPicker:()=>Cee,__experimentalBlockVariationTransforms:()=>HT,__experimentalBorderRadiusControl:()=>YT,__experimentalColorGradientControl:()=>_d,__experimentalColorGradientSettingsDropdown:()=>uI,__experimentalDateFormatPicker:()=>fte,__experimentalDuotoneControl:()=>QT,__experimentalFontAppearanceControl:()=>eI,__experimentalFontFamilyControl:()=>tI,__experimentalGetBorderClassesAndStyles:()=>nO,__experimentalGetColorClassesAndStyles:()=>iO,__experimentalGetElementClassName:()=>iLe,__experimentalGetGapCSSValue:()=>mr,__experimentalGetGradientClass:()=>th,__experimentalGetGradientObjectByGradientValue:()=>fU,__experimentalGetShadowClassesAndStyles:()=>$z,__experimentalGetSpacingClassesAndStyles:()=>qz,__experimentalImageEditor:()=>zoe,__experimentalImageSizeControl:()=>Goe,__experimentalImageURLInputUI:()=>Pie,__experimentalInspectorPopoverHeader:()=>k2,__experimentalLetterSpacingControl:()=>rI,__experimentalLibrary:()=>$ae,__experimentalLinkControl:()=>zI,__experimentalLinkControlSearchInput:()=>kre,__experimentalLinkControlSearchItem:()=>ire,__experimentalLinkControlSearchResults:()=>dre,__experimentalListView:()=>VT,__experimentalPanelColorGradientSettings:()=>fI,__experimentalPreviewOptions:()=>$ie,__experimentalPublishDateTimePicker:()=>rle,__experimentalRecursionProvider:()=>Jae,__experimentalResponsiveBlockControl:()=>vie,__experimentalSpacingSizesControl:()=>Mb,__experimentalTextDecorationControl:()=>iI,__experimentalTextTransformControl:()=>aI,__experimentalUnitControl:()=>Sie,__experimentalUseBlockOverlayActive:()=>jH,__experimentalUseBlockPreview:()=>O$,__experimentalUseBorderProps:()=>Wz,__experimentalUseColorProps:()=>Yz,__experimentalUseCustomSides:()=>xz,__experimentalUseGradient:()=>$ke,__experimentalUseHasRecursion:()=>ele,__experimentalUseMultipleOriginColorsAndGradients:()=>wd,__experimentalUseResizeCanvas:()=>Kie,__experimentalWritingModeControl:()=>cI,__unstableBlockSettingsMenuFirstItem:()=>BE,__unstableBlockToolbarLastItem:()=>SE,__unstableEditorStyles:()=>Nl,__unstableIframe:()=>Nh,__unstableInserterMenuExtension:()=>kB,__unstableRichTextInputEvent:()=>CF,__unstableUseBlockSelectionClearer:()=>hm,__unstableUseClipboardHandler:()=>Hae,__unstableUseMouseMoveTypingReset:()=>oS,__unstableUseTypewriter:()=>a4,__unstableUseTypingObserver:()=>rS,createCustomColorsHOC:()=>uU,getColorClassName:()=>Si,getColorObjectByAttributeValues:()=>da,getColorObjectByColorValue:()=>d0,getComputedFluidTypographyValue:()=>hU,getCustomValueFromPreset:()=>XU,getDimensionsClassesAndStyles:()=>Gz,getFontSize:()=>oh,getFontSizeClass:()=>hu,getFontSizeObjectByValue:()=>cM,getGradientSlugByValue:()=>mU,getGradientValueBySlug:()=>jw,getPxFromCssUnit:()=>_me,getSpacingPresetCssVar:()=>zv,getTypographyClassesAndStyles:()=>Zz,isValueSpacingPreset:()=>tC,privateApis:()=>i6,store:()=>_,storeConfig:()=>Qp,transformStyles:()=>jh,useBlockBindingsUtils:()=>El,useBlockCommands:()=>yT,useBlockDisplayInformation:()=>Tt,useBlockEditContext:()=>Ie,useBlockEditingMode:()=>ao,useBlockProps:()=>by,useCachedTruthy:()=>Xz,useHasRecursion:()=>d4,useInnerBlocksProps:()=>ym,useSetting:()=>sU,useSettings:()=>me,useStyleOverride:()=>Xn,withColorContext:()=>qT,withColors:()=>dU,withFontSizes:()=>yU});function a6(e){var t,o,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t0:typeof e=="number"},Zo=function(e,t,o){return t===void 0&&(t=0),o===void 0&&(o=Math.pow(10,t)),Math.round(o*e)/o+0},yi=function(e,t,o){return t===void 0&&(t=0),o===void 0&&(o=1),e>o?o:e>t?e:t},y6=function(e){return(e=isFinite(e)?e%360:0)>0?e:e+360},m6=function(e){return{r:yi(e.r,0,255),g:yi(e.g,0,255),b:yi(e.b,0,255),a:yi(e.a)}},gO=function(e){return{r:Zo(e.r),g:Zo(e.g),b:Zo(e.b),a:Zo(e.a,3)}},Zme=/^#([0-9a-f]{3,8})$/i,u0=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},S6=function(e){var t=e.r,o=e.g,r=e.b,n=e.a,i=Math.max(t,o,r),s=i-Math.min(t,o,r),a=s?i===t?(o-r)/s:i===o?2+(r-t)/s:4+(t-o)/s:0;return{h:60*(a<0?a+6:a),s:i?s/i*100:0,v:i/255*100,a:n}},_6=function(e){var t=e.h,o=e.s,r=e.v,n=e.a;t=t/360*6,o/=100,r/=100;var i=Math.floor(t),s=r*(1-o),a=r*(1-(t-i)*o),c=r*(1-(1-t+i)*o),u=i%6;return{r:255*[r,a,s,s,c,r][u],g:255*[c,r,r,a,s,s][u],b:255*[s,s,c,r,r,a][u],a:n}},p6=function(e){return{h:y6(e.h),s:yi(e.s,0,100),l:yi(e.l,0,100),a:yi(e.a)}},h6=function(e){return{h:Zo(e.h),s:Zo(e.s),l:Zo(e.l),a:Zo(e.a,3)}},g6=function(e){return _6((o=(t=e).s,{h:t.h,s:(o*=((r=t.l)<50?r:100-r)/100)>0?2*o/(r+o)*100:0,v:r+o,a:t.a}));var t,o,r},Hk=function(e){return{h:(t=S6(e)).h,s:(n=(200-(o=t.s))*(r=t.v)/100)>0&&n<200?o*r/100/(n<=100?n:200-n)*100:0,l:n/2,a:t.a};var t,o,r,n},Xme=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Qme=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Jme=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,epe=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,vO={string:[[function(e){var t=Zme.exec(e);return t?(e=t[1]).length<=4?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:e.length===4?Zo(parseInt(e[3]+e[3],16)/255,2):1}:e.length===6||e.length===8?{r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16),a:e.length===8?Zo(parseInt(e.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(e){var t=Jme.exec(e)||epe.exec(e);return t?t[2]!==t[4]||t[4]!==t[6]?null:m6({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:t[7]===void 0?1:Number(t[7])/(t[8]?100:1)}):null},"rgb"],[function(e){var t=Xme.exec(e)||Qme.exec(e);if(!t)return null;var o,r,n=p6({h:(o=t[1],r=t[2],r===void 0&&(r="deg"),Number(o)*(qme[r]||1)),s:Number(t[3]),l:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)});return g6(n)},"hsl"]],object:[[function(e){var t=e.r,o=e.g,r=e.b,n=e.a,i=n===void 0?1:n;return ml(t)&&ml(o)&&ml(r)?m6({r:Number(t),g:Number(o),b:Number(r),a:Number(i)}):null},"rgb"],[function(e){var t=e.h,o=e.s,r=e.l,n=e.a,i=n===void 0?1:n;if(!ml(t)||!ml(o)||!ml(r))return null;var s=p6({h:Number(t),s:Number(o),l:Number(r),a:Number(i)});return g6(s)},"hsl"],[function(e){var t=e.h,o=e.s,r=e.v,n=e.a,i=n===void 0?1:n;if(!ml(t)||!ml(o)||!ml(r))return null;var s=(function(a){return{h:y6(a.h),s:yi(a.s,0,100),v:yi(a.v,0,100),a:yi(a.a)}})({h:Number(t),s:Number(o),v:Number(r),a:Number(i)});return _6(s)},"hsv"]]},b6=function(e,t){for(var o=0;o=.5},e.prototype.toHex=function(){return t=gO(this.rgba),o=t.r,r=t.g,n=t.b,s=(i=t.a)<1?u0(Zo(255*i)):"","#"+u0(o)+u0(r)+u0(n)+s;var t,o,r,n,i,s},e.prototype.toRgb=function(){return gO(this.rgba)},e.prototype.toRgbString=function(){return t=gO(this.rgba),o=t.r,r=t.g,n=t.b,(i=t.a)<1?"rgba("+o+", "+r+", "+n+", "+i+")":"rgb("+o+", "+r+", "+n+")";var t,o,r,n,i},e.prototype.toHsl=function(){return h6(Hk(this.rgba))},e.prototype.toHslString=function(){return t=h6(Hk(this.rgba)),o=t.h,r=t.s,n=t.l,(i=t.a)<1?"hsla("+o+", "+r+"%, "+n+"%, "+i+")":"hsl("+o+", "+r+"%, "+n+"%)";var t,o,r,n,i},e.prototype.toHsv=function(){return t=S6(this.rgba),{h:Zo(t.h),s:Zo(t.s),v:Zo(t.v),a:Zo(t.a,3)};var t},e.prototype.invert=function(){return Bt({r:255-(t=this.rgba).r,g:255-t.g,b:255-t.b,a:t.a});var t},e.prototype.saturate=function(t){return t===void 0&&(t=.1),Bt(bO(this.rgba,t))},e.prototype.desaturate=function(t){return t===void 0&&(t=.1),Bt(bO(this.rgba,-t))},e.prototype.grayscale=function(){return Bt(bO(this.rgba,-1))},e.prototype.lighten=function(t){return t===void 0&&(t=.1),Bt(k6(this.rgba,t))},e.prototype.darken=function(t){return t===void 0&&(t=.1),Bt(k6(this.rgba,-t))},e.prototype.rotate=function(t){return t===void 0&&(t=15),this.hue(this.hue()+t)},e.prototype.alpha=function(t){return typeof t=="number"?Bt({r:(o=this.rgba).r,g:o.g,b:o.b,a:t}):Zo(this.rgba.a,3);var o},e.prototype.hue=function(t){var o=Hk(this.rgba);return typeof t=="number"?Bt({h:t,s:o.s,l:o.l,a:o.a}):Zo(o.h)},e.prototype.isEqual=function(t){return this.toHex()===Bt(t).toHex()},e})(),Bt=function(e){return e instanceof yO?e:new yO(e)},v6=[],Kc=function(e){e.forEach(function(t){v6.indexOf(t)<0&&(t(yO,vO),v6.push(t))})};function Yc(e,t){var o={white:"#ffffff",bisque:"#ffe4c4",blue:"#0000ff",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",antiquewhite:"#faebd7",aqua:"#00ffff",azure:"#f0ffff",whitesmoke:"#f5f5f5",papayawhip:"#ffefd5",plum:"#dda0dd",blanchedalmond:"#ffebcd",black:"#000000",gold:"#ffd700",goldenrod:"#daa520",gainsboro:"#dcdcdc",cornsilk:"#fff8dc",cornflowerblue:"#6495ed",burlywood:"#deb887",aquamarine:"#7fffd4",beige:"#f5f5dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkkhaki:"#bdb76b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",peachpuff:"#ffdab9",darkmagenta:"#8b008b",darkred:"#8b0000",darkorchid:"#9932cc",darkorange:"#ff8c00",darkslateblue:"#483d8b",gray:"#808080",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",deeppink:"#ff1493",deepskyblue:"#00bfff",wheat:"#f5deb3",firebrick:"#b22222",floralwhite:"#fffaf0",ghostwhite:"#f8f8ff",darkviolet:"#9400d3",magenta:"#ff00ff",green:"#008000",dodgerblue:"#1e90ff",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",blueviolet:"#8a2be2",forestgreen:"#228b22",lawngreen:"#7cfc00",indianred:"#cd5c5c",indigo:"#4b0082",fuchsia:"#ff00ff",brown:"#a52a2a",maroon:"#800000",mediumblue:"#0000cd",lightcoral:"#f08080",darkturquoise:"#00ced1",lightcyan:"#e0ffff",ivory:"#fffff0",lightyellow:"#ffffe0",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",linen:"#faf0e6",mediumaquamarine:"#66cdaa",lemonchiffon:"#fffacd",lime:"#00ff00",khaki:"#f0e68c",mediumseagreen:"#3cb371",limegreen:"#32cd32",mediumspringgreen:"#00fa9a",lightskyblue:"#87cefa",lightblue:"#add8e6",midnightblue:"#191970",lightpink:"#ffb6c1",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",mintcream:"#f5fffa",lightslategray:"#778899",lightslategrey:"#778899",navajowhite:"#ffdead",navy:"#000080",mediumvioletred:"#c71585",powderblue:"#b0e0e6",palegoldenrod:"#eee8aa",oldlace:"#fdf5e6",paleturquoise:"#afeeee",mediumturquoise:"#48d1cc",mediumorchid:"#ba55d3",rebeccapurple:"#663399",lightsteelblue:"#b0c4de",mediumslateblue:"#7b68ee",thistle:"#d8bfd8",tan:"#d2b48c",orchid:"#da70d6",mediumpurple:"#9370db",purple:"#800080",pink:"#ffc0cb",skyblue:"#87ceeb",springgreen:"#00ff7f",palegreen:"#98fb98",red:"#ff0000",yellow:"#ffff00",slateblue:"#6a5acd",lavenderblush:"#fff0f5",peru:"#cd853f",palevioletred:"#db7093",violet:"#ee82ee",teal:"#008080",slategray:"#708090",slategrey:"#708090",aliceblue:"#f0f8ff",darkseagreen:"#8fbc8f",darkolivegreen:"#556b2f",greenyellow:"#adff2f",seagreen:"#2e8b57",seashell:"#fff5ee",tomato:"#ff6347",silver:"#c0c0c0",sienna:"#a0522d",lavender:"#e6e6fa",lightgreen:"#90ee90",orange:"#ffa500",orangered:"#ff4500",steelblue:"#4682b4",royalblue:"#4169e1",turquoise:"#40e0d0",yellowgreen:"#9acd32",salmon:"#fa8072",saddlebrown:"#8b4513",sandybrown:"#f4a460",rosybrown:"#bc8f8f",darksalmon:"#e9967a",lightgoldenrodyellow:"#fafad2",snow:"#fffafa",lightgrey:"#d3d3d3",lightgray:"#d3d3d3",dimgray:"#696969",dimgrey:"#696969",olivedrab:"#6b8e23",olive:"#808000"},r={};for(var n in o)r[o[n]]=n;var i={};e.prototype.toName=function(s){if(!(this.rgba.a||this.rgba.r||this.rgba.g||this.rgba.b))return"transparent";var a,c,u=r[this.toHex()];if(u)return u;if(s?.closest){var d=this.toRgb(),f=1/0,m="black";if(!i.length)for(var h in o)i[h]=new e(o[h]).toRgb();for(var p in o){var g=(a=d,c=i[p],Math.pow(a.r-c.r,2)+Math.pow(a.g-c.g,2)+Math.pow(a.b-c.b,2));gc?(a+.05)/(c+.05):(c+.05)/(a+.05),(r=2)===void 0&&(r=0),n===void 0&&(n=Math.pow(10,r)),Math.floor(n*o)/n+0},e.prototype.isReadable=function(t,o){return t===void 0&&(t="#FFF"),o===void 0&&(o={}),this.contrast(t)>=(a=(s=(r=o).size)===void 0?"normal":s,(i=(n=r.level)===void 0?"AA":n)==="AAA"&&a==="normal"?7:i==="AA"&&a==="large"?3:4.5);var r,n,i,s,a}}var E6=l(A(),1);var C6=l(xO(),1),{lock:B6,unlock:M}=(0,C6.__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/block-editor");Kc([Yc,Op]);var{kebabCase:ope}=M(E6.privateApis),da=(e,t,o)=>{if(t){let r=e?.find(n=>n.slug===t);if(r)return r}return{color:o}},d0=(e,t)=>e?.find(o=>o.color===t);function Si(e,t){if(!(!e||!t))return`has-${ope(t)}-${e}`}function T6(e,t){let o=Bt(t),r=({color:i})=>o.contrast(i),n=Math.max(...e.map(r));return e.find(i=>r(i)===n).color}var Dw=l(R(),1),zf=l(Z(),1),lU=l(A(),1);var nU=l(F(),1),iU=l(Re(),1);var Nw=l(R(),1),Lw=l($(),1);var pl=l($(),1),D6=l(A(),1),Wk=l(F(),1),vf=l(R(),1);var Ap=l(R(),1),R6=l(w(),1),f0=(0,Ap.createContext)({});f0.displayName="BlockContext";function m0({value:e,children:t}){let o=(0,Ap.useContext)(f0),r=(0,Ap.useMemo)(()=>({...o,...e}),[o,e]);return(0,R6.jsx)(f0.Provider,{value:r,children:t})}var xr=f0;var Lp=l(dn(),1);function gf(e){return e?.startsWith("#")&&(0,Lp.isValidFragment)(e)}function bf(e){return e?.startsWith("/")||e?.startsWith("./")||e?.startsWith("../")}function kf(e){if(e.includes(" "))return!1;let o=(0,Lp.getProtocol)(e),r=(0,Lp.isValidProtocol)(o),n=rpe(e),i=e?.startsWith("www.");return r||i||gf(e)||n||bf(e)}function rpe(e,t=6){let o=e.split(/[?#]/)[0];return new RegExp(`(?<=\\S)\\.(?:[a-zA-Z_]{2,${t}})(?:\\/|$)`).test(o)}var npe="__default",A6="core/pattern-overrides";function Gk(e){return e?.[npe]?.source===A6}function L6(e,t){if(Gk(e)){let o={};for(let r of t){let n=e[r]?e[r]:{source:A6};o[r]=n}return o}return e}var N6=l(R(),1),ur=(0,N6.createContext)({});ur.displayName="PrivateBlockContext";var p0=l(w(),1),ipe={},spe=e=>{let{name:t}=e,o=(0,pl.getBlockType)(t);if(!o)return null;let r=o.edit||o.save;return(0,p0.jsx)(r,{...e})},M6=(0,D6.withFilters)("editor.BlockEdit")(spe),ape=e=>{let{name:t,clientId:o,attributes:r,setAttributes:n}=e,i=(0,Wk.useRegistry)(),s=(0,pl.getBlockType)(t),a=(0,vf.useContext)(xr),c=(0,Wk.useSelect)(v=>M(v(pl.store)).getAllBlockBindingsSources(),[]),{bindableAttributes:u}=(0,vf.useContext)(ur),{blockBindings:d,context:f,hasPatternOverrides:m}=(0,vf.useMemo)(()=>{let v=s?.usesContext?Object.fromEntries(Object.entries(a).filter(([k])=>s.usesContext.includes(k))):ipe;return r?.metadata?.bindings&&Object.values(r?.metadata?.bindings||{}).forEach(k=>{c[k?.source]?.usesContext?.forEach(y=>{v[y]=a[y]})}),{blockBindings:L6(r?.metadata?.bindings,u),context:v,hasPatternOverrides:Gk(r?.metadata?.bindings)}},[s?.usesContext,a,r?.metadata?.bindings,u,c]),h=(0,Wk.useSelect)(v=>{if(!d)return r;let k={},y=new Map;for(let[S,x]of Object.entries(d)){let{source:C,args:B}=x,I=c[C];!I||!u?.includes(S)||y.set(I,{...y.get(I),[S]:{args:B}})}if(y.size)for(let[S,x]of y){let C={};S.getValues?C=S.getValues({select:v,context:f,clientId:o,bindings:x}):Object.keys(x).forEach(B=>{C[B]=S.label});for(let[B,I]of Object.entries(C))B==="url"&&(!I||!kf(I))?k[B]=null:k[B]=I}return{...r,...k}},[r,u,d,o,f,c]),p=(0,vf.useCallback)(v=>{if(!d){n(v);return}i.batch(()=>{let k={...v},y=new Map;for(let[x,C]of Object.entries(k)){if(!d[x]||!u?.includes(x))continue;let B=d[x],I=c[B?.source];I?.setValues&&(y.set(I,{...y.get(I),[x]:{args:B.args,newValue:C}}),delete k[x])}if(y.size)for(let[x,C]of y)x.setValues({select:i.select,dispatch:i.dispatch,context:f,clientId:o,bindings:C});let S=!!f["pattern/overrides"];!(m&&S)&&Object.keys(k).length&&(m&&delete k.href,n(k))})},[u,d,o,f,m,n,c,i]);if(!s)return null;if(s.apiVersion>1)return(0,p0.jsx)(M6,{...e,attributes:h,context:f,setAttributes:p});let g=(0,pl.hasBlockSupport)(s,"className",!0)?(0,pl.getBlockDefaultClassName)(t):null,b=D(g,r?.className,e.className);return(0,p0.jsx)(M6,{...e,attributes:h,className:b,context:f,setAttributes:p})},V6=ape;var tU=l($(),1),lM=l(A(),1),oU=l(F(),1),Aw=l(N(),1);var Ow=l(F(),1);var Yk=l(yf(),1),BO=l(Z(),1),qk=l(F(),1),$6=l(Re(),1),w0=l($(),1);var Ne=l(N(),1),j6={insertUsage:{}},$k={alignWide:!1,supportsLayout:!0,colors:[{name:(0,Ne.__)("Black"),slug:"black",color:"#000000"},{name:(0,Ne.__)("Cyan bluish gray"),slug:"cyan-bluish-gray",color:"#abb8c3"},{name:(0,Ne.__)("White"),slug:"white",color:"#ffffff"},{name:(0,Ne.__)("Pale pink"),slug:"pale-pink",color:"#f78da7"},{name:(0,Ne.__)("Vivid red"),slug:"vivid-red",color:"#cf2e2e"},{name:(0,Ne.__)("Luminous vivid orange"),slug:"luminous-vivid-orange",color:"#ff6900"},{name:(0,Ne.__)("Luminous vivid amber"),slug:"luminous-vivid-amber",color:"#fcb900"},{name:(0,Ne.__)("Light green cyan"),slug:"light-green-cyan",color:"#7bdcb5"},{name:(0,Ne.__)("Vivid green cyan"),slug:"vivid-green-cyan",color:"#00d084"},{name:(0,Ne.__)("Pale cyan blue"),slug:"pale-cyan-blue",color:"#8ed1fc"},{name:(0,Ne.__)("Vivid cyan blue"),slug:"vivid-cyan-blue",color:"#0693e3"},{name:(0,Ne.__)("Vivid purple"),slug:"vivid-purple",color:"#9b51e0"}],fontSizes:[{name:(0,Ne._x)("Small","font size name"),size:13,slug:"small"},{name:(0,Ne._x)("Normal","font size name"),size:16,slug:"normal"},{name:(0,Ne._x)("Medium","font size name"),size:20,slug:"medium"},{name:(0,Ne._x)("Large","font size name"),size:36,slug:"large"},{name:(0,Ne._x)("Huge","font size name"),size:42,slug:"huge"}],imageDefaultSize:"large",imageSizes:[{slug:"thumbnail",name:(0,Ne.__)("Thumbnail")},{slug:"medium",name:(0,Ne.__)("Medium")},{slug:"large",name:(0,Ne.__)("Large")},{slug:"full",name:(0,Ne.__)("Full Size")}],imageEditing:!0,maxWidth:580,allowedBlockTypes:!0,maxUploadFileSize:0,allowedMimeTypes:null,canLockBlocks:!0,canEditCSS:!1,enableOpenverseMediaCategory:!0,clearBlockSelection:!0,__experimentalCanUserUseUnfilteredHTML:!1,__experimentalBlockDirectory:!1,__mobileEnablePageTemplates:!1,__experimentalBlockPatterns:[],__experimentalBlockPatternCategories:[],isPreviewMode:!1,blockInspectorAnimation:{animationParent:"core/navigation","core/navigation":{enterDirection:"leftToRight"},"core/navigation-submenu":{enterDirection:"rightToLeft"},"core/navigation-link":{enterDirection:"rightToLeft"},"core/search":{enterDirection:"rightToLeft"},"core/social-links":{enterDirection:"rightToLeft"},"core/page-list":{enterDirection:"rightToLeft"},"core/spacer":{enterDirection:"rightToLeft"},"core/home-link":{enterDirection:"rightToLeft"},"core/site-title":{enterDirection:"rightToLeft"},"core/site-logo":{enterDirection:"rightToLeft"}},generateAnchors:!1,gradients:[{name:(0,Ne.__)("Vivid cyan blue to vivid purple"),gradient:"linear-gradient(135deg,rgba(6,147,227,1) 0%,rgb(155,81,224) 100%)",slug:"vivid-cyan-blue-to-vivid-purple"},{name:(0,Ne.__)("Light green cyan to vivid green cyan"),gradient:"linear-gradient(135deg,rgb(122,220,180) 0%,rgb(0,208,130) 100%)",slug:"light-green-cyan-to-vivid-green-cyan"},{name:(0,Ne.__)("Luminous vivid amber to luminous vivid orange"),gradient:"linear-gradient(135deg,rgba(252,185,0,1) 0%,rgba(255,105,0,1) 100%)",slug:"luminous-vivid-amber-to-luminous-vivid-orange"},{name:(0,Ne.__)("Luminous vivid orange to vivid red"),gradient:"linear-gradient(135deg,rgba(255,105,0,1) 0%,rgb(207,46,46) 100%)",slug:"luminous-vivid-orange-to-vivid-red"},{name:(0,Ne.__)("Very light gray to cyan bluish gray"),gradient:"linear-gradient(135deg,rgb(238,238,238) 0%,rgb(169,184,195) 100%)",slug:"very-light-gray-to-cyan-bluish-gray"},{name:(0,Ne.__)("Cool to warm spectrum"),gradient:"linear-gradient(135deg,rgb(74,234,220) 0%,rgb(151,120,209) 20%,rgb(207,42,186) 40%,rgb(238,44,130) 60%,rgb(251,105,98) 80%,rgb(254,248,76) 100%)",slug:"cool-to-warm-spectrum"},{name:(0,Ne.__)("Blush light purple"),gradient:"linear-gradient(135deg,rgb(255,206,236) 0%,rgb(152,150,240) 100%)",slug:"blush-light-purple"},{name:(0,Ne.__)("Blush bordeaux"),gradient:"linear-gradient(135deg,rgb(254,205,165) 0%,rgb(254,45,45) 50%,rgb(107,0,62) 100%)",slug:"blush-bordeaux"},{name:(0,Ne.__)("Luminous dusk"),gradient:"linear-gradient(135deg,rgb(255,203,112) 0%,rgb(199,81,192) 50%,rgb(65,88,208) 100%)",slug:"luminous-dusk"},{name:(0,Ne.__)("Pale ocean"),gradient:"linear-gradient(135deg,rgb(255,245,203) 0%,rgb(182,227,212) 50%,rgb(51,167,181) 100%)",slug:"pale-ocean"},{name:(0,Ne.__)("Electric grass"),gradient:"linear-gradient(135deg,rgb(202,248,128) 0%,rgb(113,206,126) 100%)",slug:"electric-grass"},{name:(0,Ne.__)("Midnight"),gradient:"linear-gradient(135deg,rgb(2,3,129) 0%,rgb(40,116,252) 100%)",slug:"midnight"}],__unstableResolvedAssets:{styles:[],scripts:[]}};function h0(e,t,o){return[...e.slice(0,o),...Array.isArray(t)?t:[t],...e.slice(o)]}function g0(e,t,o,r=1){let n=[...e];return n.splice(t,r),h0(n,e.slice(t,t+r),o)}var _i=Symbol("globalStylesDataKey"),b0=Symbol("globalStylesLinks"),qc=Symbol("selectBlockPatternsKey"),k0=Symbol("reusableBlocksSelect"),Zc=Symbol("sectionRootClientIdKey"),v0=Symbol("mediaEditKey"),y0=Symbol("getMediaSelect"),Xc=Symbol("isIsolatedEditor"),xi=Symbol("deviceTypeKey"),S0=Symbol("isNavigationOverlayContext"),_0=Symbol("mediaUploadOnSuccess");var{isContentBlock:lpe}=M(w0.privateApis),cpe=e=>e;function x0(e,t=""){let o=new Map,r=[];return o.set(t,r),e.forEach(n=>{let{clientId:i,innerBlocks:s}=n;r.push(i),x0(s,i).forEach((a,c)=>{o.set(c,a)})}),o}function wO(e,t=""){let o=[],r=[[t,e]];for(;r.length;){let[n,i]=r.shift();i.forEach(({innerBlocks:s,...a})=>{o.push([a.clientId,n]),s?.length&&r.push([a.clientId,s])})}return o}function K6(e,t=cpe){let o=[],r=[...e];for(;r.length;){let{innerBlocks:n,...i}=r.shift();r.push(...n),o.push([i.clientId,t(i)])}return o}function Y6(e){let t={},o=[...e];for(;o.length;){let{innerBlocks:r,...n}=o.shift();o.push(...r),t[n.clientId]=!0}return t}function U6(e){return K6(e,t=>{let{attributes:o,...r}=t;return r})}function H6(e){return K6(e,t=>t.attributes)}function upe(e,t){return(0,Yk.default)(Object.keys(e),Object.keys(t))}function dpe(e,t){return e.type==="UPDATE_BLOCK_ATTRIBUTES"&&t!==void 0&&t.type==="UPDATE_BLOCK_ATTRIBUTES"&&(0,Yk.default)(e.clientIds,t.clientIds)&&upe(e.attributes,t.attributes)}function G6(e,t){let o=e.tree,r=[...t],n=[...t];for(;r.length;){let i=r.shift();r.push(...i.innerBlocks),n.push(...i.innerBlocks)}for(let i of n)o.set(i.clientId,{});for(let i of n)o.set(i.clientId,Object.assign(o.get(i.clientId),{...e.byClientId.get(i.clientId),attributes:e.attributes.get(i.clientId),innerBlocks:i.innerBlocks.map(s=>o.get(s.clientId))}))}function hl(e,t,o=!1){let r=e.tree,n=new Set([]),i=new Set;for(let s of t){let a=o?s:e.parents.get(s);do if(e.controlledInnerBlocks[a]){i.add(a);break}else n.add(a),a=e.parents.get(a);while(a!==void 0)}for(let s of n)r.set(s,{...r.get(s)});for(let s of n)r.get(s).innerBlocks=(e.order.get(s)||[]).map(a=>r.get(a));for(let s of i)r.set("controlled||"+s,{innerBlocks:(e.order.get(s)||[]).map(a=>r.get(a))})}var fpe=e=>(t={},o)=>{let r=e(t,o);if(r===t)return t;switch(r.tree=t.tree?t.tree:new Map,o.type){case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":{r.tree=new Map(r.tree),G6(r,o.blocks),hl(r,o.rootClientId?[o.rootClientId]:[""],!0);break}case"UPDATE_BLOCK":r.tree=new Map(r.tree),r.tree.set(o.clientId,{...r.tree.get(o.clientId),...r.byClientId.get(o.clientId),attributes:r.attributes.get(o.clientId)}),hl(r,[o.clientId],!1);break;case"SYNC_DERIVED_BLOCK_ATTRIBUTES":case"UPDATE_BLOCK_ATTRIBUTES":{r.tree=new Map(r.tree),o.clientIds.forEach(i=>{r.tree.set(i,{...r.tree.get(i),attributes:r.attributes.get(i)})}),hl(r,o.clientIds,!1);break}case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":{let i=Y6(o.blocks);r.tree=new Map(r.tree),o.replacedClientIds.forEach(a=>{r.tree.delete(a),i[a]||r.tree.delete("controlled||"+a)}),G6(r,o.blocks),hl(r,o.blocks.map(a=>a.clientId),!1);let s=[];for(let a of o.clientIds){let c=t.parents.get(a);c!==void 0&&(c===""||r.byClientId.get(c))&&s.push(c)}hl(r,s,!0);break}case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":let n=[];for(let i of o.clientIds){let s=t.parents.get(i);s!==void 0&&(s===""||r.byClientId.get(s))&&n.push(s)}r.tree=new Map(r.tree),o.removedClientIds.forEach(i=>{r.tree.delete(i),r.tree.delete("controlled||"+i)}),hl(r,n,!0);break;case"MOVE_BLOCKS_TO_POSITION":{let i=[];o.fromRootClientId?i.push(o.fromRootClientId):i.push(""),o.toRootClientId&&i.push(o.toRootClientId),r.tree=new Map(r.tree),hl(r,i,!0);break}case"MOVE_BLOCKS_UP":case"MOVE_BLOCKS_DOWN":{let i=[o.rootClientId?o.rootClientId:""];r.tree=new Map(r.tree),hl(r,i,!0);break}case"SAVE_REUSABLE_BLOCK_SUCCESS":{let i=[];r.attributes.forEach((s,a)=>{r.byClientId.get(a).name==="core/block"&&s.ref===o.updatedId&&i.push(a)}),r.tree=new Map(r.tree),i.forEach(s=>{r.tree.set(s,{...r.byClientId.get(s),attributes:r.attributes.get(s),innerBlocks:r.tree.get(s).innerBlocks})}),hl(r,i,!1)}}return r};function mpe(e){let t,o=!1,r;return(n,i)=>{let s=e(n,i),a;if(i.type==="SET_EXPLICIT_PERSISTENT"&&(r=i.isPersistentChange,a=n.isPersistentChange??!0),r!==void 0)return a=r,a===s.isPersistentChange?s:{...s,isPersistentChange:a};let c=i.type==="MARK_LAST_CHANGE_AS_PERSISTENT"||o;return n===s&&!c?(o=i.type==="MARK_NEXT_CHANGE_AS_NOT_PERSISTENT",a=n?.isPersistentChange??!0,n.isPersistentChange===a?n:{...s,isPersistentChange:a}):(s={...s,isPersistentChange:c?!o:!dpe(i,t)},t=i,o=i.type==="MARK_NEXT_CHANGE_AS_NOT_PERSISTENT",s)}}function ppe(e){let t=new Set(["RECEIVE_BLOCKS"]);return(o,r)=>{let n=e(o,r);return n!==o&&(n.isIgnoredChange=t.has(r.type)),n}}var hpe=e=>(t,o)=>{let r=n=>{let i=n;for(let s=0;s(t,o)=>{if(o.type==="RESET_BLOCKS"){let r=e(void 0,{type:"INSERT_BLOCKS",rootClientId:"",blocks:o.blocks}),n=t?.controlledInnerBlocks??{};if(t?.order)for(let s of Object.keys(n)){if(!n[s]||!r.byClientId.has(s))continue;r.controlledInnerBlocks[s]=!0;let a=t.order.get(s);if(!a?.length)continue;r.order.set(s,a);let c=(u,d)=>{let f=t.byClientId.get(u);if(!f)return;r.byClientId.set(u,f),r.attributes.set(u,t.attributes.get(u)),r.parents.set(u,d);let m=t.order.get(u)||[];r.order.set(u,m),m.forEach(h=>c(h,u))};a.forEach(u=>c(u,s))}for(let s of Object.keys(r.controlledInnerBlocks)){let a=r.order.get(s);if(!a?.length)continue;let c=a.map(f=>t.tree.get(f)),u=r.tree.get(s);u&&(u.innerBlocks=c),r.tree.set("controlled||"+s,{innerBlocks:c});let d=f=>{let m=t.tree.get(f);if(!m)return;r.tree.set(f,m),(r.order.get(f)||[]).forEach(d)};a.forEach(d)}let i=t?.blockEditingModes??new Map;for(let[s,a]of i)r.tree.has(s)&&r.blockEditingModes.set(s,a);return r}return e(t,o)},bpe=e=>(t,o)=>{if(o.type!=="REPLACE_INNER_BLOCKS")return e(t,o);let r={};if(Object.keys(t.controlledInnerBlocks).length){let s=[...o.blocks];for(;s.length;){let{innerBlocks:a,...c}=s.shift();s.push(...a),t.controlledInnerBlocks[c.clientId]&&(r[c.clientId]=!0)}}let n=t;t.order.get(o.rootClientId)&&(n=e(n,{type:"REMOVE_BLOCKS",keepControlledInnerBlocks:r,clientIds:t.order.get(o.rootClientId)}));let i=n;if(o.blocks.length){i=e(i,{...o,type:"INSERT_BLOCKS",index:0});let s=new Map(i.order);Object.keys(r).forEach(a=>{t.order.get(a)&&s.set(a,t.order.get(a))}),i.order=s,i.tree=new Map(i.tree),Object.keys(r).forEach(a=>{let c=`controlled||${a}`;t.tree.has(c)&&i.tree.set(c,t.tree.get(c))})}return i},kpe=e=>(t,o)=>{if(t&&o.type==="SAVE_REUSABLE_BLOCK_SUCCESS"){let{id:r,updatedId:n}=o;if(r===n)return t;t={...t},t.attributes=new Map(t.attributes),t.attributes.forEach((i,s)=>{let{name:a}=t.byClientId.get(s);a==="core/block"&&i.ref===r&&t.attributes.set(s,{...i,ref:n})})}return e(t,o)},vpe=e=>(t,o)=>{if(o.type==="SET_HAS_CONTROLLED_INNER_BLOCKS"){if(t.order.get(o.clientId)?.length){let n=e(t,{type:"REPLACE_INNER_BLOCKS",rootClientId:o.clientId,blocks:[]});return e(n,o)}return e(t,o)}return e(t,o)},ype=(0,BO.pipe)(qk.combineReducers,kpe,fpe,hpe,bpe,gpe,mpe,ppe,vpe)({byClientId(e=new Map,t){switch(t.type){case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":{let o=new Map(e);return U6(t.blocks).forEach(([r,n])=>{o.set(r,n)}),o}case"UPDATE_BLOCK":{if(!e.has(t.clientId))return e;let{attributes:o,...r}=t.updates;if(Object.values(r).length===0)return e;let n=new Map(e);return n.set(t.clientId,{...e.get(t.clientId),...r}),n}case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":{if(!t.blocks)return e;let o=new Map(e);return t.replacedClientIds.forEach(r=>{o.delete(r)}),U6(t.blocks).forEach(([r,n])=>{o.set(r,n)}),o}case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":{let o=new Map(e);return t.removedClientIds.forEach(r=>{o.delete(r)}),o}}return e},attributes(e=new Map,t){switch(t.type){case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":{let o=new Map(e);return H6(t.blocks).forEach(([r,n])=>{o.set(r,n)}),o}case"UPDATE_BLOCK":{if(!e.get(t.clientId)||!t.updates.attributes)return e;let o=new Map(e);return o.set(t.clientId,{...e.get(t.clientId),...t.updates.attributes}),o}case"SYNC_DERIVED_BLOCK_ATTRIBUTES":case"UPDATE_BLOCK_ATTRIBUTES":{if(t.clientIds.every(n=>!e.get(n)))return e;let o=!1,r=new Map(e);for(let n of t.clientIds){let i=Object.entries(t.options?.uniqueByBlock?t.attributes[n]:t.attributes??{});if(i.length===0)continue;let s=!1,a=e.get(n),c={};i.forEach(([u,d])=>{a[u]!==d&&(s=!0,c[u]=d)}),o=o||s,s&&r.set(n,{...a,...c})}return o?r:e}case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":{if(!t.blocks)return e;let o=new Map(e);return t.replacedClientIds.forEach(r=>{o.delete(r)}),H6(t.blocks).forEach(([r,n])=>{o.set(r,n)}),o}case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":{let o=new Map(e);return t.removedClientIds.forEach(r=>{o.delete(r)}),o}}return e},order(e=new Map,t){switch(t.type){case"RECEIVE_BLOCKS":{let o=x0(t.blocks),r=new Map(e);return o.forEach((n,i)=>{i!==""&&r.set(i,n)}),r.set("",(e.get("")??[]).concat(o[""])),r}case"INSERT_BLOCKS":{let{rootClientId:o=""}=t,r=e.get(o)||[],n=x0(t.blocks,o),{index:i=r.length}=t,s=new Map(e);return n.forEach((a,c)=>{s.set(c,a)}),s.set(o,h0(r,n.get(o),i)),s}case"MOVE_BLOCKS_TO_POSITION":{let{fromRootClientId:o="",toRootClientId:r="",clientIds:n}=t,{index:i=e.get(r).length}=t;if(o===r){let c=e.get(r).indexOf(n[0]),u=new Map(e);return u.set(r,g0(e.get(r),c,i,n.length)),u}let s=new Map(e);return s.set(o,e.get(o)?.filter(a=>!n.includes(a))??[]),s.set(r,h0(e.get(r),n,i)),s}case"MOVE_BLOCKS_UP":{let{clientIds:o,rootClientId:r=""}=t,n=o[0],i=e.get(r);if(!i.length||n===i[0])return e;let s=i.indexOf(n),a=new Map(e);return a.set(r,g0(i,s,s-1,o.length)),a}case"MOVE_BLOCKS_DOWN":{let{clientIds:o,rootClientId:r=""}=t,n=o[0],i=o[o.length-1],s=e.get(r);if(!s.length||i===s[s.length-1])return e;let a=s.indexOf(n),c=new Map(e);return c.set(r,g0(s,a,a+1,o.length)),c}case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":{let{clientIds:o}=t;if(!t.blocks)return e;let r=x0(t.blocks),n=new Map(e);return t.replacedClientIds.forEach(i=>{n.delete(i)}),r.forEach((i,s)=>{s!==""&&n.set(s,i)}),n.forEach((i,s)=>{let a=Object.values(i).reduce((c,u)=>u===o[0]?[...c,...r.get("")]:(o.indexOf(u)===-1&&c.push(u),c),[]);n.set(s,a)}),n}case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":{let o=new Map(e);return t.removedClientIds.forEach(r=>{o.delete(r)}),o.forEach((r,n)=>{let i=r?.filter(s=>!t.removedClientIds.includes(s))??[];i.length!==r.length&&o.set(n,i)}),o}}return e},parents(e=new Map,t){switch(t.type){case"RECEIVE_BLOCKS":{let o=new Map(e);return wO(t.blocks).forEach(([r,n])=>{o.set(r,n)}),o}case"INSERT_BLOCKS":{let o=new Map(e);return wO(t.blocks,t.rootClientId||"").forEach(([r,n])=>{o.set(r,n)}),o}case"MOVE_BLOCKS_TO_POSITION":{let o=new Map(e);return t.clientIds.forEach(r=>{o.set(r,t.toRootClientId||"")}),o}case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":{let o=new Map(e);return t.replacedClientIds.forEach(r=>{o.delete(r)}),wO(t.blocks,e.get(t.clientIds[0])).forEach(([r,n])=>{o.set(r,n)}),o}case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":{let o=new Map(e);return t.removedClientIds.forEach(r=>{o.delete(r)}),o}}return e},controlledInnerBlocks(e={},{type:t,clientId:o,hasControlledInnerBlocks:r}){return t==="SET_HAS_CONTROLLED_INNER_BLOCKS"?{...e,[o]:r}:e},blockEditingModes(e=new Map,t){switch(t.type){case"SET_BLOCK_EDITING_MODE":return e.get(t.clientId)===t.mode?e:new Map(e).set(t.clientId,t.mode);case"UNSET_BLOCK_EDITING_MODE":{if(!e.has(t.clientId))return e;let o=new Map(e);return o.delete(t.clientId),o}}return e}});function Spe(e=!1,t){switch(t.type){case"HIDE_BLOCK_INTERFACE":return!0;case"SHOW_BLOCK_INTERFACE":return!1}return e}function _pe(e=!1,t){switch(t.type){case"START_TYPING":return!0;case"STOP_TYPING":return!1}return e}function xpe(e=!1,t){switch(t.type){case"START_DRAGGING":return!0;case"STOP_DRAGGING":return!1}return e}function wpe(e=[],t){switch(t.type){case"START_DRAGGING_BLOCKS":return t.clientIds;case"STOP_DRAGGING_BLOCKS":return[]}return e}function Cpe(e={},t){return t.type==="SET_BLOCK_VISIBILITY"?{...e,...t.updates}:e}function W6(e={},t){switch(t.type){case"CLEAR_SELECTED_BLOCK":return e.clientId?{}:e;case"SELECT_BLOCK":return t.clientId===e.clientId?e:{clientId:t.clientId};case"REPLACE_INNER_BLOCKS":case"INSERT_BLOCKS":return!t.updateSelection||!t.blocks.length?e:{clientId:t.blocks[0].clientId};case"REMOVE_BLOCKS":return!t.clientIds||!t.clientIds.length||t.clientIds.indexOf(e.clientId)===-1?e:{};case"REPLACE_BLOCKS":{if(t.clientIds.indexOf(e.clientId)===-1)return e;let o=t.blocks[t.indexToSelect]||t.blocks[t.blocks.length-1];return o?o.clientId===e.clientId?e:{clientId:o.clientId}:{}}}return e}function Bpe(e={},t){switch(t.type){case"SELECTION_CHANGE":return t.clientId?{selectionStart:{clientId:t.clientId,attributeKey:t.attributeKey,offset:t.startOffset},selectionEnd:{clientId:t.clientId,attributeKey:t.attributeKey,offset:t.endOffset}}:{selectionStart:t.start||e.selectionStart,selectionEnd:t.end||e.selectionEnd};case"RESET_SELECTION":let{selectionStart:n,selectionEnd:i}=t;return{selectionStart:n,selectionEnd:i};case"MULTI_SELECT":let{start:s,end:a}=t;return s===e.selectionStart?.clientId&&a===e.selectionEnd?.clientId?e:{selectionStart:{clientId:s},selectionEnd:{clientId:a}};case"RESET_BLOCKS":let c=e?.selectionStart?.clientId,u=e?.selectionEnd?.clientId;if(!c&&!u)return e;if(!t.blocks.some(d=>d.clientId===c))return{selectionStart:{},selectionEnd:{}};if(!t.blocks.some(d=>d.clientId===u))return{...e,selectionEnd:e.selectionStart}}let o=W6(e.selectionStart,t),r=W6(e.selectionEnd,t);return o===e.selectionStart&&r===e.selectionEnd?e:{selectionStart:o,selectionEnd:r}}function Epe(e=!1,t){switch(t.type){case"START_MULTI_SELECT":return!0;case"STOP_MULTI_SELECT":return!1}return e}function Tpe(e=!0,t){return t.type==="TOGGLE_SELECTION"?t.isSelectionEnabled:e}function Ipe(e=null,t){switch(t.type){case"SHOW_VIEWPORT_MODAL":return t.clientIds;case"HIDE_VIEWPORT_MODAL":return null}return e}function Ppe(e=!1,t){switch(t.type){case"DISPLAY_BLOCK_REMOVAL_PROMPT":let{clientIds:o,selectPrevious:r,message:n}=t;return{clientIds:o,selectPrevious:r,message:n};case"CLEAR_BLOCK_REMOVAL_PROMPT":return!1}return e}function Rpe(e=!1,t){return t.type==="SET_BLOCK_REMOVAL_RULES"?t.rules:e}function Ope(e=null,t){return t.type==="REPLACE_BLOCKS"&&t.initialPosition!==void 0||["MULTI_SELECT","SELECT_BLOCK","RESET_SELECTION","INSERT_BLOCKS","REPLACE_INNER_BLOCKS"].includes(t.type)?t.initialPosition:e}function Ape(e={},t){if(t.type==="TOGGLE_BLOCK_MODE"){let{clientId:o}=t;return{...e,[o]:e[o]&&e[o]==="html"?"visual":"html"}}return e}function Lpe(e=null,t){switch(t.type){case"SHOW_INSERTION_POINT":{let{rootClientId:o,index:r,__unstableWithInserter:n,operation:i,nearestSide:s}=t,a={rootClientId:o,index:r,__unstableWithInserter:n,operation:i,nearestSide:s};return(0,Yk.default)(e,a)?e:a}case"HIDE_INSERTION_POINT":return null}return e}function Npe(e={isValid:!0},t){return t.type==="SET_TEMPLATE_VALIDITY"?{...e,isValid:t.isValid}:e}function Mpe(e=$k,t){if(t.type==="UPDATE_SETTINGS"){let o=t.reset?{...$k,...t.settings}:{...e,...t.settings};return Object.defineProperty(o,"__unstableIsPreviewMode",{get(){return(0,$6.default)("__unstableIsPreviewMode",{since:"6.8",alternative:"isPreviewMode"}),this.isPreviewMode}}),o}return e}function Dpe(e=j6,t){switch(t.type){case"INSERT_BLOCKS":case"REPLACE_BLOCKS":{let o=t.blocks.reduce((r,n)=>{let{attributes:i,name:s}=n,a=s,c=(0,qk.select)(w0.store).getActiveBlockVariation(s,i);return c?.name&&(a+="/"+c.name),s==="core/block"&&(a+="/"+i.ref),{...r,[a]:{time:t.time,count:r[a]?r[a].count+1:1}}},e.insertUsage);return{...e,insertUsage:o}}}return e}var Vpe=(e={},t)=>{switch(t.type){case"REPLACE_BLOCKS":{let o=new Set,r=[...t.blocks];for(;r.length;){let n=r.shift();o.add(n.clientId),r.push(...n.innerBlocks)}return Object.fromEntries(Object.entries(e).filter(([n])=>!t.clientIds.includes(n)||o.has(n)))}case"REMOVE_BLOCKS":return Object.fromEntries(Object.entries(e).filter(([o])=>!t.clientIds.includes(o)));case"UPDATE_BLOCK_LIST_SETTINGS":{let o=typeof t.clientId=="string"?{[t.clientId]:t.settings}:t.clientId;for(let n in o)o[n]?(0,Yk.default)(e[n],o[n])&&delete o[n]:e[n]||delete o[n];if(Object.keys(o).length===0)return e;let r={...e,...o};for(let n in o)o[n]||delete r[n];return r}}return e};function Fpe(e=null,t){switch(t.type){case"UPDATE_BLOCK":if(!t.updates.attributes)break;return{[t.clientId]:t.updates.attributes};case"UPDATE_BLOCK_ATTRIBUTES":return t.clientIds.reduce((o,r)=>({...o,[r]:t.options?.uniqueByBlock?t.attributes[r]:t.attributes}),{})}return e}function zpe(e,t){switch(t.type){case"TOGGLE_BLOCK_HIGHLIGHT":let{clientId:o,isHighlighted:r}=t;return r?o:e===o?null:e;case"SELECT_BLOCK":if(t.clientId!==e)return null}return e}function jpe(e,t){switch(t.type){case"TOGGLE_BLOCK_SPOTLIGHT":let{clientId:o,hasBlockSpotlight:r}=t;return r?o:e===o?null:e;case"SELECT_BLOCK":return t.clientId!==e?null:e;case"SELECTION_CHANGE":return t.start?.clientId!==e||t.end?.clientId!==e?null:e;case"CLEAR_SELECTED_BLOCK":return null}return e}function Upe(e=null,t){switch(t.type){case"SET_BLOCK_EXPANDED_IN_LIST_VIEW":return t.clientId;case"SELECT_BLOCK":if(t.clientId!==e)return null}return e}function Hpe(e={},t){switch(t.type){case"INSERT_BLOCKS":case"REPLACE_BLOCKS":if(!t.blocks.length)return e;let o=t.blocks.map(n=>n.clientId),r=t.meta?.source;return{clientIds:o,source:r};case"RESET_BLOCKS":return{}}return e}function Gpe(e,t){if(t.type==="EDIT_CONTENT_ONLY_SECTION")return t.clientId;if(!e)return e;switch(t.type){case"REMOVE_BLOCKS":case"REPLACE_BLOCKS":if(t.clientIds.includes(e))return;break;case"RESET_BLOCKS":if(!Y6(t.blocks)[e])return;break}return e}function Wpe(e=new Map,t){switch(t.type){case"SET_STYLE_OVERRIDE":return new Map(e).set(t.id,t.style);case"DELETE_STYLE_OVERRIDE":{let o=new Map(e);return o.delete(t.id),o}}return e}function $pe(e=[],t){return t.type==="REGISTER_INSERTER_MEDIA_CATEGORY"?[...e,t.category]:e}function Kpe(e=!1,t){return t.type==="LAST_FOCUS"?t.lastFocus:e}function Ype(e=100,t){switch(t.type){case"SET_ZOOM_LEVEL":return t.zoom;case"RESET_ZOOM_LEVEL":return 100}return e}function qpe(e=null,t){switch(t.type){case"SET_INSERTION_POINT":return t.value;case"SELECT_BLOCK":return null}return e}function Zpe(e={allOpen:!1,panels:{}},t){switch(t.type){case"SET_OPEN_LIST_VIEW_PANEL":return{allOpen:!1,panels:t.clientId?{[t.clientId]:!0}:{}};case"SET_ALL_LIST_VIEW_PANELS_OPEN":return{allOpen:!0,panels:{}};case"TOGGLE_LIST_VIEW_PANEL":return{allOpen:!1,panels:{...e.panels,[t.clientId]:t.isOpen}};case"REPLACE_BLOCKS":case"REMOVE_BLOCKS":{if(!t.clientIds||t.clientIds.length===0)return e;let o={...e.panels},r=!1;return t.clientIds.forEach(n=>{n in o&&(delete o[n],r=!0)}),r?{...e,panels:o}:e}}return e}function Xpe(e=0,t){return t.type==="INCREMENT_LIST_VIEW_EXPAND_REVISION"?e+1:e}function Qpe(e=!1,t){switch(t.type){case"OPEN_LIST_VIEW_CONTENT_PANEL":return!0;case"CLOSE_LIST_VIEW_CONTENT_PANEL":return!1;case"CLEAR_SELECTED_BLOCK":return!1}return e}function Jpe(e=null,t){switch(t.type){case"REQUEST_INSPECTOR_TAB":return{tabName:t.tabName,options:t.options};case"CLEAR_REQUESTED_INSPECTOR_TAB":return null}return e}var ehe=(0,qk.combineReducers)({blocks:ype,isDragging:xpe,isTyping:_pe,isBlockInterfaceHidden:Spe,draggedBlocks:wpe,selection:Bpe,isMultiSelecting:Epe,isSelectionEnabled:Tpe,initialPosition:Ope,blocksMode:Ape,blockListSettings:Vpe,insertionPoint:qpe,insertionCue:Lpe,template:Npe,settings:Mpe,preferences:Dpe,lastBlockAttributesChange:Fpe,lastFocus:Kpe,expandedBlock:Upe,highlightedBlock:zpe,lastBlockInserted:Hpe,editedContentOnlySection:Gpe,blockVisibility:Cpe,viewportModalClientIds:Ipe,styleOverrides:Wpe,removalPromptData:Ppe,blockRemovalRules:Rpe,registeredInserterMediaCategories:$pe,zoomLevel:Ype,hasBlockSpotlight:jpe,openedListViewPanels:Zpe,listViewExpandRevision:Xpe,listViewContentPanelOpen:Qpe,requestedInspectorTab:Jpe});function q6(e,t){if(t===""){let n=e.blocks.tree.get(t);return n?{clientId:"",...n}:void 0}if(!e.blocks.controlledInnerBlocks[t])return e.blocks.tree.get(t);let o=e.blocks.tree.get(`controlled||${t}`);return{...e.blocks.tree.get(t),innerBlocks:o?.innerBlocks}}function EO(e,t,o){let r=q6(e,t);if(r&&(o(r),!!r?.innerBlocks?.length))for(let n of r?.innerBlocks)EO(e,n.clientId,o)}function Kk(e,t,o){if(!o.length)return;let r=e.blocks.parents.get(t);for(;r!==void 0;){if(o.includes(r))return r;r=e.blocks.parents.get(r)}}function the(e){return e?.attributes?.metadata?.bindings&&Object.keys(e?.attributes?.metadata?.bindings).length}function CO(e,t=""){let o=e?.zoomLevel<100||e?.zoomLevel==="auto-scaled",r=new Map,n=e.settings?.[Zc],i=e.blocks.order.get(n),s=Array.from(e.blocks.blockEditingModes).some(([,g])=>g==="disabled"),a=[],c=[];Object.keys(e.blocks.controlledInnerBlocks).forEach(g=>{let b=e.blocks.byClientId?.get(g);b?.name==="core/template-part"&&a.push(g),b?.name==="core/block"&&c.push(g)});let u=Object.keys(e.blockListSettings).filter(g=>e.blockListSettings[g]?.templateLock==="contentOnly"),d=e.settings?.[Xc],f=e.settings?.disableContentOnlyForUnsyncedPatterns,m=d||f?[]:Array.from(e.blocks.attributes.keys()).filter(g=>e.blocks.attributes.get(g)?.metadata?.patternName),h=e.settings?.disableContentOnlyForTemplateParts,p=[...u,...m,...d||h?[]:a];return EO(e,t,g=>{let{clientId:b,name:v}=g,k=!!e.editedContentOnlySection,y=!1;if(k&&(y=b===e.editedContentOnlySection||!!Kk(e,b,[e.editedContentOnlySection]),!y)){r.set(b,"disabled");return}if(!e.blocks.blockEditingModes.has(b)){if(s){let S,x=e.blocks.parents.get(b);for(;x!==void 0&&(e.blocks.blockEditingModes.has(x)&&(S=e.blocks.blockEditingModes.get(x)),!S);)x=e.blocks.parents.get(x);if(S==="disabled"){r.set(b,"disabled");return}}if(o){if(b===n){r.set(b,"contentOnly");return}if(!i?.length){r.set(b,"disabled");return}if(i.includes(b)){r.set(b,"contentOnly");return}r.set(b,"disabled");return}if(c.length){if(c.includes(b)){if(Kk(e,b,c)){r.set(b,"disabled");return}return}let S=Kk(e,b,c);if(S){if(Kk(e,S,c)){r.set(b,"disabled");return}if(the(g)){r.set(b,"contentOnly");return}r.set(b,"disabled");return}}if(k&&y){r.set(b,"default");return}p.length&&Kk(e,b,p)&&(lpe(v)?r.set(b,"contentOnly"):r.set(b,"disabled"))}}),r}function Qc({prevState:e,nextState:t,addedBlocks:o,removedClientIds:r}){let n=e.derivedBlockEditingModes,i;return r?.forEach(s=>{EO(e,s,a=>{n.has(a.clientId)&&(i||(i=new Map(n)),i.delete(a.clientId))})}),o?.forEach(s=>{let a=CO(t,s.clientId);a.size&&(i?i=new Map([...i?.size?i:[],...a]):i=new Map([...n?.size?n:[],...a]))}),i}function ohe(e){return(t,o)=>{let r=e(t,o);if(o.type!=="SET_EDITOR_MODE"&&r===t)return t;switch(o.type){case"REMOVE_BLOCKS":{let n=Qc({prevState:t,nextState:r,removedClientIds:o.clientIds});if(n)return{...r,derivedBlockEditingModes:n??t.derivedBlockEditingModes};break}case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":{let n=Qc({prevState:t,nextState:r,addedBlocks:o.blocks});if(n)return{...r,derivedBlockEditingModes:n??t.derivedBlockEditingModes};break}case"UPDATE_BLOCK_ATTRIBUTES":{if(r.settings?.disableContentOnlyForUnsyncedPatterns)break;let i=[],s=[];for(let c of o?.clientIds){let u=o.options?.uniqueByBlock?o.attributes[c]:o.attributes;if(!u)break;u.metadata?.patternName&&!t.blocks.attributes.get(c)?.metadata?.patternName?i.push(r.blocks.tree.get(c)):u.metadata&&!u.metadata?.patternName&&t.blocks.attributes.get(c)?.metadata?.patternName&&s.push(c)}if(!i?.length&&!s?.length)break;let a=Qc({prevState:t,nextState:r,addedBlocks:i,removedClientIds:s});if(a)return{...r,derivedBlockEditingModes:a??t.derivedBlockEditingModes};break}case"UPDATE_BLOCK_LIST_SETTINGS":{let n=[],i=[],s=typeof o.clientId=="string"?{[o.clientId]:o.settings}:o.clientId;for(let c in s){let u=t.blockListSettings[c]?.templateLock!=="contentOnly"&&r.blockListSettings[c]?.templateLock==="contentOnly",d=t.blockListSettings[c]?.templateLock==="contentOnly"&&r.blockListSettings[c]?.templateLock!=="contentOnly";u?n.push(r.blocks.tree.get(c)):d&&i.push(c)}if(!n.length&&!i.length)break;let a=Qc({prevState:t,nextState:r,addedBlocks:n,removedClientIds:i});if(a)return{...r,derivedBlockEditingModes:a??t.derivedBlockEditingModes};break}case"SET_BLOCK_EDITING_MODE":case"UNSET_BLOCK_EDITING_MODE":case"SET_HAS_CONTROLLED_INNER_BLOCKS":{let n=q6(r,o.clientId);if(!n)break;let i=Qc({prevState:t,nextState:r,removedClientIds:[o.clientId],addedBlocks:[n]});if(i)return{...r,derivedBlockEditingModes:i??t.derivedBlockEditingModes};break}case"REPLACE_BLOCKS":{let n=Qc({prevState:t,nextState:r,addedBlocks:o.blocks,removedClientIds:o.clientIds});if(n)return{...r,derivedBlockEditingModes:n??t.derivedBlockEditingModes};break}case"REPLACE_INNER_BLOCKS":{let n=t.blocks.order.get(o.rootClientId),i=Qc({prevState:t,nextState:r,addedBlocks:o.blocks,removedClientIds:n});if(i)return{...r,derivedBlockEditingModes:i??t.derivedBlockEditingModes};break}case"MOVE_BLOCKS_TO_POSITION":{let n=o.clientIds.map(s=>r.blocks.byClientId.get(s)),i=Qc({prevState:t,nextState:r,addedBlocks:n,removedClientIds:o.clientIds});if(i)return{...r,derivedBlockEditingModes:i??t.derivedBlockEditingModes};break}case"UPDATE_SETTINGS":{if(t?.settings?.[Zc]!==r?.settings?.[Zc]||!!t?.settings?.disableContentOnlyForUnsyncedPatterns!=!!r?.settings?.disableContentOnlyForUnsyncedPatterns||!!t?.settings?.[Xc]!=!!r?.settings?.[Xc]||!!t?.settings?.disableContentOnlyForTemplateParts!=!!r?.settings?.disableContentOnlyForTemplateParts)return{...r,derivedBlockEditingModes:CO(r)};break}case"RESET_BLOCKS":case"EDIT_CONTENT_ONLY_SECTION":case"SET_EDITOR_MODE":case"RESET_ZOOM_LEVEL":case"SET_ZOOM_LEVEL":return{...r,derivedBlockEditingModes:CO(r)}}return r.derivedBlockEditingModes=t?.derivedBlockEditingModes??new Map,r}}function rhe(e){return(t,o)=>{let r=e(t,o);return t?(r.automaticChangeStatus=t.automaticChangeStatus,o.type==="MARK_AUTOMATIC_CHANGE"?{...r,automaticChangeStatus:"pending"}:o.type==="MARK_AUTOMATIC_CHANGE_FINAL"&&t.automaticChangeStatus==="pending"?{...r,automaticChangeStatus:"final"}:r.blocks===t.blocks&&r.selection===t.selection||r.automaticChangeStatus!=="final"&&r.selection!==t.selection?r:{...r,automaticChangeStatus:void 0}):r}}var Z6=(0,BO.pipe)(ohe,rhe)(ehe);var tM={};Ip(tM,{__experimentalGetActiveBlockIdByBlockNames:()=>obe,__experimentalGetAllowedBlocks:()=>zge,__experimentalGetAllowedPatterns:()=>Gge,__experimentalGetBlockListSettingsForBlocks:()=>qge,__experimentalGetDirectInsertBlock:()=>jge,__experimentalGetGlobalBlocksByName:()=>Xhe,__experimentalGetLastBlockAttributeChanges:()=>Qge,__experimentalGetParsedPattern:()=>Uge,__experimentalGetPatternTransformItems:()=>Kge,__experimentalGetPatternsByBlockTypes:()=>$ge,__experimentalGetReusableBlockTitle:()=>Zge,__unstableGetBlockWithoutInnerBlocks:()=>Yhe,__unstableGetClientIdWithClientIdsTree:()=>vj,__unstableGetClientIdsTree:()=>yj,__unstableGetContentLockingParent:()=>ube,__unstableGetSelectedBlocksWithPartialSelection:()=>vge,__unstableGetTemporarilyEditingAsBlocks:()=>dbe,__unstableGetVisibleBlocks:()=>sbe,__unstableHasActiveBlockOverlayActive:()=>Nj,__unstableIsFullySelected:()=>hge,__unstableIsLastBlockChangeIgnored:()=>Xge,__unstableIsSelectionCollapsed:()=>gge,__unstableIsSelectionMergeable:()=>kge,__unstableIsWithinBlockOverlay:()=>abe,__unstableSelectionHasUnmergeableBlock:()=>bge,areInnerBlocksControlled:()=>Iw,canEditBlock:()=>Oj,canInsertBlockType:()=>Df,canInsertBlocks:()=>Age,canLockBlockType:()=>Nge,canMoveBlock:()=>Rj,canMoveBlocks:()=>Lge,canRemoveBlock:()=>ZN,canRemoveBlocks:()=>Pj,didAutomaticChange:()=>ebe,getAdjacentBlockClientId:()=>$N,getAllowedBlocks:()=>HN,getBlock:()=>xl,getBlockAttributes:()=>Ei,getBlockCount:()=>Jhe,getBlockEditingMode:()=>Ti,getBlockHierarchyRootClientId:()=>ige,getBlockIndex:()=>Cj,getBlockInsertionPoint:()=>Ige,getBlockListSettings:()=>eM,getBlockMode:()=>wge,getBlockName:()=>ut,getBlockNamesByClientId:()=>Qhe,getBlockOrder:()=>wr,getBlockParents:()=>ys,getBlockParentsByBlockName:()=>WN,getBlockRootClientId:()=>Po,getBlockSelectionEnd:()=>tge,getBlockSelectionStart:()=>ege,getBlockTransformItems:()=>Vge,getBlocks:()=>qhe,getBlocksByClientId:()=>Tw,getBlocksByName:()=>_j,getClientIdsOfDescendants:()=>Sj,getClientIdsWithDescendants:()=>$p,getDirectInsertBlock:()=>Lj,getDraggedBlockClientIds:()=>Bge,getFirstMultiSelectedBlockClientId:()=>KN,getGlobalBlockCount:()=>Zhe,getHoveredBlockClientId:()=>ibe,getInserterItems:()=>Dge,getLastMultiSelectedBlockClientId:()=>xj,getLowestCommonAncestorWithSelectedBlock:()=>sge,getMultiSelectedBlockClientIds:()=>du,getMultiSelectedBlocks:()=>uge,getMultiSelectedBlocksEndClientId:()=>pge,getMultiSelectedBlocksStartClientId:()=>mge,getNextBlockClientId:()=>lge,getPatternsByBlockTypes:()=>Wge,getPreviousBlockClientId:()=>age,getSelectedBlock:()=>nge,getSelectedBlockClientId:()=>Yp,getSelectedBlockClientIds:()=>qp,getSelectedBlockCount:()=>oge,getSelectedBlocksInitialCaretPosition:()=>cge,getSelectionEnd:()=>Rv,getSelectionStart:()=>Pv,getSettings:()=>su,getTemplate:()=>Oge,getTemplateLock:()=>fa,hasBlockMovingClientId:()=>Jge,hasDraggedInnerBlock:()=>Tj,hasInserterItems:()=>Fge,hasMultiSelection:()=>Sge,hasSelectedBlock:()=>rge,hasSelectedInnerBlock:()=>Ej,isAncestorBeingDragged:()=>Ege,isAncestorMultiSelected:()=>fge,isBlockBeingDragged:()=>YN,isBlockHighlighted:()=>tbe,isBlockInsertionPointVisible:()=>Pge,isBlockMultiSelected:()=>wj,isBlockSelected:()=>Bj,isBlockValid:()=>Khe,isBlockVisible:()=>nbe,isBlockWithinSelection:()=>yge,isCaretWithinFormattedText:()=>Tge,isDraggingBlocks:()=>Ij,isFirstMultiSelectedBlock:()=>dge,isGroupable:()=>cbe,isLastBlockChangePersistent:()=>Yge,isMultiSelecting:()=>_ge,isSelectionEnabled:()=>xge,isTyping:()=>Cge,isUngroupable:()=>lbe,isValidTemplate:()=>Rge,wasBlockJustInserted:()=>rbe});var Oe=l($(),1),gj=l(R(),1),bj=l(ct(),1);var C0=l(R(),1),we=(0,C0.forwardRef)(({icon:e,size:t=24,...o},r)=>(0,C0.cloneElement)(e,{width:t,height:t,...o,ref:r}));var B0=l(q(),1),TO=l(w(),1),Sf=(0,TO.jsx)(B0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,TO.jsx)(B0.Path,{d:"M7.5 5.5h9V4h-9v1.5Zm-3.5 7h16V11H4v1.5Zm3.5 7h9V18h-9v1.5Z"})});var E0=l(q(),1),IO=l(w(),1),PO=(0,IO.jsx)(E0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,IO.jsx)(E0.Path,{d:"M4 12.8h16v-1.5H4v1.5zm0 7h12.4v-1.5H4v1.5zM4 4.3v1.5h16V4.3H4z"})});var T0=l(q(),1),RO=l(w(),1),Jc=(0,RO.jsx)(T0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,RO.jsx)(T0.Path,{d:"M13 5.5H4V4h9v1.5Zm7 7H4V11h16v1.5Zm-7 7H4V18h9v1.5Z"})});var I0=l(q(),1),OO=l(w(),1),_f=(0,OO.jsx)(I0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,OO.jsx)(I0.Path,{d:"M19 5.5H5V4h14v1.5ZM19 20H5v-1.5h14V20ZM5 9h14v6H5V9Z"})});var P0=l(q(),1),AO=l(w(),1),eu=(0,AO.jsx)(P0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,AO.jsx)(P0.Path,{d:"M11.111 5.5H20V4h-8.889v1.5ZM4 12.5h16V11H4v1.5Zm7.111 7H20V18h-8.889v1.5Z"})});var R0=l(q(),1),LO=l(w(),1),NO=(0,LO.jsx)(R0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,LO.jsx)(R0.Path,{d:"m16.5 13.5-3.7 3.7V4h-1.5v13.2l-3.8-3.7-1 1 5.5 5.6 5.5-5.6z"})});var O0=l(q(),1),MO=l(w(),1),Zk=(0,MO.jsx)(O0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,MO.jsx)(O0.Path,{d:"M20 11.2H6.8l3.7-3.7-1-1L3.9 12l5.6 5.5 1-1-3.7-3.7H20z"})});var A0=l(q(),1),DO=l(w(),1),Xk=(0,DO.jsx)(A0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,DO.jsx)(A0.Path,{d:"m14.5 6.5-1 1 3.7 3.7H4v1.6h13.2l-3.7 3.7 1 1 5.6-5.5z"})});var L0=l(q(),1),VO=l(w(),1),FO=(0,VO.jsx)(L0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,VO.jsx)(L0.Path,{d:"M18.5 5.5h-13c-1.1 0-2 .9-2 2v9c0 1.1.9 2 2 2h13c1.1 0 2-.9 2-2v-9c0-1.1-.9-2-2-2zm.5 11c0 .3-.2.5-.5.5h-13c-.3 0-.5-.2-.5-.5v-9c0-.3.2-.5.5-.5h13c.3 0 .5.2.5.5v9zM6.5 12H8v-2h2V8.5H6.5V12zm9.5 2h-2v1.5h3.5V12H16v2z"})});var N0=l(q(),1),zO=l(w(),1),jO=(0,zO.jsx)(N0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,zO.jsx)(N0.Path,{d:"M17.7 4.3c-1.2 0-2.8 0-3.8 1-.6.6-.9 1.5-.9 2.6V14c-.6-.6-1.5-1-2.5-1C8.6 13 7 14.6 7 16.5S8.6 20 10.5 20c1.5 0 2.8-1 3.3-2.3.5-.8.7-1.8.7-2.5V7.9c0-.7.2-1.2.5-1.6.6-.6 1.8-.6 2.8-.6h.3V4.3h-.4z"})});var M0=l(q(),1),UO=l(w(),1),Qk=(0,UO.jsx)(M0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,UO.jsx)(M0.Path,{d:"M19 8h-1V6h-5v2h-2V6H6v2H5c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-8c0-1.1-.9-2-2-2zm.5 10c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5v-8c0-.3.2-.5.5-.5h14c.3 0 .5.2.5.5v8z"})});var D0=l(q(),1),HO=l(w(),1),GO=(0,HO.jsx)(D0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,HO.jsx)(D0.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M6 5.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5H6a.5.5 0 01-.5-.5V6a.5.5 0 01.5-.5zM4 6a2 2 0 012-2h3a2 2 0 012 2v3a2 2 0 01-2 2H6a2 2 0 01-2-2V6zm11-.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5V6a.5.5 0 01.5-.5zM13 6a2 2 0 012-2h3a2 2 0 012 2v3a2 2 0 01-2 2h-3a2 2 0 01-2-2V6zm5 8.5h-3a.5.5 0 00-.5.5v3a.5.5 0 00.5.5h3a.5.5 0 00.5-.5v-3a.5.5 0 00-.5-.5zM15 13a2 2 0 00-2 2v3a2 2 0 002 2h3a2 2 0 002-2v-3a2 2 0 00-2-2h-3zm-9 1.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5H6a.5.5 0 01-.5-.5v-3a.5.5 0 01.5-.5zM4 15a2 2 0 012-2h3a2 2 0 012 2v3a2 2 0 01-2 2H6a2 2 0 01-2-2v-3z"})});var V0=l(q(),1),WO=l(w(),1),gl=(0,WO.jsx)(V0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,WO.jsx)(V0.Path,{d:"M16.5 7.5 10 13.9l-2.5-2.4-1 1 3.5 3.6 7.5-7.6z"})});var F0=l(q(),1),$O=l(w(),1),zn=(0,$O.jsx)(F0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,$O.jsx)(F0.Path,{d:"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"})});var z0=l(q(),1),KO=l(w(),1),Jk=(0,KO.jsx)(z0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,KO.jsx)(z0.Path,{d:"m13.1 16-3.4-4 3.4-4 1.1 1-2.6 3 2.6 3-1.1 1z"})});var j0=l(q(),1),YO=l(w(),1),Mr=(0,YO.jsx)(j0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,YO.jsx)(j0.Path,{d:"M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z"})});var U0=l(q(),1),qO=l(w(),1),tu=(0,qO.jsx)(U0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,qO.jsx)(U0.Path,{d:"M10.8622 8.04053L14.2805 12.0286L10.8622 16.0167L9.72327 15.0405L12.3049 12.0286L9.72327 9.01672L10.8622 8.04053Z"})});var H0=l(q(),1),ZO=l(w(),1),Vo=(0,ZO.jsx)(H0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,ZO.jsx)(H0.Path,{d:"M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"})});var G0=l(q(),1),XO=l(w(),1),xf=(0,XO.jsx)(G0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,XO.jsx)(G0.Path,{d:"M6.5 12.4L12 8l5.5 4.4-.9 1.2L12 10l-4.5 3.6-1-1.2z"})});var W0=l(q(),1),QO=l(w(),1),wf=(0,QO.jsx)(W0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,QO.jsx)(W0.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"})});var $0=l(q(),1),JO=l(w(),1),eA=(0,JO.jsx)($0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,JO.jsx)($0.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M10.289 4.836A1 1 0 0111.275 4h1.306a1 1 0 01.987.836l.244 1.466c.787.26 1.503.679 2.108 1.218l1.393-.522a1 1 0 011.216.437l.653 1.13a1 1 0 01-.23 1.273l-1.148.944a6.025 6.025 0 010 2.435l1.149.946a1 1 0 01.23 1.272l-.653 1.13a1 1 0 01-1.216.437l-1.394-.522c-.605.54-1.32.958-2.108 1.218l-.244 1.466a1 1 0 01-.987.836h-1.306a1 1 0 01-.986-.836l-.244-1.466a5.995 5.995 0 01-2.108-1.218l-1.394.522a1 1 0 01-1.217-.436l-.653-1.131a1 1 0 01.23-1.272l1.149-.946a6.026 6.026 0 010-2.435l-1.148-.944a1 1 0 01-.23-1.272l.653-1.131a1 1 0 011.217-.437l1.393.522a5.994 5.994 0 012.108-1.218l.244-1.466zM14.929 12a3 3 0 11-6 0 3 3 0 016 0z"})});var K0=l(q(),1),tA=l(w(),1),oA=(0,tA.jsx)(K0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,tA.jsx)(K0.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M5.625 5.5h9.75c.069 0 .125.056.125.125v9.75a.125.125 0 0 1-.125.125h-9.75a.125.125 0 0 1-.125-.125v-9.75c0-.069.056-.125.125-.125ZM4 5.625C4 4.728 4.728 4 5.625 4h9.75C16.273 4 17 4.728 17 5.625v9.75c0 .898-.727 1.625-1.625 1.625h-9.75A1.625 1.625 0 0 1 4 15.375v-9.75Zm14.5 11.656v-9H20v9C20 18.8 18.77 20 17.251 20H6.25v-1.5h11.001c.69 0 1.249-.528 1.249-1.219Z"})});var Y0=l(q(),1),rA=l(w(),1),Cf=(0,rA.jsx)(Y0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,rA.jsx)(Y0.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M5 4.5h11a.5.5 0 0 1 .5.5v11a.5.5 0 0 1-.5.5H5a.5.5 0 0 1-.5-.5V5a.5.5 0 0 1 .5-.5ZM3 5a2 2 0 0 1 2-2h11a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5Zm17 3v10.75c0 .69-.56 1.25-1.25 1.25H6v1.5h12.75a2.75 2.75 0 0 0 2.75-2.75V8H20Z"})});var q0=l(q(),1),nA=l(w(),1),iA=(0,nA.jsx)(q0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,nA.jsx)(q0.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M5.75 6A.25.25 0 0 1 6 5.75h3v-1.5H6A1.75 1.75 0 0 0 4.25 6v3h1.5V6ZM18 18.25h-3v1.5h3A1.75 1.75 0 0 0 19.75 18v-3h-1.5v3a.25.25 0 0 1-.25.25ZM18.25 9V6a.25.25 0 0 0-.25-.25h-3v-1.5h3c.966 0 1.75.784 1.75 1.75v3h-1.5Zm-12.5 9v-3h-1.5v3c0 .966.784 1.75 1.75 1.75h3v-1.5H6a.25.25 0 0 1-.25-.25Z"})});var Bf=l(q(),1),Np=l(w(),1),sA=(0,Np.jsxs)(Bf.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,Np.jsx)(Bf.G,{opacity:".25",children:(0,Np.jsx)(Bf.Path,{d:"M5.75 6A.25.25 0 0 1 6 5.75h3v-1.5H6A1.75 1.75 0 0 0 4.25 6v3h1.5V6ZM18 18.25h-3v1.5h3A1.75 1.75 0 0 0 19.75 18v-3h-1.5v3a.25.25 0 0 1-.25.25ZM18.25 9V6a.25.25 0 0 0-.25-.25h-3v-1.5h3c.966 0 1.75.784 1.75 1.75v3h-1.5ZM5.75 18v-3h-1.5v3c0 .966.784 1.75 1.75 1.75h3v-1.5H6a.25.25 0 0 1-.25-.25Z"})}),(0,Np.jsx)(Bf.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M5.75 15v3c0 .138.112.25.25.25h3v1.5H6A1.75 1.75 0 0 1 4.25 18v-3h1.5Z"})]});var Ef=l(q(),1),Mp=l(w(),1),aA=(0,Mp.jsxs)(Ef.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,Mp.jsx)(Ef.G,{opacity:".25",children:(0,Mp.jsx)(Ef.Path,{d:"M5.75 6A.25.25 0 0 1 6 5.75h3v-1.5H6A1.75 1.75 0 0 0 4.25 6v3h1.5V6ZM18 18.25h-3v1.5h3A1.75 1.75 0 0 0 19.75 18v-3h-1.5v3a.25.25 0 0 1-.25.25ZM18.25 9V6a.25.25 0 0 0-.25-.25h-3v-1.5h3c.966 0 1.75.784 1.75 1.75v3h-1.5ZM5.75 18v-3h-1.5v3c0 .966.784 1.75 1.75 1.75h3v-1.5H6a.25.25 0 0 1-.25-.25Z"})}),(0,Mp.jsx)(Ef.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M15 18.25h3a.25.25 0 0 0 .25-.25v-3h1.5v3A1.75 1.75 0 0 1 18 19.75h-3v-1.5Z"})]});var Tf=l(q(),1),Dp=l(w(),1),lA=(0,Dp.jsxs)(Tf.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,Dp.jsx)(Tf.G,{opacity:".25",children:(0,Dp.jsx)(Tf.Path,{d:"M5.75 6A.25.25 0 0 1 6 5.75h3v-1.5H6A1.75 1.75 0 0 0 4.25 6v3h1.5V6ZM18 18.25h-3v1.5h3A1.75 1.75 0 0 0 19.75 18v-3h-1.5v3a.25.25 0 0 1-.25.25ZM18.25 9V6a.25.25 0 0 0-.25-.25h-3v-1.5h3c.966 0 1.75.784 1.75 1.75v3h-1.5ZM5.75 18v-3h-1.5v3c0 .966.784 1.75 1.75 1.75h3v-1.5H6a.25.25 0 0 1-.25-.25Z"})}),(0,Dp.jsx)(Tf.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M6 5.75a.25.25 0 0 0-.25.25v3h-1.5V6c0-.966.784-1.75 1.75-1.75h3v1.5H6Z"})]});var If=l(q(),1),Vp=l(w(),1),cA=(0,Vp.jsxs)(If.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,Vp.jsx)(If.G,{opacity:".25",children:(0,Vp.jsx)(If.Path,{d:"M5.75 6A.25.25 0 0 1 6 5.75h3v-1.5H6A1.75 1.75 0 0 0 4.25 6v3h1.5V6ZM18 18.25h-3v1.5h3A1.75 1.75 0 0 0 19.75 18v-3h-1.5v3a.25.25 0 0 1-.25.25ZM18.25 9V6a.25.25 0 0 0-.25-.25h-3v-1.5h3c.966 0 1.75.784 1.75 1.75v3h-1.5ZM5.75 18v-3h-1.5v3c0 .966.784 1.75 1.75 1.75h3v-1.5H6a.25.25 0 0 1-.25-.25Z"})}),(0,Vp.jsx)(If.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M18.25 9V6a.25.25 0 0 0-.25-.25h-3v-1.5h3c.966 0 1.75.784 1.75 1.75v3h-1.5Z"})]});var Z0=l(q(),1),uA=l(w(),1),dA=(0,uA.jsx)(Z0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,uA.jsx)(Z0.Path,{d:"M20.5 16h-.7V8c0-1.1-.9-2-2-2H6.2c-1.1 0-2 .9-2 2v8h-.7c-.8 0-1.5.7-1.5 1.5h20c0-.8-.7-1.5-1.5-1.5zM5.7 8c0-.3.2-.5.5-.5h11.6c.3 0 .5.2.5.5v7.6H5.7V8z"})});var X0=l(q(),1),fA=l(w(),1),ev=(0,fA.jsx)(X0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,fA.jsx)(X0.Path,{d:"M8 7h2V5H8v2zm0 6h2v-2H8v2zm0 6h2v-2H8v2zm6-14v2h2V5h-2zm0 8h2v-2h-2v2zm0 6h2v-2h-2v2z"})});var Q0=l(q(),1),mA=l(w(),1),pA=(0,mA.jsx)(Q0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,mA.jsx)(Q0.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M3 7c0-1.1.9-2 2-2h14a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V7Zm2-.5h14c.3 0 .5.2.5.5v1L12 13.5 4.5 7.9V7c0-.3.2-.5.5-.5Zm-.5 3.3V17c0 .3.2.5.5.5h14c.3 0 .5-.2.5-.5V9.8L12 15.4 4.5 9.8Z"})});var J0=l(q(),1),hA=l(w(),1),Pf=(0,hA.jsx)(J0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,hA.jsx)(J0.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M12.218 5.377a.25.25 0 0 0-.436 0l-7.29 12.96a.25.25 0 0 0 .218.373h14.58a.25.25 0 0 0 .218-.372l-7.29-12.96Zm-1.743-.735c.669-1.19 2.381-1.19 3.05 0l7.29 12.96a1.75 1.75 0 0 1-1.525 2.608H4.71a1.75 1.75 0 0 1-1.525-2.608l7.29-12.96ZM12.75 17.46h-1.5v-1.5h1.5v1.5Zm-1.5-3h1.5v-5h-1.5v5Z"})});var ex=l(q(),1),gA=l(w(),1),bA=(0,gA.jsx)(ex.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,gA.jsx)(ex.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"})});var tx=l(q(),1),kA=l(w(),1),vA=(0,kA.jsx)(tx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,kA.jsx)(tx.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M12.848 8a1 1 0 0 1-.914-.594l-.723-1.63a.5.5 0 0 0-.447-.276H5a.5.5 0 0 0-.5.5v11.5a.5.5 0 0 0 .5.5h14a.5.5 0 0 0 .5-.5v-9A.5.5 0 0 0 19 8h-6.152Zm.612-1.5a.5.5 0 0 1-.462-.31l-.445-1.084A2 2 0 0 0 10.763 4H5a2 2 0 0 0-2 2v11.5a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-9a2 2 0 0 0-2-2h-5.54Z"})});var ox=l(q(),1),yA=l(w(),1),SA=(0,yA.jsx)(ox.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,yA.jsx)(ox.Path,{d:"M12 4 4 19h16L12 4zm0 3.2 5.5 10.3H12V7.2z"})});var rx=l(q(),1),_A=l(w(),1),xA=(0,_A.jsx)(rx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,_A.jsx)(rx.Path,{d:"M7.1 6.8L3.1 18h1.6l1.1-3h4.3l1.1 3h1.6l-4-11.2H7.1zm-.8 6.8L8 8.9l1.7 4.7H6.3zm14.5-1.5c-.3-.6-.7-1.1-1.2-1.5-.6-.4-1.2-.6-1.9-.6-.5 0-.9.1-1.4.3-.4.2-.8.5-1.1.8V6h-1.4v12h1.3l.2-1c.2.4.6.6 1 .8.4.2.9.3 1.4.3.7 0 1.2-.2 1.8-.5.5-.4 1-.9 1.3-1.5.3-.6.5-1.3.5-2.1-.1-.6-.2-1.3-.5-1.9zm-1.7 4c-.4.5-.9.8-1.6.8s-1.2-.2-1.7-.7c-.4-.5-.7-1.2-.7-2.1 0-.9.2-1.6.7-2.1.4-.5 1-.7 1.7-.7s1.2.3 1.6.8c.4.5.6 1.2.6 2 .1.8-.2 1.4-.6 2z"})});var nx=l(q(),1),wA=l(w(),1),CA=(0,wA.jsx)(nx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,wA.jsx)(nx.Path,{d:"M11 16.8c-.1-.1-.2-.3-.3-.5v-2.6c0-.9-.1-1.7-.3-2.2-.2-.5-.5-.9-.9-1.2-.4-.2-.9-.3-1.6-.3-.5 0-1 .1-1.5.2s-.9.3-1.2.6l.2 1.2c.4-.3.7-.4 1.1-.5.3-.1.7-.2 1-.2.6 0 1 .1 1.3.4.3.2.4.7.4 1.4-1.2 0-2.3.2-3.3.7s-1.4 1.1-1.4 2.1c0 .7.2 1.2.7 1.6.4.4 1 .6 1.8.6.9 0 1.7-.4 2.4-1.2.1.3.2.5.4.7.1.2.3.3.6.4.3.1.6.1 1.1.1h.1l.2-1.2h-.1c-.4.1-.6 0-.7-.1zM9.2 16c-.2.3-.5.6-.9.8-.3.1-.7.2-1.1.2-.4 0-.7-.1-.9-.3-.2-.2-.3-.5-.3-.9 0-.6.2-1 .7-1.3.5-.3 1.3-.4 2.5-.5v2zm10.6-3.9c-.3-.6-.7-1.1-1.2-1.5-.6-.4-1.2-.6-1.9-.6-.5 0-.9.1-1.4.3-.4.2-.8.5-1.1.8V6h-1.4v12h1.3l.2-1c.2.4.6.6 1 .8.4.2.9.3 1.4.3.7 0 1.2-.2 1.8-.5.5-.4 1-.9 1.3-1.5.3-.6.5-1.3.5-2.1-.1-.6-.2-1.3-.5-1.9zm-1.7 4c-.4.5-.9.8-1.6.8s-1.2-.2-1.7-.7c-.4-.5-.7-1.2-.7-2.1 0-.9.2-1.6.7-2.1.4-.5 1-.7 1.7-.7s1.2.3 1.6.8c.4.5.6 1.2.6 2s-.2 1.4-.6 2z"})});var ix=l(q(),1),BA=l(w(),1),EA=(0,BA.jsx)(ix.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,BA.jsx)(ix.Path,{d:"M9.1 9v-.5c0-.6.2-1.1.7-1.4.5-.3 1.2-.5 2-.5.7 0 1.4.1 2.1.3.7.2 1.4.5 2.1.9l.2-1.9c-.6-.3-1.2-.5-1.9-.7-.8-.1-1.6-.2-2.4-.2-1.5 0-2.7.3-3.6 1-.8.7-1.2 1.5-1.2 2.6V9h2zM20 12H4v1h8.3c.3.1.6.2.8.3.5.2.9.5 1.1.8.3.3.4.7.4 1.2 0 .7-.2 1.1-.8 1.5-.5.3-1.2.5-2.1.5-.8 0-1.6-.1-2.4-.3-.8-.2-1.5-.5-2.2-.8L7 18.1c.5.2 1.2.4 2 .6.8.2 1.6.3 2.4.3 1.7 0 3-.3 3.9-1 .9-.7 1.3-1.6 1.3-2.8 0-.9-.2-1.7-.7-2.2H20v-1z"})});var sx=l(q(),1),TA=l(w(),1),IA=(0,TA.jsx)(sx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,TA.jsx)(sx.Path,{d:"M7 18v1h10v-1H7zm5-2c1.5 0 2.6-.4 3.4-1.2.8-.8 1.1-2 1.1-3.5V5H15v5.8c0 1.2-.2 2.1-.6 2.8-.4.7-1.2 1-2.4 1s-2-.3-2.4-1c-.4-.7-.6-1.6-.6-2.8V5H7.5v6.2c0 1.5.4 2.7 1.1 3.5.8.9 1.9 1.3 3.4 1.3z"})});var ax=l(q(),1),PA=l(w(),1),RA=(0,PA.jsx)(ax.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,PA.jsx)(ax.Path,{d:"M6.1 6.8L2.1 18h1.6l1.1-3h4.3l1.1 3h1.6l-4-11.2H6.1zm-.8 6.8L7 8.9l1.7 4.7H5.3zm15.1-.7c-.4-.5-.9-.8-1.6-1 .4-.2.7-.5.8-.9.2-.4.3-.9.3-1.4 0-.9-.3-1.6-.8-2-.6-.5-1.3-.7-2.4-.7h-3.5V18h4.2c1.1 0 2-.3 2.6-.8.6-.6 1-1.4 1-2.4-.1-.8-.3-1.4-.6-1.9zm-5.7-4.7h1.8c.6 0 1.1.1 1.4.4.3.2.5.7.5 1.3 0 .6-.2 1.1-.5 1.3-.3.2-.8.4-1.4.4h-1.8V8.2zm4 8c-.4.3-.9.5-1.5.5h-2.6v-3.8h2.6c1.4 0 2 .6 2 1.9.1.6-.1 1-.5 1.4z"})});var lx=l(q(),1),OA=l(w(),1),AA=(0,OA.jsx)(lx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,OA.jsx)(lx.Path,{d:"M12.75 19.45 15 17.5l1 1.1-4 3.4-4-3.4 1-1.1 2.25 1.95V14.5h1.5v4.95ZM19 12.75H5v-1.5h14v1.5ZM16 5.4l-1 1.1-2.25-1.95V9.5h-1.5V4.55L9 6.5 8 5.4 12 2l4 3.4Z"})});var cx=l(q(),1),LA=l(w(),1),ux=(0,LA.jsx)(cx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,LA.jsx)(cx.Path,{d:"M6 4a2 2 0 0 0-2 2v3h1.5V6a.5.5 0 0 1 .5-.5h3V4H6Zm3 14.5H6a.5.5 0 0 1-.5-.5v-3H4v3a2 2 0 0 0 2 2h3v-1.5Zm6 1.5v-1.5h3a.5.5 0 0 0 .5-.5v-3H20v3a2 2 0 0 1-2 2h-3Zm3-16a2 2 0 0 1 2 2v3h-1.5V6a.5.5 0 0 0-.5-.5h-3V4h3Z"})});var dx=l(q(),1),NA=l(w(),1),tv=(0,NA.jsx)(dx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,NA.jsx)(dx.Path,{d:"M12 4c-4.4 0-8 3.6-8 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8Zm6.5 8c0 .6 0 1.2-.2 1.8h-2.7c0-.6.2-1.1.2-1.8s0-1.2-.2-1.8h2.7c.2.6.2 1.1.2 1.8Zm-.9-3.2h-2.4c-.3-.9-.7-1.8-1.1-2.4-.1-.2-.2-.4-.3-.5 1.6.5 3 1.6 3.8 3ZM12.8 17c-.3.5-.6 1-.8 1.3-.2-.3-.5-.8-.8-1.3-.3-.5-.6-1.1-.8-1.7h3.3c-.2.6-.5 1.2-.8 1.7Zm-2.9-3.2c-.1-.6-.2-1.1-.2-1.8s0-1.2.2-1.8H14c.1.6.2 1.1.2 1.8s0 1.2-.2 1.8H9.9ZM11.2 7c.3-.5.6-1 .8-1.3.2.3.5.8.8 1.3.3.5.6 1.1.8 1.7h-3.3c.2-.6.5-1.2.8-1.7Zm-1-1.2c-.1.2-.2.3-.3.5-.4.7-.8 1.5-1.1 2.4H6.4c.8-1.4 2.2-2.5 3.8-3Zm-1.8 8H5.7c-.2-.6-.2-1.1-.2-1.8s0-1.2.2-1.8h2.7c0 .6-.2 1.1-.2 1.8s0 1.2.2 1.8Zm-2 1.4h2.4c.3.9.7 1.8 1.1 2.4.1.2.2.4.3.5-1.6-.5-3-1.6-3.8-3Zm7.4 3c.1-.2.2-.3.3-.5.4-.7.8-1.5 1.1-2.4h2.4c-.8 1.4-2.2 2.5-3.8 3Z"})});var fx=l(q(),1),MA=l(w(),1),ov=(0,MA.jsx)(fx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,MA.jsx)(fx.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"m3 5c0-1.10457.89543-2 2-2h13.5c1.1046 0 2 .89543 2 2v13.5c0 1.1046-.8954 2-2 2h-13.5c-1.10457 0-2-.8954-2-2zm2-.5h6v6.5h-6.5v-6c0-.27614.22386-.5.5-.5zm-.5 8v6c0 .2761.22386.5.5.5h6v-6.5zm8 0v6.5h6c.2761 0 .5-.2239.5-.5v-6zm0-8v6.5h6.5v-6c0-.27614-.2239-.5-.5-.5z"})});var mx=l(q(),1),DA=l(w(),1),rv=(0,DA.jsx)(mx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,DA.jsx)(mx.Path,{d:"M18 4h-7c-1.1 0-2 .9-2 2v3H6c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2v-3h3c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-4.5 14c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5v-7c0-.3.2-.5.5-.5h3V13c0 1.1.9 2 2 2h2.5v3zm0-4.5H11c-.3 0-.5-.2-.5-.5v-2.5H13c.3 0 .5.2.5.5v2.5zm5-.5c0 .3-.2.5-.5.5h-3V11c0-1.1-.9-2-2-2h-2.5V6c0-.3.2-.5.5-.5h7c.3 0 .5.2.5.5v7z"})});var px=l(q(),1),VA=l(w(),1),FA=(0,VA.jsx)(px.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,VA.jsx)(px.Path,{d:"M17.6 7c-.6.9-1.5 1.7-2.6 2v1h2v7h2V7h-1.4zM11 11H7V7H5v10h2v-4h4v4h2V7h-2v4z"})});var hx=l(q(),1),zA=l(w(),1),jA=(0,zA.jsx)(hx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,zA.jsx)(hx.Path,{d:"M9 11.1H5v-4H3v10h2v-4h4v4h2v-10H9v4zm8 4c.5-.4.6-.6 1.1-1.1.4-.4.8-.8 1.2-1.3.3-.4.6-.8.9-1.3.2-.4.3-.8.3-1.3 0-.4-.1-.9-.3-1.3-.2-.4-.4-.7-.8-1-.3-.3-.7-.5-1.2-.6-.5-.2-1-.2-1.5-.2-.4 0-.7 0-1.1.1-.3.1-.7.2-1 .3-.3.1-.6.3-.9.5-.3.2-.6.4-.8.7l1.2 1.2c.3-.3.6-.5 1-.7.4-.2.7-.3 1.2-.3s.9.1 1.3.4c.3.3.5.7.5 1.1 0 .4-.1.8-.4 1.1-.3.5-.6.9-1 1.2-.4.4-1 .9-1.6 1.4-.6.5-1.4 1.1-2.2 1.6v1.5h8v-2H17z"})});var gx=l(q(),1),UA=l(w(),1),HA=(0,UA.jsx)(gx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,UA.jsx)(gx.Path,{d:"M9 11H5V7H3v10h2v-4h4v4h2V7H9v4zm11.3 1.7c-.4-.4-1-.7-1.6-.8v-.1c.6-.2 1.1-.5 1.5-.9.3-.4.5-.8.5-1.3 0-.4-.1-.8-.3-1.1-.2-.3-.5-.6-.8-.8-.4-.2-.8-.4-1.2-.5-.6-.1-1.1-.2-1.6-.2-.6 0-1.3.1-1.8.3s-1.1.5-1.6.9l1.2 1.4c.4-.2.7-.4 1.1-.6.3-.2.7-.3 1.1-.3.4 0 .8.1 1.1.3.3.2.4.5.4.8 0 .4-.2.7-.6.9-.7.3-1.5.5-2.2.4v1.6c.5 0 1 0 1.5.1.3.1.7.2 1 .3.2.1.4.2.5.4s.1.4.1.6c0 .3-.2.7-.5.8-.4.2-.9.3-1.4.3s-1-.1-1.4-.3c-.4-.2-.8-.4-1.2-.7L13 15.6c.5.4 1 .8 1.6 1 .7.3 1.5.4 2.3.4.6 0 1.1-.1 1.6-.2.4-.1.9-.2 1.3-.5.4-.2.7-.5.9-.9.2-.4.3-.8.3-1.2 0-.6-.3-1.1-.7-1.5z"})});var bx=l(q(),1),GA=l(w(),1),WA=(0,GA.jsx)(bx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,GA.jsx)(bx.Path,{d:"M20 13V7h-3l-4 6v2h5v2h2v-2h1v-2h-1zm-2 0h-2.8L18 9v4zm-9-2H5V7H3v10h2v-4h4v4h2V7H9v4z"})});var kx=l(q(),1),$A=l(w(),1),KA=(0,$A.jsx)(kx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,$A.jsx)(kx.Path,{d:"M9 11H5V7H3v10h2v-4h4v4h2V7H9v4zm11.7 1.2c-.2-.3-.5-.7-.8-.9-.3-.3-.7-.5-1.1-.6-.5-.1-.9-.2-1.4-.2-.2 0-.5.1-.7.1-.2.1-.5.1-.7.2l.1-1.9h4.3V7H14l-.3 5 1 .6.5-.2.4-.1c.1-.1.3-.1.4-.1h.5c.5 0 1 .1 1.4.4.4.2.6.7.6 1.1 0 .4-.2.8-.6 1.1-.4.3-.9.4-1.4.4-.4 0-.9-.1-1.3-.3-.4-.2-.7-.4-1.1-.7 0 0-1.1 1.4-1 1.5.5.4 1 .8 1.6 1 .7.3 1.5.4 2.3.4.5 0 1-.1 1.5-.3s.9-.4 1.3-.7c.4-.3.7-.7.9-1.1s.3-.9.3-1.4-.1-1-.3-1.4z"})});var vx=l(q(),1),YA=l(w(),1),qA=(0,YA.jsx)(vx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,YA.jsx)(vx.Path,{d:"M20.7 12.4c-.2-.3-.4-.6-.7-.9s-.6-.5-1-.6c-.4-.2-.8-.2-1.2-.2-.5 0-.9.1-1.3.3s-.8.5-1.2.8c0-.5 0-.9.2-1.4l.6-.9c.2-.2.5-.4.8-.5.6-.2 1.3-.2 1.9 0 .3.1.6.3.8.5 0 0 1.3-1.3 1.3-1.4-.4-.3-.9-.6-1.4-.8-.6-.2-1.3-.3-2-.3-.6 0-1.1.1-1.7.4-.5.2-1 .5-1.4.9-.4.4-.8 1-1 1.6-.3.7-.4 1.5-.4 2.3s.1 1.5.3 2.1c.2.6.6 1.1 1 1.5.4.4.9.7 1.4.9 1 .3 2 .3 3 0 .4-.1.8-.3 1.2-.6.3-.3.6-.6.8-1 .2-.5.3-.9.3-1.4s-.1-.9-.3-1.3zm-2 2.1c-.1.2-.3.4-.4.5-.1.1-.3.2-.5.2-.2.1-.4.1-.6.1-.2.1-.5 0-.7-.1-.2 0-.3-.2-.5-.3-.1-.2-.3-.4-.4-.6-.2-.3-.3-.7-.3-1 .3-.3.6-.5 1-.7.3-.1.7-.2 1-.2.4 0 .8.1 1.1.3.3.3.4.7.4 1.1 0 .2 0 .5-.1.7zM9 11H5V7H3v10h2v-4h4v4h2V7H9v4z"})});var yx=l(q(),1),ZA=l(w(),1),XA=(0,ZA.jsx)(yx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,ZA.jsx)(yx.Path,{d:"M12 4L4 7.9V20h16V7.9L12 4zm6.5 14.5H14V13h-4v5.5H5.5V8.8L12 5.7l6.5 3.1v9.7z"})});var Sx=l(q(),1),QA=l(w(),1),nv=(0,QA.jsx)(Sx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,QA.jsx)(Sx.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM5 4.5h14c.3 0 .5.2.5.5v8.4l-3-2.9c-.3-.3-.8-.3-1 0L11.9 14 9 12c-.3-.2-.6-.2-.8 0l-3.6 2.6V5c-.1-.3.1-.5.4-.5zm14 15H5c-.3 0-.5-.2-.5-.5v-2.4l4.1-3 3 1.9c.3.2.7.2.9-.1L16 12l3.5 3.4V19c0 .3-.2.5-.5.5z"})});var _x=l(q(),1),JA=l(w(),1),eL=(0,JA.jsx)(_x.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,JA.jsx)(_x.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M5.5 12a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0ZM12 4a8 8 0 1 0 0 16 8 8 0 0 0 0-16Zm.75 4v1.5h-1.5V8h1.5Zm0 8v-5h-1.5v5h1.5Z"})});var xx=l(q(),1),tL=l(w(),1),oL=(0,tL.jsx)(xx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,tL.jsx)(xx.Path,{d:"M15 4H9v11h6V4zM4 18.5V20h16v-1.5H4z"})});var wx=l(q(),1),rL=l(w(),1),nL=(0,rL.jsx)(wx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,rL.jsx)(wx.Path,{d:"M20 11h-5V4H9v7H4v1.5h5V20h6v-7.5h5z"})});var Cx=l(q(),1),iL=l(w(),1),ou=(0,iL.jsx)(Cx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,iL.jsx)(Cx.Path,{d:"M12.5 15v5H11v-5H4V9h7V4h1.5v5h7v6h-7Z"})});var Bx=l(q(),1),sL=l(w(),1),ru=(0,sL.jsx)(Bx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,sL.jsx)(Bx.Path,{d:"M9 9v6h11V9H9zM4 20h1.5V4H4v16z"})});var Ex=l(q(),1),aL=l(w(),1),nu=(0,aL.jsx)(Ex.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,aL.jsx)(Ex.Path,{d:"M4 15h11V9H4v6zM18.5 4v16H20V4h-1.5z"})});var Tx=l(q(),1),lL=l(w(),1),cL=(0,lL.jsx)(Tx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,lL.jsx)(Tx.Path,{d:"M7 4H17V8L7 8V4ZM7 16L17 16V20L7 20V16ZM20 11.25H4V12.75H20V11.25Z"})});var Ix=l(q(),1),uL=l(w(),1),Fp=(0,uL.jsx)(Ix.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,uL.jsx)(Ix.Path,{d:"M9 15h6V9H9v6zm-5 5h1.5V4H4v16zM18.5 4v16H20V4h-1.5z"})});var Px=l(q(),1),dL=l(w(),1),fL=(0,dL.jsx)(Px.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,dL.jsx)(Px.Path,{d:"M4 4L20 4L20 5.5L4 5.5L4 4ZM10 7L14 7L14 17L10 17L10 7ZM20 18.5L4 18.5L4 20L20 20L20 18.5Z"})});var Rx=l(q(),1),mL=l(w(),1),zp=(0,mL.jsx)(Rx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,mL.jsx)(Rx.Path,{d:"M4 4H5.5V20H4V4ZM7 10L17 10V14L7 14V10ZM20 4H18.5V20H20V4Z"})});var Ox=l(q(),1),pL=l(w(),1),hL=(0,pL.jsx)(Ox.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,pL.jsx)(Ox.Path,{d:"M9 20h6V9H9v11zM4 4v1.5h16V4H4z"})});var Ax=l(q(),1),gL=l(w(),1),bl=(0,gL.jsx)(Ax.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,gL.jsx)(Ax.Path,{d:"m6.734 16.106 2.176-2.38-1.093-1.028-3.846 4.158 3.846 4.158 1.093-1.028-2.176-2.38h2.811c1.125 0 2.25.03 3.374 0 1.428-.001 3.362-.25 4.963-1.277 1.66-1.065 2.868-2.906 2.868-5.859 0-2.479-1.327-4.896-3.65-5.93-1.82-.813-3.044-.8-4.806-.788l-.567.002v1.5c.184 0 .368 0 .553-.002 1.82-.007 2.704-.014 4.21.657 1.854.827 2.76 2.657 2.76 4.561 0 2.472-.973 3.824-2.178 4.596-1.258.807-2.864 1.04-4.163 1.04h-.02c-1.115.03-2.229 0-3.344 0H6.734Z"})});var Lx=l(q(),1),bL=l(w(),1),kL=(0,bL.jsx)(Lx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,bL.jsx)(Lx.Path,{d:"M18 5.5H6a.5.5 0 00-.5.5v3h13V6a.5.5 0 00-.5-.5zm.5 5H10v8h8a.5.5 0 00.5-.5v-7.5zm-10 0h-3V18a.5.5 0 00.5.5h2.5v-8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"})});var Nx=l(q(),1),vL=l(w(),1),wi=(0,vL.jsx)(Nx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,vL.jsx)(Nx.Path,{d:"M17.031 4.703 15.576 4l-1.56 3H14v.03l-2.324 4.47H9.5V13h1.396l-1.502 2.889h-.95a3.694 3.694 0 0 1 0-7.389H10V7H8.444a5.194 5.194 0 1 0 0 10.389h.17L7.5 19.53l1.416.719L15.049 8.5h.507a3.694 3.694 0 0 1 0 7.39H14v1.5h1.556a5.194 5.194 0 0 0 .273-10.383l1.202-2.304Z"})});var Mx=l(q(),1),yL=l(w(),1),fn=(0,yL.jsx)(Mx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,yL.jsx)(Mx.Path,{d:"M10 17.389H8.444A5.194 5.194 0 1 1 8.444 7H10v1.5H8.444a3.694 3.694 0 0 0 0 7.389H10v1.5ZM14 7h1.556a5.194 5.194 0 0 1 0 10.39H14v-1.5h1.556a3.694 3.694 0 0 0 0-7.39H14V7Zm-4.5 6h5v-1.5h-5V13Z"})});var Dx=l(q(),1),SL=l(w(),1),iv=(0,SL.jsx)(Dx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,SL.jsx)(Dx.Path,{d:"M3 6h11v1.5H3V6Zm3.5 5.5h11V13h-11v-1.5ZM21 17H10v1.5h11V17Z"})});var Vx=l(q(),1),_L=l(w(),1),xL=(0,_L.jsx)(Vx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,_L.jsx)(Vx.Path,{d:"M17 10h-1.2V7c0-2.1-1.7-3.8-3.8-3.8-2.1 0-3.8 1.7-3.8 3.8v3H7c-.6 0-1 .4-1 1v8c0 .6.4 1 1 1h10c.6 0 1-.4 1-1v-8c0-.6-.4-1-1-1zM9.8 7c0-1.2 1-2.2 2.2-2.2 1.2 0 2.2 1 2.2 2.2v3H9.8V7zm6.7 11.5h-9v-7h9v7z"})});var Fx=l(q(),1),wL=l(w(),1),CL=(0,wL.jsx)(Fx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,wL.jsx)(Fx.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M15 11h-.2V9c0-1.5-1.2-2.8-2.8-2.8S9.2 7.5 9.2 9v2H9c-.6 0-1 .4-1 1v4c0 .6.4 1 1 1h6c.6 0 1-.4 1-1v-4c0-.6-.4-1-1-1zm-1.8 0h-2.5V9c0-.7.6-1.2 1.2-1.2s1.2.6 1.2 1.2v2z"})});var zx=l(q(),1),BL=l(w(),1),Rf=(0,BL.jsx)(zx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,BL.jsx)(zx.Path,{d:"M17 10h-1.2V7c0-2.1-1.7-3.8-3.8-3.8-2.1 0-3.8 1.7-3.8 3.8v3H7c-.6 0-1 .4-1 1v8c0 .6.4 1 1 1h10c.6 0 1-.4 1-1v-8c0-.6-.4-1-1-1zm-2.8 0H9.8V7c0-1.2 1-2.2 2.2-2.2s2.2 1 2.2 2.2v3z"})});var sv=l(q(),1),av=l(w(),1),jp=(0,av.jsxs)(sv.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,av.jsx)(sv.Path,{d:"m7 6.5 4 2.5-4 2.5z"}),(0,av.jsx)(sv.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"m5 3c-1.10457 0-2 .89543-2 2v14c0 1.1046.89543 2 2 2h14c1.1046 0 2-.8954 2-2v-14c0-1.10457-.8954-2-2-2zm14 1.5h-14c-.27614 0-.5.22386-.5.5v10.7072l3.62953-2.6465c.25108-.1831.58905-.1924.84981-.0234l2.92666 1.8969 3.5712-3.4719c.2911-.2831.7545-.2831 1.0456 0l2.9772 2.8945v-9.3568c0-.27614-.2239-.5-.5-.5zm-14.5 14.5v-1.4364l4.09643-2.987 2.99567 1.9417c.2936.1903.6798.1523.9307-.0917l3.4772-3.3806 3.4772 3.3806.0228-.0234v2.5968c0 .2761-.2239.5-.5.5h-14c-.27614 0-.5-.2239-.5-.5z"})]});var jx=l(q(),1),EL=l(w(),1),lv=(0,EL.jsx)(jx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,EL.jsx)(jx.Path,{d:"M15 4H9c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h6c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 14c0 .3-.2.5-.5.5H9c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h6c.3 0 .5.2.5.5v12zm-4.5-.5h2V16h-2v1.5z"})});var Ux=l(q(),1),TL=l(w(),1),ks=(0,TL.jsx)(Ux.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,TL.jsx)(Ux.Path,{d:"M13 19h-2v-2h2v2zm0-6h-2v-2h2v2zm0-6h-2V5h2v2z"})});var cv=l(q(),1),uv=l(w(),1),kl=(0,uv.jsxs)(cv.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,uv.jsx)(cv.Path,{d:"M15.5 7.5h-7V9h7V7.5Zm-7 3.5h7v1.5h-7V11Zm7 3.5h-7V16h7v-1.5Z"}),(0,uv.jsx)(cv.Path,{d:"M17 4H7a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2ZM7 5.5h10a.5.5 0 0 1 .5.5v12a.5.5 0 0 1-.5.5H7a.5.5 0 0 1-.5-.5V6a.5.5 0 0 1 .5-.5Z"})]});var Hx=l(q(),1),IL=l(w(),1),PL=(0,IL.jsx)(Hx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,IL.jsx)(Hx.Path,{d:"m9.99609 14v-.2251l.00391.0001v6.225h1.5v-14.5h2.5v14.5h1.5v-14.5h3v-1.5h-8.50391c-2.76142 0-5 2.23858-5 5 0 2.7614 2.23858 5 5 5z"})});var Gx=l(q(),1),RL=l(w(),1),Of=(0,RL.jsx)(Gx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,RL.jsx)(Gx.Path,{d:"m19 7-3-3-8.5 8.5-1 4 4-1L19 7Zm-7 11.5H5V20h7v-1.5Z"})});var Wx=l(q(),1),OL=l(w(),1),AL=(0,OL.jsx)(Wx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,OL.jsx)(Wx.Path,{d:"M10.97 10.159a3.382 3.382 0 0 0-2.857.955l1.724 1.723-2.836 2.913L7 17h1.25l2.913-2.837 1.723 1.723a3.38 3.38 0 0 0 .606-.825c.33-.63.446-1.343.35-2.032L17 10.695 13.305 7l-2.334 3.159Z"})});var $x=l(q(),1),LL=l(w(),1),Ci=(0,LL.jsx)($x.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,LL.jsx)($x.Path,{d:"M11 12.5V17.5H12.5V12.5H17.5V11H12.5V6H11V11H6V12.5H11Z"})});var Kx=l(q(),1),NL=l(w(),1),ML=(0,NL.jsx)(Kx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,NL.jsx)(Kx.Path,{d:"M19 5.5H5V4h14v1.5ZM19 20H5v-1.5h14V20ZM7 9h10v6H7V9Z"})});var Yx=l(q(),1),DL=l(w(),1),VL=(0,DL.jsx)(Yx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,DL.jsx)(Yx.Path,{d:"M5 5.5h8V4H5v1.5ZM5 20h8v-1.5H5V20ZM19 9H5v6h14V9Z"})});var qx=l(q(),1),FL=l(w(),1),zL=(0,FL.jsx)(qx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,FL.jsx)(qx.Path,{d:"M19 5.5h-8V4h8v1.5ZM19 20h-8v-1.5h8V20ZM5 9h14v6H5V9Z"})});var Zx=l(q(),1),jL=l(w(),1),UL=(0,jL.jsx)(Zx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,jL.jsx)(Zx.Path,{d:"M19 3H5c-.6 0-1 .4-1 1v7c0 .5.4 1 1 1h14c.5 0 1-.4 1-1V4c0-.6-.4-1-1-1zM5.5 10.5v-.4l1.8-1.3 1.3.8c.3.2.7.2.9-.1L11 8.1l2.4 2.4H5.5zm13 0h-2.9l-4-4c-.3-.3-.8-.3-1.1 0L8.9 8l-1.2-.8c-.3-.2-.6-.2-.9 0l-1.3 1V4.5h13v6zM4 20h9v-1.5H4V20zm0-4h16v-1.5H4V16z"})});var Xx=l(q(),1),HL=l(w(),1),GL=(0,HL.jsx)(Xx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,HL.jsx)(Xx.Path,{d:"M18 5.5H6a.5.5 0 0 0-.5.5v12a.5.5 0 0 0 .5.5h12a.5.5 0 0 0 .5-.5V6a.5.5 0 0 0-.5-.5ZM6 4h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2Zm1 5h1.5v1.5H7V9Zm1.5 4.5H7V15h1.5v-1.5ZM10 9h7v1.5h-7V9Zm7 4.5h-7V15h7v-1.5Z"})});var Qx=l(q(),1),WL=l(w(),1),$L=(0,WL.jsx)(Qx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,WL.jsx)(Qx.Path,{d:"m7.3 9.7 1.4 1.4c.2-.2.3-.3.4-.5 0 0 0-.1.1-.1.3-.5.4-1.1.3-1.6L12 7 9 4 7.2 6.5c-.6-.1-1.1 0-1.6.3 0 0-.1 0-.1.1-.3.1-.4.2-.6.4l1.4 1.4L4 11v1h1l2.3-2.3zM4 20h9v-1.5H4V20zm0-5.5V16h16v-1.5H4z"})});var Jx=l(q(),1),KL=l(w(),1),Dr=(0,KL.jsx)(Jx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,KL.jsx)(Jx.Path,{d:"M7 11.5h10V13H7z"})});var ew=l(q(),1),YL=l(w(),1),qL=(0,YL.jsx)(ew.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,YL.jsx)(ew.Path,{d:"M15.1 4.8l-3-2.5V4c-4.4 0-8 3.6-8 8 0 3.7 2.5 6.9 6 7.7.3.1.6.1 1 .2l.2-1.5c-.4 0-.7-.1-1.1-.2l-.1.2v-.2c-2.6-.8-4.5-3.3-4.5-6.2 0-3.6 2.9-6.5 6.5-6.5v1.8l3-2.5zM20 11c-.2-1.4-.7-2.7-1.6-3.8l-1.2.8c.7.9 1.1 2 1.3 3.1L20 11zm-1.5 1.8c-.1.5-.2 1.1-.4 1.6s-.5 1-.8 1.5l1.2.9c.4-.5.8-1.1 1-1.8s.5-1.3.5-2l-1.5-.2zm-5.6 5.6l.2 1.5c1.4-.2 2.7-.7 3.8-1.6l-.9-1.1c-.9.7-2 1.1-3.1 1.2z"})});var tw=l(q(),1),ZL=l(w(),1),XL=(0,ZL.jsx)(tw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,ZL.jsx)(tw.Path,{d:"M4 6.5h5a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2H4V16h5a.5.5 0 0 0 .5-.5v-7A.5.5 0 0 0 9 8H4V6.5Zm16 0h-5a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h5V16h-5a.5.5 0 0 1-.5-.5v-7A.5.5 0 0 1 15 8h5V6.5Z"})});var ow=l(q(),1),QL=l(w(),1),JL=(0,QL.jsx)(ow.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,QL.jsx)(ow.Path,{d:"M13 5c-3.3 0-6 2.7-6 6 0 1.4.5 2.7 1.3 3.7l-3.8 3.8 1.1 1.1 3.8-3.8c1 .8 2.3 1.3 3.7 1.3 3.3 0 6-2.7 6-6S16.3 5 13 5zm0 10.5c-2.5 0-4.5-2-4.5-4.5s2-4.5 4.5-4.5 4.5 2 4.5 4.5-2 4.5-4.5 4.5z"})});var rw=l(q(),1),eN=l(w(),1),Af=(0,eN.jsx)(rw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,eN.jsx)(rw.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"})});var dv=l(q(),1),fv=l(w(),1),tN=(0,fv.jsxs)(dv.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,fv.jsx)(dv.Path,{d:"m19 7.5h-7.628c-.3089-.87389-1.1423-1.5-2.122-1.5-.97966 0-1.81309.62611-2.12197 1.5h-2.12803v1.5h2.12803c.30888.87389 1.14231 1.5 2.12197 1.5.9797 0 1.8131-.62611 2.122-1.5h7.628z"}),(0,fv.jsx)(dv.Path,{d:"m19 15h-2.128c-.3089-.8739-1.1423-1.5-2.122-1.5s-1.8131.6261-2.122 1.5h-7.628v1.5h7.628c.3089.8739 1.1423 1.5 2.122 1.5s1.8131-.6261 2.122-1.5h2.128z"})]});var nw=l(q(),1),oN=l(w(),1),rN=(0,oN.jsx)(nw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,oN.jsx)(nw.Path,{d:"M12 8c-2.2 0-4 1.8-4 4s1.8 4 4 4 4-1.8 4-4-1.8-4-4-4zm0 6.5c-1.4 0-2.5-1.1-2.5-2.5s1.1-2.5 2.5-2.5 2.5 1.1 2.5 2.5-1.1 2.5-2.5 2.5zM12.8 3h-1.5v3h1.5V3zm-1.6 18h1.5v-3h-1.5v3zm6.8-9.8v1.5h3v-1.5h-3zm-12 0H3v1.5h3v-1.5zm9.7 5.6 2.1 2.1 1.1-1.1-2.1-2.1-1.1 1.1zM8.3 7.2 6.2 5.1 5.1 6.2l2.1 2.1 1.1-1.1zM5.1 17.8l1.1 1.1 2.1-2.1-1.1-1.1-2.1 2.1zM18.9 6.2l-1.1-1.1-2.1 2.1 1.1 1.1 2.1-2.1z"})});var iw=l(q(),1),nN=l(w(),1),sw=(0,nN.jsx)(iw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,nN.jsx)(iw.Path,{d:"m7.5 6h9v-1.5h-9zm0 13.5h9v-1.5h-9zm-3-3h1.5v-9h-1.5zm13.5-9v9h1.5v-9z"})});var mv=l(q(),1),pv=l(w(),1),iN=(0,pv.jsxs)(mv.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,pv.jsx)(mv.Path,{d:"m7.5 6h9v-1.5h-9zm0 13.5h9v-1.5h-9zm-3-3h1.5v-9h-1.5zm13.5-9v9h1.5v-9z",style:{opacity:.25}}),(0,pv.jsx)(mv.Path,{d:"m16.5 19.5h-9v-1.5h9z"})]});var Up=l(q(),1),Hp=l(w(),1),sN=(0,Hp.jsxs)(Up.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,Hp.jsx)(Up.Path,{d:"m7.5 6h9v-1.5h-9zm0 13.5h9v-1.5h-9zm-3-3h1.5v-9h-1.5zm13.5-9v9h1.5v-9z",style:{opacity:.25}}),(0,Hp.jsx)(Up.Path,{d:"m4.5 7.5v9h1.5v-9z"}),(0,Hp.jsx)(Up.Path,{d:"m18 7.5v9h1.5v-9z"})]});var hv=l(q(),1),gv=l(w(),1),aN=(0,gv.jsxs)(hv.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,gv.jsx)(hv.Path,{d:"m7.5 6h9v-1.5h-9zm0 13.5h9v-1.5h-9zm-3-3h1.5v-9h-1.5zm13.5-9v9h1.5v-9z",style:{opacity:.25}}),(0,gv.jsx)(hv.Path,{d:"m4.5 16.5v-9h1.5v9z"})]});var bv=l(q(),1),kv=l(w(),1),lN=(0,kv.jsxs)(bv.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,kv.jsx)(bv.Path,{d:"m7.5 6h9v-1.5h-9zm0 13.5h9v-1.5h-9zm-3-3h1.5v-9h-1.5zm13.5-9v9h1.5v-9z",style:{opacity:.25}}),(0,kv.jsx)(bv.Path,{d:"m18 16.5v-9h1.5v9z"})]});var vv=l(q(),1),yv=l(w(),1),cN=(0,yv.jsxs)(vv.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,yv.jsx)(vv.Path,{d:"m7.5 6h9v-1.5h-9zm0 13.5h9v-1.5h-9zm-3-3h1.5v-9h-1.5zm13.5-9v9h1.5v-9z",style:{opacity:.25}}),(0,yv.jsx)(vv.Path,{d:"m16.5 6h-9v-1.5h9z"})]});var Gp=l(q(),1),Wp=l(w(),1),uN=(0,Wp.jsxs)(Gp.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,Wp.jsx)(Gp.Path,{d:"m7.5 6h9v-1.5h-9zm0 13.5h9v-1.5h-9zm-3-3h1.5v-9h-1.5zm13.5-9v9h1.5v-9z",style:{opacity:.25}}),(0,Wp.jsx)(Gp.Path,{d:"m7.5 6h9v-1.5h-9z"}),(0,Wp.jsx)(Gp.Path,{d:"m7.5 19.5h9v-1.5h-9z"})]});var aw=l(q(),1),dN=l(w(),1),fN=(0,dN.jsx)(aw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,dN.jsx)(aw.Path,{d:"M17.5 4v5a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2V4H8v5a.5.5 0 0 0 .5.5h7A.5.5 0 0 0 16 9V4h1.5Zm0 16v-5a2 2 0 0 0-2-2h-7a2 2 0 0 0-2 2v5H8v-5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 .5.5v5h1.5Z"})});var lw=l(q(),1),mN=l(w(),1),Sv=(0,mN.jsx)(lw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,mN.jsx)(lw.Path,{d:"M5 4h14v11H5V4Zm11 16H8v-1.5h8V20Z"})});var cw=l(q(),1),pN=l(w(),1),Lf=(0,pN.jsx)(cw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,pN.jsx)(cw.Path,{d:"M16 5.5H8V4h8v1.5ZM16 20H8v-1.5h8V20ZM5 9h14v6H5V9Z"})});var uw=l(q(),1),hN=l(w(),1),gN=(0,hN.jsx)(uw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,hN.jsx)(uw.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M20 12a8 8 0 1 1-16 0 8 8 0 0 1 16 0Zm-1.5 0a6.5 6.5 0 0 1-6.5 6.5v-13a6.5 6.5 0 0 1 6.5 6.5Z"})});var dw=l(q(),1),bN=l(w(),1),Bi=(0,bN.jsx)(dw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,bN.jsx)(dw.Path,{d:"M21.3 10.8l-5.6-5.6c-.7-.7-1.8-.7-2.5 0l-5.6 5.6c-.7.7-.7 1.8 0 2.5l5.6 5.6c.3.3.8.5 1.2.5s.9-.2 1.2-.5l5.6-5.6c.8-.7.8-1.9.1-2.5zm-1 1.4l-5.6 5.6c-.1.1-.3.1-.4 0l-5.6-5.6c-.1-.1-.1-.3 0-.4l5.6-5.6s.1-.1.2-.1.1 0 .2.1l5.6 5.6c.1.1.1.3 0 .4zm-16.6-.4L10 5.5l-1-1-6.3 6.3c-.7.7-.7 1.8 0 2.5L9 19.5l1.1-1.1-6.3-6.3c-.2 0-.2-.2-.1-.3z"})});var fw=l(q(),1),kN=l(w(),1),vN=(0,kN.jsx)(fw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,kN.jsx)(fw.Path,{d:"M17 4H7c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 14c0 .3-.2.5-.5.5H7c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h10c.3 0 .5.2.5.5v12zm-7.5-.5h4V16h-4v1.5z"})});var mw=l(q(),1),yN=l(w(),1),SN=(0,yN.jsx)(mw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,yN.jsx)(mw.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"})});var pw=l(q(),1),_N=l(w(),1),xN=(0,_N.jsx)(pw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,_N.jsx)(pw.Path,{d:"M8.2 14.4h3.9L13 17h1.7L11 6.5H9.3L5.6 17h1.7l.9-2.6zm2-5.5 1.4 4H8.8l1.4-4zm7.4 7.5-1.3.8.8 1.4H5.5V20h14.3l-2.2-3.6z"})});var hw=l(q(),1),wN=l(w(),1),CN=(0,wN.jsx)(hw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,wN.jsx)(hw.Path,{d:"M7 5.6v1.7l2.6.9v3.9L7 13v1.7L17.5 11V9.3L7 5.6zm4.2 6V8.8l4 1.4-4 1.4zm-5.7 5.6V5.5H4v14.3l3.6-2.2-.8-1.3-1.3.9z"})});var gw=l(q(),1),BN=l(w(),1),EN=(0,BN.jsx)(gw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,BN.jsx)(gw.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"})});var bw=l(q(),1),TN=l(w(),1),IN=(0,TN.jsx)(bw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,TN.jsx)(bw.Path,{d:"M18 4h-7c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 9c0 .3-.2.5-.5.5h-7c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h7c.3 0 .5.2.5.5v7zm-5 5c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5v-7c0-.3.2-.5.5-.5h1V9H6c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2v-1h-1.5v1z"})});var kw=l(q(),1),PN=l(w(),1),vl=(0,PN.jsx)(kw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,PN.jsx)(kw.Path,{d:"M17 10h-1.2V7c0-2.1-1.7-3.8-3.8-3.8-2.1 0-3.8 1.7-3.8 3.8h1.5c0-1.2 1-2.2 2.2-2.2s2.2 1 2.2 2.2v3H7c-.6 0-1 .4-1 1v8c0 .6.4 1 1 1h10c.6 0 1-.4 1-1v-8c0-.6-.4-1-1-1z"})});var vw=l(q(),1),RN=l(w(),1),vs=(0,RN.jsx)(vw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,RN.jsx)(vw.Path,{d:"M20.7 12.7s0-.1-.1-.2c0-.2-.2-.4-.4-.6-.3-.5-.9-1.2-1.6-1.8-.7-.6-1.5-1.3-2.6-1.8l-.6 1.4c.9.4 1.6 1 2.1 1.5.6.6 1.1 1.2 1.4 1.6.1.2.3.4.3.5v.1l.7-.3.7-.3Zm-5.2-9.3-1.8 4c-.5-.1-1.1-.2-1.7-.2-3 0-5.2 1.4-6.6 2.7-.7.7-1.2 1.3-1.6 1.8-.2.3-.3.5-.4.6 0 0 0 .1-.1.2s0 0 .7.3l.7.3V13c0-.1.2-.3.3-.5.3-.4.7-1 1.4-1.6 1.2-1.2 3-2.3 5.5-2.3H13v.3c-.4 0-.8-.1-1.1-.1-1.9 0-3.5 1.6-3.5 3.5s.6 2.3 1.6 2.9l-2 4.4.9.4 7.6-16.2-.9-.4Zm-3 12.6c1.7-.2 3-1.7 3-3.5s-.2-1.4-.6-1.9L12.4 16Z"})});var yw=l(q(),1),ON=l(w(),1),AN=(0,ON.jsx)(yw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,ON.jsx)(yw.Path,{d:"M18.5 15v3.5H13V6.7l4.5 4.1 1-1.1-6.2-5.8-5.8 5.8 1 1.1 4-4v11.7h-6V15H4v5h16v-5z"})});var Sw=l(q(),1),LN=l(w(),1),NN=(0,LN.jsx)(Sw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,LN.jsx)(Sw.Path,{d:"M17.8 2l-.9.3c-.1 0-3.6 1-5.2 2.1C10 5.5 9.3 6.5 8.9 7.1c-.6.9-1.7 4.7-1.7 6.3l-.9 2.3c-.2.4 0 .8.4 1 .1 0 .2.1.3.1.3 0 .6-.2.7-.5l.6-1.5c.3 0 .7-.1 1.2-.2.7-.1 1.4-.3 2.2-.5.8-.2 1.6-.5 2.4-.8.7-.3 1.4-.7 1.9-1.2s.8-1.2 1-1.9c.2-.7.3-1.6.4-2.4.1-.8.1-1.7.2-2.5 0-.8.1-1.5.2-2.1V2zm-1.9 5.6c-.1.8-.2 1.5-.3 2.1-.2.6-.4 1-.6 1.3-.3.3-.8.6-1.4.9-.7.3-1.4.5-2.2.8-.6.2-1.3.3-1.8.4L15 7.5c.3-.3.6-.7 1-1.1 0 .4 0 .8-.1 1.2zM6 20h8v-1.5H6V20z"})});var _w=l(q(),1),MN=l(w(),1),DN=(0,MN.jsx)(_w.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,MN.jsx)(_w.Path,{d:"M18.7 3H5.3C4 3 3 4 3 5.3v13.4C3 20 4 21 5.3 21h13.4c1.3 0 2.3-1 2.3-2.3V5.3C21 4 20 3 18.7 3zm.8 15.7c0 .4-.4.8-.8.8H5.3c-.4 0-.8-.4-.8-.8V5.3c0-.4.4-.8.8-.8h13.4c.4 0 .8.4.8.8v13.4zM10 15l5-3-5-3v6z"})});var _l=l(dr(),1),jn=l(Re(),1),Ee=l(F(),1);var mj=l($(),1),pj=l(ej(),1);var Kt="core/block-editor";var Cw={};Ip(Cw,{getAllPatterns:()=>She,getBlockRemovalRules:()=>hhe,getBlockSettings:()=>oj,getBlockStyles:()=>Ehe,getBlockWithoutAttributes:()=>uhe,getClosestAllowedInsertionPoint:()=>sj,getClosestAllowedInsertionPointForPattern:()=>Ihe,getContentLockingParent:()=>VN,getEditedContentOnlySection:()=>FN,getEnabledBlockParents:()=>mhe,getEnabledClientIdsTree:()=>fhe,getExpandedBlock:()=>Bhe,getInserterMediaCategories:()=>khe,getInsertionPoint:()=>Phe,getLastFocus:()=>whe,getLastInsertedBlocksClientIds:()=>che,getListViewExpandRevision:()=>Vhe,getParentSectionBlock:()=>au,getPatternBySlug:()=>yhe,getRegisteredInserterMediaCategories:()=>bhe,getRemovalPromptData:()=>phe,getRequestedInspectorTab:()=>zhe,getReusableBlocks:()=>xhe,getSectionRootClientId:()=>Mf,getStyleOverrides:()=>ghe,getViewportModalClientIds:()=>Fhe,getZoomLevel:()=>The,hasAllowedPatterns:()=>vhe,hasBlockSpotlight:()=>Lhe,isBlockHiddenAnywhere:()=>Rhe,isBlockHiddenAtViewport:()=>aj,isBlockHiddenEverywhere:()=>UN,isBlockInterfaceHidden:()=>lhe,isBlockParentHiddenAtViewport:()=>Ahe,isBlockParentHiddenEverywhere:()=>Ohe,isBlockSubtreeDisabled:()=>dhe,isContainerInsertableToInContentOnlyMode:()=>xv,isDragging:()=>Che,isEditLockedBlock:()=>lj,isListViewContentPanelOpen:()=>Mhe,isListViewPanelOpened:()=>Dhe,isLockedBlock:()=>Nhe,isMoveLockedBlock:()=>cj,isRemoveLockedBlock:()=>uj,isSectionBlock:()=>lu,isWithinEditedContentOnlySection:()=>zN,isZoomOut:()=>jN});var Vr=l(F(),1),_v=l($(),1);var xw=l(N(),1);var Et={desktop:{label:(0,xw.__)("Desktop"),icon:dA,key:"desktop"},tablet:{label:(0,xw.__)("Tablet"),icon:vN,key:"tablet"},mobile:{label:(0,xw.__)("Mobile"),icon:lv,key:"mobile"}},iu=Object.entries(Et);var ww=l($(),1),tj=l(ct(),1);function pe(e,t,o){t=Array.isArray(t)?[...t]:[t],e=Array.isArray(e)?[...e]:{...e};let r=t.pop(),n=e;for(let i of t){let s=n[i];n=n[i]=Array.isArray(s)?[...s]:{...s}}return n[r]=o,e}var yl=(e,t,o)=>{let r=Array.isArray(t)?t:t.split("."),n=e;return r.forEach(i=>{n=n?.[i]}),n??o};var nhe=["color","border","dimensions","typography","spacing"],ihe={"color.palette":e=>e.colors,"color.gradients":e=>e.gradients,"color.custom":e=>e.disableCustomColors===void 0?void 0:!e.disableCustomColors,"color.customGradient":e=>e.disableCustomGradients===void 0?void 0:!e.disableCustomGradients,"typography.fontSizes":e=>e.fontSizes,"typography.customFontSize":e=>e.disableCustomFontSizes===void 0?void 0:!e.disableCustomFontSizes,"typography.lineHeight":e=>e.enableCustomLineHeight,"spacing.units":e=>{if(e.enableCustomUnits!==void 0)return e.enableCustomUnits===!0?["px","em","rem","vh","vw","%"]:e.enableCustomUnits},"spacing.padding":e=>e.enableCustomSpacing},she={"border.customColor":"border.color","border.customStyle":"border.style","border.customWidth":"border.width","typography.customFontStyle":"typography.fontStyle","typography.customFontWeight":"typography.fontWeight","typography.customLetterSpacing":"typography.letterSpacing","typography.customTextDecorations":"typography.textDecoration","typography.customTextTransforms":"typography.textTransform","border.customRadius":"border.radius","spacing.customMargin":"spacing.margin","spacing.customPadding":"spacing.padding","typography.customLineHeight":"typography.lineHeight"},ahe=e=>she[e]||e;function oj(e,t,...o){let r=ut(e,t),n=[];if(t){let i=t;do{let s=ut(e,i);(0,ww.hasBlockSupport)(s,"__experimentalSettings",!1)&&n.push(i)}while(i=e.blocks.parents.get(i))}return o.map(i=>{if(nhe.includes(i)){console.warn("Top level useSetting paths are disabled. Please use a subpath to query the information needed.");return}let s=(0,tj.applyFilters)("blockEditor.useSetting.before",void 0,i,t,r);if(s!==void 0)return s;let a=ahe(i);for(let d of n){let f=Ei(e,d);if(s=yl(f.settings?.blocks?.[r],a)??yl(f.settings,a),s!==void 0)break}let c=su(e);if(s===void 0&&r&&(s=yl(c.__experimentalFeatures?.blocks?.[r],a)),s===void 0&&(s=yl(c.__experimentalFeatures,a)),s!==void 0)return ww.__EXPERIMENTAL_PATHS_WITH_OVERRIDE[a]?s.custom??s.theme??s.default:s;let u=ihe[a]?.(c);return u!==void 0?u:a==="typography.dropCap"?!0:void 0})}var{isContentBlock:rj}=M(_v.privateApis);function lhe(e){return e.isBlockInterfaceHidden}function che(e){return e?.lastBlockInserted?.clientIds}function uhe(e,t){return e.blocks.byClientId.get(t)}var dhe=(e,t)=>{let o=r=>Ti(e,r)==="disabled"&&wr(e,r).every(o);return wr(e,t).every(o)};function xv(e,t,o){let r=rj(t),n=ut(e,o),i=rj(n);return Mf(e)===o||i&&r}function nj(e,t){let o=wr(e,t),r=[];for(let n of o){let i=nj(e,n);Ti(e,n)!=="disabled"?r.push({clientId:n,innerBlocks:i}):r.push(...i)}return r}var fhe=(0,Vr.createRegistrySelector)(()=>(0,Vr.createSelector)(nj,e=>[e.blocks.order,e.derivedBlockEditingModes,e.blocks.blockEditingModes])),mhe=(0,Vr.createSelector)((e,t,o=!1)=>ys(e,t,o).filter(r=>Ti(e,r)!=="disabled"),e=>[e.blocks.parents,e.blocks.blockEditingModes,e.settings.templateLock,e.blockListSettings]);function phe(e){return e.removalPromptData}function hhe(e){return e.blockRemovalRules}var ghe=(0,Vr.createSelector)(e=>{let o=$p(e).reduce((r,n,i)=>(r[n]=i,r),{});return[...e.styleOverrides].sort((r,n)=>{let[,{clientId:i}]=r,[,{clientId:s}]=n,a=o[i]??-1,c=o[s]??-1;return a-c})},e=>[e.blocks.order,e.styleOverrides]);function bhe(e){return e.registeredInserterMediaCategories}var khe=(0,Vr.createSelector)(e=>{let{settings:{inserterMediaCategories:t,allowedMimeTypes:o,enableOpenverseMediaCategory:r},registeredInserterMediaCategories:n}=e;if(!t&&!n.length||!o)return;let i=t?.map(({name:a})=>a)||[];return[...t||[],...(n||[]).filter(({name:a})=>!i.includes(a))].filter(a=>!r&&a.name==="openverse"?!1:Object.values(o).some(c=>c.startsWith(`${a.mediaType}/`)))},e=>[e.settings.inserterMediaCategories,e.settings.allowedMimeTypes,e.settings.enableOpenverseMediaCategory,e.registeredInserterMediaCategories]),vhe=(0,Vr.createRegistrySelector)(e=>(0,Vr.createSelector)((t,o=null)=>{let{getAllPatterns:r}=M(e(Kt)),n=r(),{allowedBlockTypes:i}=su(t);return n.some(s=>{let{inserter:a=!0}=s;if(!a)return!1;let c=Nf(s);return Cv(c,i)&&c.every(({name:u})=>Df(t,u,o))})},(t,o)=>[...Bv(e)(t),...cu(e)(t,o)])),yhe=(0,Vr.createRegistrySelector)(e=>(0,Vr.createSelector)((t,o)=>{if(o?.startsWith("core/block/")){let r=parseInt(o.slice(11),10),n=M(e(Kt)).getReusableBlocks().find(({id:i})=>i===r);return n?wv(n,t.settings.__experimentalUserPatternCategories):null}return[...t.settings.__experimentalBlockPatterns??[],...t.settings[qc]?.(e)??[]].find(({name:r})=>r===o)},(t,o)=>o?.startsWith("core/block/")?[M(e(Kt)).getReusableBlocks(),t.settings.__experimentalReusableBlocks]:[t.settings.__experimentalBlockPatterns,t.settings[qc]?.(e)])),She=(0,Vr.createRegistrySelector)(e=>(0,Vr.createSelector)(t=>[...M(e(Kt)).getReusableBlocks().map(o=>wv(o,t.settings.__experimentalUserPatternCategories)),...t.settings.__experimentalBlockPatterns??[],...t.settings[qc]?.(e)??[]].filter((o,r,n)=>r===n.findIndex(i=>o.name===i.name)),Bv(e))),_he=[],xhe=(0,Vr.createRegistrySelector)(e=>t=>{let o=t.settings[k0];return(o?o(e):t.settings.__experimentalReusableBlocks)??_he});function whe(e){return e.lastFocus}function Che(e){return e.isDragging}function Bhe(e){return e.expandedBlock}var VN=(e,t)=>{let o=t,r;for(;!r&&(o=e.blocks.parents.get(o));)fa(e,o)==="contentOnly"&&(r=o);return r};function ij(e,t){let o=ut(e,t);if(o==="core/block")return!0;let r=Ei(e,t),n=o==="core/template-part",i=e.settings?.[Xc],s=e.settings?.disableContentOnlyForUnsyncedPatterns,a=e.settings?.disableContentOnlyForTemplateParts;if((!s&&r?.metadata?.patternName||n&&!a)&&!i)return!0;let c=fa(e,t)==="contentOnly",u=Po(e,t),d=fa(e,u)==="contentOnly";return!!(c&&!d)}var au=(e,t)=>{if(zN(e,t))return;let o=t,r;for(;o=e.blocks.parents.get(o);)ij(e,o)&&(r=o);return r};function lu(e,t){return zN(e,t)||au(e,t)?!1:ij(e,t)}function FN(e){return e.editedContentOnlySection}function zN(e,t){if(!e.editedContentOnlySection)return!1;if(e.editedContentOnlySection===t)return!0;let o=t;for(;o=e.blocks.parents.get(o);)if(e.editedContentOnlySection===o)return!0;return!1}var Ehe=(0,Vr.createSelector)((e,t)=>t.reduce((o,r)=>(o[r]=e.blocks.attributes.get(r)?.style,o),{}),(e,t)=>[...t.map(o=>e.blocks.attributes.get(o)?.style)]);function Mf(e){return e.settings?.[Zc]}function jN(e){return e.zoomLevel==="auto-scaled"||e.zoomLevel<100}function The(e){return e.zoomLevel}function sj(e,t,o=""){let r=Array.isArray(t)?t:[t],n=s=>r.every(a=>Df(e,a,s));if(!o){if(n(o))return o;let s=Mf(e);return s&&n(s)?s:null}let i=o;for(;i!==null&&!n(i);)i=Po(e,i);return i}function Ihe(e,t,o){let{allowedBlockTypes:r}=su(e);if(!Cv(Nf(t),r))return null;let i=Nf(t).map(({blockName:s})=>s);return sj(e,i,o)}function Phe(e){return e.insertionPoint}var Rhe=(e,t)=>{let o=ut(e,t);if(!(0,_v.hasBlockSupport)(o,"visibility",!0))return!1;let n=e.blocks.attributes.get(t)?.metadata?.blockVisibility;return n===!1?!0:typeof n?.viewport=="object"&&n?.viewport!==null?Object.values(Et).some(i=>n?.viewport?.[i.key]===!1):!1},UN=(e,t)=>{let o=ut(e,t);return(0,_v.hasBlockSupport)(o,"visibility",!0)?e.blocks.attributes.get(t)?.metadata?.blockVisibility===!1:!1},Ohe=(e,t)=>ys(e,t).some(r=>UN(e,r)),aj=(e,t,o)=>{if(UN(e,t))return!0;let n=e.blocks.attributes.get(t)?.metadata?.blockVisibility?.viewport;return typeof n=="object"&&n!==null&&typeof o=="string"?n?.[o.toLowerCase()]===!1:!1},Ahe=(e,t,o)=>ys(e,t).some(n=>aj(e,n,o));function Lhe(e){return!!e.hasBlockSpotlight||!!e.editedContentOnlySection}function lj(e,t){return!!Ei(e,t)?.lock?.edit}function cj(e,t){let o=Ei(e,t);if(o?.lock?.move!==void 0)return!!o?.lock?.move;let r=Po(e,t);return fa(e,r)==="all"}function uj(e,t){let o=Ei(e,t);if(o?.lock?.remove!==void 0)return!!o?.lock?.remove;let r=Po(e,t),n=fa(e,r);return n==="all"||n==="insert"}function Nhe(e,t){return lj(e,t)||cj(e,t)||uj(e,t)}function Mhe(e){return e.listViewContentPanelOpen}function Dhe(e,t){return e.openedListViewPanels?.allOpen?!0:e.openedListViewPanels?.panels?.[t]===!0}function Vhe(e){return e.listViewExpandRevision||0}function Fhe(e){return e.viewportModalClientIds}function zhe(e){return e.requestedInspectorTab}var Tv=l(N(),1),Nt={user:"user",theme:"theme",directory:"directory"},Ev={full:"fully",unsynced:"unsynced"},Vf={name:"allPatterns",label:(0,Tv._x)("All","patterns")},Sl={name:"myPatterns",label:(0,Tv.__)("My patterns")},Kp={name:"core/starter-content",label:(0,Tv.__)("Starter content")};function Bw(e,t,o){let r=e.name.startsWith("core/block"),n=e.source==="core"||e.source?.startsWith("pattern-directory");return!!(t===Nt.theme&&(r||n)||t===Nt.directory&&(r||!n)||t===Nt.user&&e.type!==Nt.user||o===Ev.full&&e.syncStatus!==""||o===Ev.unsynced&&e.syncStatus!=="unsynced"&&r)}var uu=Symbol("isFiltered"),dj=new WeakMap,fj=new WeakMap;function wv(e,t=[]){return{name:`core/block/${e.id}`,id:e.id,type:Nt.user,title:e.title?.raw,categories:e.wp_pattern_category?.map(o=>{let r=t.find(({id:n})=>n===o);return r?r.slug:o}),content:e.content?.raw,syncStatus:e.wp_pattern_sync_status}}function jhe(e){let t=(0,mj.parse)(e.content,{__unstableSkipMigrationLogs:!0});return t.length===1&&(t[0].attributes={...t[0].attributes,metadata:{...t[0].attributes.metadata||{},categories:e.categories,patternName:e.name,name:t[0].attributes.metadata?.name||e.title}}),{...e,blocks:t}}function Ew(e){let t=dj.get(e);return t||(t=jhe(e),dj.set(e,t)),t}function Nf(e){let t=fj.get(e);return t||(t=(0,pj.parse)(e.content),t=t.filter(o=>o.blockName!==null),fj.set(e,t)),t}var Ff=(e,t,o=null)=>typeof e=="boolean"?e:Array.isArray(e)?e.includes("core/post-content")&&t===null?!0:e.includes(t):o,Cv=(e,t)=>{if(typeof t=="boolean")return t;let o=[...e];for(;o.length>0;){let r=o.shift();if(!Ff(t,r.name||r.blockName,!0))return!1;r.innerBlocks?.forEach(i=>{o.push(i)})}return!0},Bv=e=>t=>[t.settings.__experimentalBlockPatterns,t.settings.__experimentalUserPatternCategories,t.settings.__experimentalReusableBlocks,t.settings[qc]?.(e),t.blockPatterns,M(e(Kt)).getReusableBlocks()],cu=()=>(e,t)=>[e.blockListSettings[t],e.blocks.byClientId.get(t),e.blocks.order.get(t||""),e.settings.allowedBlockTypes,e.settings.templateLock,Ti(e,t),Mf(e),lu(e,t),au(e,t)];var Uhe=(e,t,o)=>(r,n)=>{let i,s;if(typeof e=="function"?(i=e(r),s=e(n)):(i=r[e],s=n[e]),i>s)return o==="asc"?1:-1;if(s>i)return o==="asc"?-1:1;let a=t.findIndex(u=>u===r),c=t.findIndex(u=>u===n);return a>c?1:c>a?-1:0};function ma(e,t,o="asc"){return e.concat().sort(Uhe(t,e,o))}var{isContentBlock:GN}=M(Oe.privateApis),Hhe=3600*1e3,Ghe=24*3600*1e3,Whe=168*3600*1e3,fr=[],$he=new Set,kj={[uu]:!0};function ut(e,t){let o=e.blocks.byClientId.get(t),r="core/social-link";if(gj.Platform.OS!=="web"&&o?.name===r){let n=e.blocks.attributes.get(t),{service:i}=n??{};return i?`${r}-${i}`:r}return o?o.name:null}function Khe(e,t){let o=e.blocks.byClientId.get(t);return!!o&&o.isValid}function Ei(e,t){return e.blocks.byClientId.get(t)?e.blocks.attributes.get(t):null}function xl(e,t){return e.blocks.byClientId.has(t)?e.blocks.tree.get(t):null}var Yhe=(0,Ee.createSelector)((e,t)=>{let o=e.blocks.byClientId.get(t);return o?{...o,attributes:Ei(e,t)}:null},(e,t)=>[e.blocks.byClientId.get(t),e.blocks.attributes.get(t)]);function qhe(e,t){let o=!t||!Iw(e,t)?t||"":"controlled||"+t;return e.blocks.tree.get(o)?.innerBlocks||fr}var vj=(0,Ee.createSelector)((e,t)=>((0,jn.default)("wp.data.select( 'core/block-editor' ).__unstableGetClientIdWithClientIdsTree",{since:"6.3",version:"6.5"}),{clientId:t,innerBlocks:yj(e,t)}),e=>[e.blocks.order]),yj=(0,Ee.createSelector)((e,t="")=>((0,jn.default)("wp.data.select( 'core/block-editor' ).__unstableGetClientIdsTree",{since:"6.3",version:"6.5"}),wr(e,t).map(o=>vj(e,o))),e=>[e.blocks.order]),Sj=(0,Ee.createSelector)((e,t)=>{t=Array.isArray(t)?[...t]:[t];let o=[];for(let n of t){let i=e.blocks.order.get(n);i&&o.push(...i)}let r=0;for(;r[e.blocks.order]),$p=e=>Sj(e,""),Zhe=(0,Ee.createSelector)((e,t)=>{let o=$p(e);if(!t)return o.length;let r=0;for(let n of o)e.blocks.byClientId.get(n).name===t&&r++;return r},e=>[e.blocks.order,e.blocks.byClientId]),_j=(0,Ee.createSelector)((e,t)=>{if(!t)return fr;let o=Array.isArray(t)?t:[t],n=$p(e).filter(i=>{let s=e.blocks.byClientId.get(i);return o.includes(s.name)});return n.length>0?n:fr},e=>[e.blocks.order,e.blocks.byClientId]);function Xhe(e,t){return(0,jn.default)("wp.data.select( 'core/block-editor' ).__experimentalGetGlobalBlocksByName",{since:"6.5",alternative:"wp.data.select( 'core/block-editor' ).getBlocksByName"}),_j(e,t)}var Tw=(0,Ee.createSelector)((e,t)=>(Array.isArray(t)?t:[t]).map(o=>xl(e,o)),(e,t)=>(Array.isArray(t)?t:[t]).map(o=>e.blocks.tree.get(o))),Qhe=(0,Ee.createSelector)((e,t)=>Tw(e,t).filter(Boolean).map(o=>o.name),(e,t)=>Tw(e,t));function Jhe(e,t){return wr(e,t).length}function Pv(e){return e.selection.selectionStart}function Rv(e){return e.selection.selectionEnd}function ege(e){return e.selection.selectionStart.clientId}function tge(e){return e.selection.selectionEnd.clientId}function oge(e){let t=du(e).length;return t||(e.selection.selectionStart.clientId?1:0)}function rge(e){let{selectionStart:t,selectionEnd:o}=e.selection;return!!t.clientId&&t.clientId===o.clientId}function Yp(e){let{selectionStart:t,selectionEnd:o}=e.selection,{clientId:r}=t;return!r||r!==o.clientId?null:r}function nge(e){let t=Yp(e);return t?xl(e,t):null}function Po(e,t){return e.blocks.parents.get(t)??null}var ys=(0,Ee.createSelector)((e,t,o=!1)=>{let r=[],n=t;for(;n=e.blocks.parents.get(n);)r.push(n);return r.length?o?r:r.reverse():fr},e=>[e.blocks.parents]),WN=(0,Ee.createSelector)((e,t,o,r=!1)=>{let n=ys(e,t,r),i=Array.isArray(o)?s=>o.includes(s):s=>o===s;return n.filter(s=>i(ut(e,s)))},e=>[e.blocks.parents]);function ige(e,t){let o=t,r;do r=o,o=e.blocks.parents.get(o);while(o);return r}function sge(e,t){let o=Yp(e),r=[...ys(e,t),t],n=[...ys(e,o),o],i,s=Math.min(r.length,n.length);for(let a=0;a{let{selectionStart:t,selectionEnd:o}=e.selection;if(!t.clientId||!o.clientId)return fr;if(t.clientId===o.clientId)return[t.clientId];let r=Po(e,t.clientId);if(r===null)return fr;let n=wr(e,r),i=n.indexOf(t.clientId),s=n.indexOf(o.clientId);return i>s?n.slice(s,i+1):n.slice(i,s+1)},e=>[e.blocks.order,e.selection.selectionStart.clientId,e.selection.selectionEnd.clientId]);function du(e){let{selectionStart:t,selectionEnd:o}=e.selection;return t.clientId===o.clientId?fr:qp(e)}var uge=(0,Ee.createSelector)(e=>{let t=du(e);return t.length?t.map(o=>xl(e,o)):fr},e=>[...qp.getDependants(e),e.blocks.byClientId,e.blocks.order,e.blocks.attributes]);function KN(e){return du(e)[0]||null}function xj(e){let t=du(e);return t[t.length-1]||null}function dge(e,t){return KN(e)===t}function wj(e,t){return du(e).indexOf(t)!==-1}var fge=(0,Ee.createSelector)((e,t)=>{let o=t,r=!1;for(;o&&!r;)o=Po(e,o),r=wj(e,o);return r},e=>[e.blocks.order,e.selection.selectionStart.clientId,e.selection.selectionEnd.clientId]);function mge(e){let{selectionStart:t,selectionEnd:o}=e.selection;return t.clientId===o.clientId?null:t.clientId||null}function pge(e){let{selectionStart:t,selectionEnd:o}=e.selection;return t.clientId===o.clientId?null:o.clientId||null}function hge(e){let t=Pv(e),o=Rv(e);return!t.attributeKey&&!o.attributeKey&&typeof t.offset>"u"&&typeof o.offset>"u"}function gge(e){let t=Pv(e),o=Rv(e);return!!t&&!!o&&t.clientId===o.clientId&&t.attributeKey===o.attributeKey&&t.offset===o.offset}function bge(e){return qp(e).some(t=>{let o=ut(e,t);return!(0,Oe.getBlockType)(o).merge})}function kge(e,t){let o=Pv(e),r=Rv(e);if(o.clientId===r.clientId||!o.attributeKey||!r.attributeKey||typeof o.offset>"u"||typeof r.offset>"u")return!1;let n=Po(e,o.clientId),i=Po(e,r.clientId);if(n!==i)return!1;let s=wr(e,n),a=s.indexOf(o.clientId),c=s.indexOf(r.clientId),u,d;a>c?(u=r,d=o):(u=o,d=r);let f=t?d.clientId:u.clientId,m=t?u.clientId:d.clientId,h=ut(e,f);if(!(0,Oe.getBlockType)(h).merge)return!1;let g=xl(e,m);if(g.name===h)return!0;let b=(0,Oe.switchToBlockType)(g,h);return b&&b.length}var vge=e=>{let t=Pv(e),o=Rv(e);if(t.clientId===o.clientId||!t.attributeKey||!o.attributeKey||typeof t.offset>"u"||typeof o.offset>"u")return fr;let r=Po(e,t.clientId),n=Po(e,o.clientId);if(r!==n)return fr;let i=wr(e,r),s=i.indexOf(t.clientId),a=i.indexOf(o.clientId),[c,u]=s>a?[o,t]:[t,o],d=xl(e,c.clientId),f=xl(e,u.clientId),m=d.attributes[c.attributeKey],h=f.attributes[u.attributeKey],p=(0,_l.create)({html:m}),g=(0,_l.create)({html:h});return p=(0,_l.remove)(p,0,c.offset),g=(0,_l.remove)(g,u.offset,g.text.length),[{...d,attributes:{...d.attributes,[c.attributeKey]:(0,_l.toHTMLString)({value:p})}},{...f,attributes:{...f.attributes,[u.attributeKey]:(0,_l.toHTMLString)({value:g})}}]};function wr(e,t){return e.blocks.order.get(t||"")||fr}function Cj(e,t){let o=Po(e,t);return wr(e,o).indexOf(t)}function Bj(e,t){let{selectionStart:o,selectionEnd:r}=e.selection;return o.clientId!==r.clientId?!1:o.clientId===t}function Ej(e,t,o=!1){let r=qp(e);return r.length?o?r.some(n=>ys(e,n,!0).includes(t)):r.some(n=>Po(e,n)===t):!1}function Tj(e,t,o=!1){return wr(e,t).some(r=>YN(e,r)||o&&Tj(e,r,o))}function yge(e,t){if(!t)return!1;let o=du(e),r=o.indexOf(t);return r>-1&&rYN(e,r)):!1}function Tge(){return(0,jn.default)('wp.data.select( "core/block-editor" ).isCaretWithinFormattedText',{since:"6.1",version:"6.3"}),!1}var Ige=(0,Ee.createSelector)(e=>{let t,o,{insertionCue:r,selection:{selectionEnd:n}}=e;if(r!==null)return r;let{clientId:i}=n;return i?(t=Po(e,i)||void 0,o=Cj(e,n.clientId)+1):o=wr(e).length,{rootClientId:t,index:o}},e=>[e.insertionCue,e.selection.selectionEnd.clientId,e.blocks.parents,e.blocks.order]);function Pge(e){return e.insertionCue!==null}function Rge(e){return e.template.isValid}function Oge(e){return e.settings.template}function fa(e,t){if(!t)return e.settings.templateLock??!1;let o=eM(e,t)?.templateLock;return o==="contentOnly"&&e.editedContentOnlySection===t?!1:o??!1}var qN=(e,t,o=null)=>{let r,n;if(t&&typeof t=="object"?(r=t,n=t.name):(r=(0,Oe.getBlockType)(t),n=t),!r)return!1;let{allowedBlockTypes:i}=su(e);if(!Ff(i,n,!0))return!1;let a=(Array.isArray(r.parent)?r.parent:[]).concat(Array.isArray(r.ancestor)?r.ancestor:[]);if(a.length>0){if(a.includes("core/post-content"))return!0;let c=o,u=!1;do{if(a.includes(ut(e,c))){u=!0;break}c=e.blocks.parents.get(c)}while(c);return u}return!0},Ov=(e,t,o=null)=>{if(e.settings.isPreviewMode||!qN(e,t,o))return!1;let r;t&&typeof t=="object"?(r=t,t=r.name):r=(0,Oe.getBlockType)(t);let n=fa(e,o);if(n&&n!=="contentOnly")return!1;let i=Ti(e,o??""),s=!!lu(e,o),a=s?o:au(e,o),c=!!a;if(i==="disabled"&&(!c||t!==(0,Oe.getDefaultBlockName)()))return!1;let u=eM(e,o);if(o&&u===void 0)return!1;let d=GN(t);if(c&&!d||c&&ut(e,a)==="core/block")return!1;if(c&&(s||i==="contentOnly")&&!xv(e,t,o)){let S=(0,Oe.getDefaultBlockName)();if(t===S){if(!wr(e,o).some(B=>ut(e,B)===S))return!1}else return!1}let f=ut(e,o),h=(0,Oe.getBlockType)(f)?.allowedBlocks,p=Ff(h,t);if(p!==!1){let S=u?.allowedBlocks,x=Ff(S,t);x!==null&&(p=x)}let g=r.parent,b=Ff(g,f),v=!0,k=r.ancestor;k&&(v=[o,...ys(e,o)].some(x=>Ff(k,ut(e,x))));let y=v&&(p===null&&b===null||p===!0||b===!0);return y&&(0,bj.applyFilters)("blockEditor.__unstableCanInsertBlockType",y,r,o,{getBlock:xl.bind(null,e),getBlockParentsByBlockName:WN.bind(null,e)})},Df=(0,Ee.createRegistrySelector)(e=>(0,Ee.createSelector)(Ov,(t,o,r)=>cu(e)(t,r)));function Age(e,t,o=null){return t.every(r=>Df(e,ut(e,r),o))}function ZN(e,t){if(e.settings.isPreviewMode)return!1;let o=Ei(e,t);if(o===null)return!0;if(o.lock?.remove!==void 0)return!o.lock.remove;let r=Po(e,t),n=fa(e,r);if(n&&n!=="contentOnly")return!1;let i=!!lu(e,r),s=i?r:au(e,r),a=!!s,c=GN(ut(e,t));if(a&&!c||a&&ut(e,s)==="core/block")return!1;let u=Ti(e,r),d=ut(e,t),f=(0,Oe.getDefaultBlockName)();if(a&&(i||d===f||u==="contentOnly")&&!xv(e,ut(e,t),r))if(d===f){if(wr(e,r).filter(p=>ut(e,p)===f).length>1)return!0}else return!1;return u!=="disabled"}function Pj(e,t){return t.every(o=>ZN(e,o))}function Rj(e,t){if(e.settings.isPreviewMode)return!1;let o=Ei(e,t);if(o===null)return!0;if(o.lock?.move!==void 0)return!o.lock.move;let r=Po(e,t);if(fa(e,r)==="all")return!1;let i=!!au(e,t),s=GN(ut(e,t));if(i&&!s)return!1;let a=!!lu(e,r),c=Ti(e,r);return i&&(a||c==="contentOnly")&&!xv(e,ut(e,t),r)?!1:Ti(e,r)!=="disabled"}function Lge(e,t){return t.every(o=>Rj(e,o))}function Oj(e,t){if(e.settings.isPreviewMode)return!1;let o=Ei(e,t);if(o===null)return!0;let{lock:r}=o;return!r?.edit}function Nge(e,t){return e.settings.isPreviewMode||!(0,Oe.hasBlockSupport)(t,"lock",!0)?!1:!!e.settings?.canLockBlocks}function XN(e,t){return e.preferences.insertUsage?.[t]??null}var Iv=(e,t,o)=>(0,Oe.hasBlockSupport)(t,"inserter",!0)?Ov(e,t.name,o):!1,Mge=(e,t)=>o=>{let r=`${t.id}/${o.name}`,{time:n,count:i=0}=XN(e,r)||{};return{...t,id:r,icon:o.icon||t.icon,title:o.title||t.title,description:o.description||t.description,category:o.category||t.category,example:o.hasOwnProperty("example")?o.example:t.example,initialAttributes:{...t.initialAttributes,...o.attributes},innerBlocks:o.innerBlocks,keywords:o.keywords||t.keywords,frecency:QN(n,i),isSearchOnly:o.isSearchOnly}},QN=(e,t)=>{if(!e)return t;let o=Date.now()-e;switch(!0){case oo=>{let r=o.name,n=!1;(0,Oe.hasBlockSupport)(o.name,"multiple",!0)||(n=Tw(e,$p(e)).some(({name:f})=>f===o.name));let{time:i,count:s=0}=XN(e,r)||{},a={id:r,name:o.name,title:o.title,icon:o.icon,isDisabled:n,frecency:QN(i,s)};if(t==="transform")return a;let c=(0,Oe.getBlockVariations)(o.name,"inserter"),u=(0,Oe.getBlockVariations)(o.name,"block"),d=[...c,...u.filter(f=>o.name==="core/heading"&&["h1","h2","h3","h4","h5","h6"].includes(f.name)).map(f=>({...f,isSearchOnly:!0}))];return{...a,initialAttributes:{},description:o.description,category:o.category,keywords:o.keywords,parent:o.parent,ancestor:o.ancestor,variations:d,example:o.example,utility:1}},Dge=(0,Ee.createRegistrySelector)(e=>(0,Ee.createSelector)((t,o=null,r=kj)=>{let n=h=>{let p=h.wp_pattern_sync_status?Bi:{src:Bi,foreground:"var(--wp-block-synced-color)"},g=wv(h),{time:b,count:v=0}=XN(t,g.name)||{},k=QN(b,v);return{id:g.name,name:"core/block",initialAttributes:{ref:h.id},title:g.title,icon:p,category:"reusable",keywords:["reusable"],isDisabled:!1,utility:1,frecency:k,content:g.content,get blocks(){return Ew(g).blocks},syncStatus:g.syncStatus}},i=Ov(t,"core/block",o)?M(e(Kt)).getReusableBlocks().map(n):[],s=Aj(t,{buildScope:"inserter"}),a=(0,Oe.getBlockTypes)().filter(h=>(0,Oe.hasBlockSupport)(h,"inserter",!0)).map(s);if(r[uu]!==!1)a=a.filter(h=>Iv(t,h,o));else{let{getClosestAllowedInsertionPoint:h}=M(e(Kt));a=a.filter(p=>qN(t,p,o)&&h(p.name,o)!==null).map(p=>({...p,isAllowedInCurrentRoot:Iv(t,p,o)}))}let c=a.reduce((h,p)=>{let{variations:g=[]}=p;if(g.some(({isDefault:b})=>b)||h.push(p),g.length){let b=Mge(t,p);h.push(...g.map(b))}return h},[]),u=(h,p)=>{let{core:g,noncore:b}=h;return(p.name.startsWith("core/")?g:b).push(p),h},{core:d,noncore:f}=c.reduce(u,{core:[],noncore:[]});return[...[...d,...f],...i]},(t,o)=>[(0,Oe.getBlockTypes)(),M(e(Kt)).getReusableBlocks(),t.blocks.order,t.preferences.insertUsage,...cu(e)(t,o)])),Vge=(0,Ee.createRegistrySelector)(e=>(0,Ee.createSelector)((t,o,r=null)=>{let n=Array.isArray(o)?o:[o],i=Aj(t,{buildScope:"transform"}),s=(0,Oe.getBlockTypes)().filter(u=>Iv(t,u,r)).map(i),a=Object.fromEntries(Object.entries(s).map(([,u])=>[u.name,u])),c=(0,Oe.getPossibleBlockTransformations)(n).reduce((u,d)=>(a[d?.name]&&u.push(a[d.name]),u),[]);return ma(c,u=>a[u.name].frecency,"desc")},(t,o,r)=>[(0,Oe.getBlockTypes)(),t.preferences.insertUsage,...cu(e)(t,r)])),Fge=(e,t=null)=>(0,Oe.getBlockTypes)().some(n=>Iv(e,n,t))?!0:Ov(e,"core/block",t),HN=(0,Ee.createRegistrySelector)(e=>(0,Ee.createSelector)((t,o=null)=>{if(!o)return;let r=(0,Oe.getBlockTypes)().filter(i=>Iv(t,i,o));return Ov(t,"core/block",o)&&r.push("core/block"),r},(t,o)=>[(0,Oe.getBlockTypes)(),...cu(e)(t,o)])),zge=(0,Ee.createSelector)((e,t=null)=>((0,jn.default)('wp.data.select( "core/block-editor" ).__experimentalGetAllowedBlocks',{alternative:'wp.data.select( "core/block-editor" ).getAllowedBlocks',since:"6.2",version:"6.4"}),HN(e,t)),(e,t)=>HN.getDependants(e,t));function Lj(e,t=null){if(!t)return;let{defaultBlock:o,directInsert:r}=e.blockListSettings[t]??{};if(!(!o||!r))return o}function jge(e,t=null){return(0,jn.default)('wp.data.select( "core/block-editor" ).__experimentalGetDirectInsertBlock',{alternative:'wp.data.select( "core/block-editor" ).getDirectInsertBlock',since:"6.3",version:"6.4"}),Lj(e,t)}var Uge=(0,Ee.createRegistrySelector)(e=>(t,o)=>{let r=M(e(Kt)).getPatternBySlug(o);return r?Ew(r):null}),JN=e=>(t,o)=>[...Bv(e)(t),...cu(e)(t,o)],hj=new WeakMap;function Hge(e){let t=hj.get(e);return t||(t={...e,get blocks(){return Ew(e).blocks}},hj.set(e,t)),t}var Gge=(0,Ee.createRegistrySelector)(e=>(0,Ee.createSelector)((t,o=null,r=kj)=>{let{getAllPatterns:n}=M(e(Kt)),i=n(),{allowedBlockTypes:s}=su(t);return i.filter(({inserter:d=!0})=>!!d).map(Hge).filter(d=>Cv(Nf(d),s)).filter(d=>Nf(d).every(({blockName:f})=>r[uu]!==!1?Df(t,f,o):qN(t,f,o)))},JN(e))),Wge=(0,Ee.createRegistrySelector)(e=>(0,Ee.createSelector)((t,o,r=null)=>{if(!o)return fr;let n=e(Kt).__experimentalGetAllowedPatterns(r),i=Array.isArray(o)?o:[o],s=n.filter(a=>a?.blockTypes?.some?.(c=>i.includes(c)));return s.length===0?fr:s},(t,o,r)=>JN(e)(t,r))),$ge=(0,Ee.createRegistrySelector)(e=>((0,jn.default)('wp.data.select( "core/block-editor" ).__experimentalGetPatternsByBlockTypes',{alternative:'wp.data.select( "core/block-editor" ).getPatternsByBlockTypes',since:"6.2",version:"6.4"}),e(Kt).getPatternsByBlockTypes)),Kge=(0,Ee.createRegistrySelector)(e=>(0,Ee.createSelector)((t,o,r=null)=>{if(!o||o.some(({clientId:i,innerBlocks:s})=>s.length||Iw(t,i)))return fr;let n=Array.from(new Set(o.map(({name:i})=>i)));return e(Kt).getPatternsByBlockTypes(n,r)},(t,o,r)=>JN(e)(t,r)));function eM(e,t){return e.blockListSettings[t]}function su(e){return e.settings}function Yge(e){return e.blocks.isPersistentChange}var qge=(0,Ee.createSelector)((e,t=[])=>t.reduce((o,r)=>e.blockListSettings[r]?{...o,[r]:e.blockListSettings[r]}:o,{}),e=>[e.blockListSettings]),Zge=(0,Ee.createRegistrySelector)(e=>(0,Ee.createSelector)((t,o)=>{(0,jn.default)("wp.data.select( 'core/block-editor' ).__experimentalGetReusableBlockTitle",{since:"6.6",version:"6.8"});let r=M(e(Kt)).getReusableBlocks().find(n=>n.id===o);return r?r.title?.raw:null},()=>[M(e(Kt)).getReusableBlocks()]));function Xge(e){return e.blocks.isIgnoredChange}function Qge(e){return e.lastBlockAttributesChange}function Jge(){return(0,jn.default)('wp.data.select( "core/block-editor" ).hasBlockMovingClientId',{since:"6.7",hint:"Block moving mode feature has been removed"}),!1}function ebe(e){return!!e.automaticChangeStatus}function tbe(e,t){return e.highlightedBlock===t}function Iw(e,t){return!!e.blocks.controlledInnerBlocks[t]}var obe=(0,Ee.createSelector)((e,t)=>{if(!t.length)return null;let o=Yp(e);if(t.includes(ut(e,o)))return o;let r=du(e),n=WN(e,o||r[0],t);return n?n[n.length-1]:null},(e,t)=>[e.selection.selectionStart.clientId,e.selection.selectionEnd.clientId,t]);function rbe(e,t,o){let{lastBlockInserted:r}=e;return r.clientIds?.includes(t)&&r.source===o}function nbe(e,t){return e.blockVisibility?.[t]??!0}function ibe(){(0,jn.default)("wp.data.select( 'core/block-editor' ).getHoveredBlockClientId",{since:"6.9",version:"7.1"})}var sbe=(0,Ee.createSelector)(e=>{let t=new Set(Object.keys(e.blockVisibility).filter(o=>e.blockVisibility[o]));return t.size===0?$he:t},e=>[e.blockVisibility]);function Nj(e,t){if(Ti(e,t)!=="default")return!1;if(!Oj(e,t))return!0;if(jN(e)){let n=Mf(e);if(n){if(wr(e,n)?.includes(t))return!0}else if(t&&!Po(e,t))return!0}return((0,Oe.hasBlockSupport)(ut(e,t),"__experimentalDisableBlockOverlay",!1)?!1:Iw(e,t))&&!Bj(e,t)&&!Ej(e,t,!0)}function abe(e,t){let o=e.blocks.parents.get(t);for(;o;){if(Nj(e,o))return!0;o=e.blocks.parents.get(o)}return!1}function Ti(e,t=""){return t===null&&(t=""),e.derivedBlockEditingModes?.has(t)?e.derivedBlockEditingModes.get(t):e.blocks.blockEditingModes.has(t)?e.blocks.blockEditingModes.get(t):"default"}var lbe=(0,Ee.createRegistrySelector)(e=>(t,o="")=>{let r=o||Yp(t);if(!r||lu(t,r))return!1;let{getGroupingBlockName:n}=e(Oe.store),i=xl(t,r),s=n();return i&&(i.name===s||(0,Oe.getBlockType)(i.name)?.transforms?.ungroup)&&!!i.innerBlocks.length&&ZN(t,r)}),cbe=(0,Ee.createRegistrySelector)(e=>(t,o=fr)=>{let{getGroupingBlockName:r}=e(Oe.store),n=r(),i=o?.length?o:qp(t),s=i?.length?Po(t,i[0]):void 0;return Df(t,n,s)&&i.length&&Pj(t,i)}),ube=(e,t)=>((0,jn.default)("wp.data.select( 'core/block-editor' ).__unstableGetContentLockingParent",{since:"6.1",version:"6.7"}),VN(e,t));function dbe(e){return(0,jn.default)("wp.data.select( 'core/block-editor' ).__unstableGetTemporarilyEditingAsBlocks",{since:"6.1",version:"6.7"}),FN(e)}var Pw={};Ip(Pw,{__experimentalUpdateSettings:()=>oM,clearBlockRemovalPrompt:()=>bbe,clearRequestedInspectorTab:()=>Nbe,closeListViewContentPanel:()=>Rbe,deleteStyleOverride:()=>ybe,editContentOnlySection:()=>nM,ensureDefaultBlock:()=>jj,expandBlock:()=>wbe,hideBlockInterface:()=>pbe,hideViewportModal:()=>Abe,openListViewContentPanel:()=>Pbe,privateRemoveBlocks:()=>rM,requestInspectorTab:()=>Lbe,resetZoomLevel:()=>Tbe,setBlockRemovalRules:()=>kbe,setInsertionPoint:()=>Cbe,setLastFocus:()=>Sbe,setStyleOverride:()=>vbe,setZoomLevel:()=>Ebe,showBlockInterface:()=>hbe,showViewportModal:()=>Obe,startDragging:()=>_be,stopDragging:()=>xbe,stopEditingContentOnlySection:()=>Bbe,toggleBlockSpotlight:()=>Ibe});var Dj=l(R(),1),Vj=l(Re(),1),Fj=l(Xo(),1),zj=l(N(),1),fbe=e=>Array.isArray(e)?e:[e],mbe=["inserterMediaCategories","blockInspectorAnimation","mediaSideload"];function oM(e,{stripExperimentalSettings:t=!1,reset:o=!1}={}){let r=e;Object.hasOwn(r,"__unstableIsPreviewMode")&&((0,Vj.default)("__unstableIsPreviewMode argument in wp.data.dispatch('core/block-editor').updateSettings",{since:"6.8",alternative:"isPreviewMode"}),r={...r},r.isPreviewMode=r.__unstableIsPreviewMode,delete r.__unstableIsPreviewMode);let n=r;if(t&&Dj.Platform.OS==="web"){n={};for(let i in r)mbe.includes(i)||(n[i]=r[i])}return{type:"UPDATE_SETTINGS",settings:n,reset:o}}function pbe(){return{type:"HIDE_BLOCK_INTERFACE"}}function hbe(){return{type:"SHOW_BLOCK_INTERFACE"}}var rM=(e,t=!0,o=!1)=>({select:r,dispatch:n,registry:i})=>{if(!e||!e.length||(e=fbe(e),!r.canRemoveBlocks(e)))return;let a=!o&&r.getBlockRemovalRules();if(a){let u=function(h){let p=[],g=[...h];for(;g.length;){let{innerBlocks:b,...v}=g.shift();g.push(...b),p.push(v)}return p};var c=u;let d=e.map(r.getBlock),f=u(d),m;for(let h of a)if(m=h.callback(f),m){n(gbe(e,t,m));return}}t&&n.selectPreviousBlock(e[0],t),i.batch(()=>{n({type:"REMOVE_BLOCKS",clientIds:e}),n(jj())})},jj=()=>({select:e,dispatch:t})=>{if(e.getBlockCount()>0)return;let{__unstableHasCustomAppender:r}=e.getSettings();r||t.insertDefaultBlock()};function gbe(e,t,o){return{type:"DISPLAY_BLOCK_REMOVAL_PROMPT",clientIds:e,selectPrevious:t,message:o}}function bbe(){return{type:"CLEAR_BLOCK_REMOVAL_PROMPT"}}function kbe(e=!1){return{type:"SET_BLOCK_REMOVAL_RULES",rules:e}}function vbe(e,t){return{type:"SET_STYLE_OVERRIDE",id:e,style:t}}function ybe(e){return{type:"DELETE_STYLE_OVERRIDE",id:e}}function Sbe(e=null){return{type:"LAST_FOCUS",lastFocus:e}}function _be(){return{type:"START_DRAGGING"}}function xbe(){return{type:"STOP_DRAGGING"}}function wbe(e){return{type:"SET_BLOCK_EXPANDED_IN_LIST_VIEW",clientId:e}}function Cbe(e){return{type:"SET_INSERTION_POINT",value:e}}function nM(e){return{type:"EDIT_CONTENT_ONLY_SECTION",clientId:e}}function Bbe(){return{type:"EDIT_CONTENT_ONLY_SECTION"}}var Ebe=(e=100)=>({select:t,dispatch:o})=>{if(e!==100){let r=t.getBlockSelectionStart(),n=t.getSectionRootClientId();if(r){let i;if(n){let s=t.getBlockOrder(n);s?.includes(r)?i=r:i=t.getBlockParents(r).find(a=>s.includes(a))}else i=t.getBlockHierarchyRootClientId(r);i?o.selectBlock(i):o.clearSelectedBlock(),(0,Fj.speak)((0,zj.__)("You are currently in zoom-out mode."))}}o({type:"SET_ZOOM_LEVEL",zoom:e})};function Tbe(){return{type:"RESET_ZOOM_LEVEL"}}function Ibe(e,t){return{type:"TOGGLE_BLOCK_SPOTLIGHT",clientId:e,hasBlockSpotlight:t}}function Pbe(){return{type:"OPEN_LIST_VIEW_CONTENT_PANEL"}}function Rbe(){return{type:"CLOSE_LIST_VIEW_CONTENT_PANEL"}}function Obe(e){return{type:"SHOW_VIEWPORT_MODAL",clientIds:e}}function Abe(){return{type:"HIDE_VIEWPORT_MODAL"}}function Lbe(e,t={}){return{type:"REQUEST_INSPECTOR_TAB",tabName:e,options:t}}function Nbe(){return{type:"CLEAR_REQUESTED_INSPECTOR_TAB"}}var aM={};Ip(aM,{__unstableDeleteSelection:()=>ike,__unstableExpandSelection:()=>ake,__unstableIncrementListViewExpandRevision:()=>jke,__unstableMarkAutomaticChange:()=>Cke,__unstableMarkLastChangeAsPersistent:()=>xke,__unstableMarkNextChangeAsNotPersistent:()=>wke,__unstableSaveReusableBlock:()=>_ke,__unstableSetAllListViewPanelsOpen:()=>Fke,__unstableSetEditorMode:()=>Bke,__unstableSetOpenListViewPanel:()=>Vke,__unstableSetTemporarilyEditingAsBlocks:()=>Lke,__unstableSplitSelection:()=>ske,__unstableToggleListViewPanel:()=>zke,clearSelectedBlock:()=>Ybe,duplicateBlocks:()=>Tke,enterFormattedText:()=>gke,exitFormattedText:()=>bke,flashBlock:()=>Rke,hideInsertionPoint:()=>oke,hoverBlock:()=>Ube,insertAfterBlock:()=>Pke,insertBeforeBlock:()=>Ike,insertBlock:()=>eke,insertBlocks:()=>Xj,insertDefaultBlock:()=>vke,mergeBlocks:()=>lke,moveBlockToPosition:()=>Jbe,moveBlocksDown:()=>Xbe,moveBlocksToPosition:()=>Zj,moveBlocksUp:()=>Qbe,multiSelect:()=>Kbe,receiveBlocks:()=>Vbe,registerInserterMediaCategory:()=>Nke,removeBlock:()=>cke,removeBlocks:()=>Qj,replaceBlock:()=>Zbe,replaceBlocks:()=>Yj,replaceInnerBlocks:()=>uke,resetBlocks:()=>Mbe,resetSelection:()=>Dbe,selectBlock:()=>jbe,selectNextBlock:()=>Gbe,selectPreviousBlock:()=>Hbe,selectionChange:()=>kke,setBlockEditingMode:()=>Mke,setBlockMovingClientId:()=>Eke,setBlockVisibility:()=>Ake,setHasControlledInnerBlocks:()=>Oke,setTemplateValidity:()=>rke,showInsertionPoint:()=>tke,startDraggingBlocks:()=>pke,startMultiSelect:()=>Wbe,startTyping:()=>fke,stopDraggingBlocks:()=>hke,stopMultiSelect:()=>$be,stopTyping:()=>mke,synchronizeTemplate:()=>nke,toggleBlockHighlight:()=>sM,toggleBlockMode:()=>dke,toggleSelection:()=>qbe,unsetBlockEditingMode:()=>Dke,updateBlock:()=>zbe,updateBlockAttributes:()=>Fbe,updateBlockListSettings:()=>yke,updateSettings:()=>Ske,validateBlocksToTemplate:()=>Kj});var be=l($(),1),Rw=l(Xo(),1),fu=l(N(),1),Wj=l(Ii(),1),dt=l(dr(),1),mu=l(Re(),1),$j=l(Zp(),1);var Gj=l(dr(),1),wl="\x86";function Av(e){if(e)return Object.keys(e).find(t=>{let o=e[t];return(typeof o=="string"||o instanceof Gj.RichTextData)&&o.toString().indexOf(wl)!==-1})}function iM(e){for(let[t,o]of Object.entries(e.attributes))if(o.source==="rich-text"||o.source==="html")return t}var Xp=e=>Array.isArray(e)?e:[e],Mbe=e=>({dispatch:t})=>{t({type:"RESET_BLOCKS",blocks:e}),t(Kj(e))},Kj=e=>({select:t,dispatch:o})=>{let r=t.getTemplate(),n=t.getTemplateLock(),i=!r||n!=="all"||(0,be.doBlocksMatchTemplate)(e,r),s=t.isValidTemplate();if(i!==s)return o.setTemplateValidity(i),i};function Dbe(e,t,o){return{type:"RESET_SELECTION",selectionStart:e,selectionEnd:t,initialPosition:o}}function Vbe(e){return(0,mu.default)('wp.data.dispatch( "core/block-editor" ).receiveBlocks',{since:"5.9",alternative:"resetBlocks or insertBlocks"}),{type:"RECEIVE_BLOCKS",blocks:e}}function Fbe(e,t,o={uniqueByBlock:!1}){return typeof o=="boolean"&&(o={uniqueByBlock:o}),{type:"UPDATE_BLOCK_ATTRIBUTES",clientIds:Xp(e),attributes:t,options:o}}function zbe(e,t){return{type:"UPDATE_BLOCK",clientId:e,updates:t}}function jbe(e,t=0){return{type:"SELECT_BLOCK",initialPosition:t,clientId:e}}function Ube(){return(0,mu.default)('wp.data.dispatch( "core/block-editor" ).hoverBlock',{since:"6.9",version:"7.1"}),{type:"DO_NOTHING"}}var Hbe=(e,t=!1)=>({select:o,dispatch:r})=>{let n=o.getPreviousBlockClientId(e);if(n)r.selectBlock(n,-1);else if(t){let i=o.getBlockRootClientId(e);if(i)r.selectBlock(i,-1);else{let s=o.getNextBlockClientId(e);s&&r.selectBlock(s,0)}}},Gbe=e=>({select:t,dispatch:o})=>{let r=t.getNextBlockClientId(e);r&&o.selectBlock(r)};function Wbe(){return{type:"START_MULTI_SELECT"}}function $be(){return{type:"STOP_MULTI_SELECT"}}var Kbe=(e,t,o=0)=>({select:r,dispatch:n})=>{let i=r.getBlockRootClientId(e),s=r.getBlockRootClientId(t);if(i!==s)return;n({type:"MULTI_SELECT",start:e,end:t,initialPosition:o});let a=r.getSelectedBlockCount();(0,Rw.speak)((0,fu.sprintf)((0,fu._n)("%s block selected.","%s blocks selected.",a),a),"assertive")};function Ybe(){return{type:"CLEAR_SELECTED_BLOCK"}}function qbe(e=!0){return{type:"TOGGLE_SELECTION",isSelectionEnabled:e}}var Yj=(e,t,o,r=0,n)=>({select:i,dispatch:s,registry:a})=>{e=Xp(e),t=Xp(t);let c=i.getBlockRootClientId(e[0]);for(let u=0;u{s({type:"REPLACE_BLOCKS",clientIds:e,blocks:t,time:Date.now(),indexToSelect:o,initialPosition:r,meta:n}),s.ensureDefaultBlock()})};function Zbe(e,t){return Yj(e,t)}var qj=e=>(t,o)=>({select:r,dispatch:n})=>{r.canMoveBlocks(t)&&n({type:e,clientIds:Xp(t),rootClientId:o})},Xbe=qj("MOVE_BLOCKS_DOWN"),Qbe=qj("MOVE_BLOCKS_UP"),Zj=(e,t="",o="",r)=>({select:n,dispatch:i})=>{n.canMoveBlocks(e)&&(t!==o&&(!n.canRemoveBlocks(e)||!n.canInsertBlocks(e,o))||i({type:"MOVE_BLOCKS_TO_POSITION",fromRootClientId:t,toRootClientId:o,clientIds:e,index:r}))};function Jbe(e,t="",o="",r){return Zj([e],t,o,r)}function eke(e,t,o,r,n,i){return Xj([e],t,o,r,n,i)}var Xj=(e,t,o,r=!0,n=0,i)=>({select:s,dispatch:a})=>{n!==null&&typeof n=="object"&&(i=n,n=0,(0,mu.default)("meta argument in wp.data.dispatch('core/block-editor')",{since:"5.8",hint:"The meta argument is now the 6th argument of the function"})),e=Xp(e);let c=[];for(let u of e)s.canInsertBlockType(u.name,o)&&c.push(u);c.length&&a({type:"INSERT_BLOCKS",blocks:c,index:t,rootClientId:o,time:Date.now(),updateSelection:r,initialPosition:r?n:null,meta:i})};function tke(e,t,o={}){let{__unstableWithInserter:r,operation:n,nearestSide:i}=o;return{type:"SHOW_INSERTION_POINT",rootClientId:e,index:t,__unstableWithInserter:r,operation:n,nearestSide:i}}var oke=()=>({select:e,dispatch:t})=>{e.isBlockInsertionPointVisible()&&t({type:"HIDE_INSERTION_POINT"})};function rke(e){return{type:"SET_TEMPLATE_VALIDITY",isValid:e}}var nke=()=>({select:e,dispatch:t})=>{t({type:"SYNCHRONIZE_TEMPLATE"});let o=e.getBlocks(),r=e.getTemplate(),n=(0,be.synchronizeBlocksWithTemplate)(o,r);t.resetBlocks(n)},ike=e=>({registry:t,select:o,dispatch:r})=>{let n=o.getSelectionStart(),i=o.getSelectionEnd();if(n.clientId===i.clientId)return;if(!n.attributeKey||!i.attributeKey||typeof n.offset>"u"||typeof i.offset>"u")return!1;let s=o.getBlockRootClientId(n.clientId),a=o.getBlockRootClientId(i.clientId);if(s!==a)return;let c=o.getBlockOrder(s),u=c.indexOf(n.clientId),d=c.indexOf(i.clientId),f,m;u>d?(f=i,m=n):(f=n,m=i);let h=e?m:f,p=o.getBlock(h.clientId),g=(0,be.getBlockType)(p.name);if(!g.merge)return;let b=f,v=m,k=o.getBlock(b.clientId),y=o.getBlock(v.clientId),S=k.attributes[b.attributeKey],x=y.attributes[v.attributeKey],C=(0,dt.create)({html:S}),B=(0,dt.create)({html:x});C=(0,dt.remove)(C,b.offset,C.text.length),B=(0,dt.insert)(B,wl,0,v.offset);let I=(0,be.cloneBlock)(k,{[b.attributeKey]:(0,dt.toHTMLString)({value:C})}),P=(0,be.cloneBlock)(y,{[v.attributeKey]:(0,dt.toHTMLString)({value:B})}),E=e?I:P,L=k.name===y.name?[E]:(0,be.switchToBlockType)(E,g.name);if(!L||!L.length)return;let T;if(e){let se=L.pop();T=g.merge(se.attributes,P.attributes)}else{let se=L.shift();T=g.merge(I.attributes,se.attributes)}let O=Av(T),V=T[O],U=(0,dt.create)({html:V}),G=U.text.indexOf(wl),j=(0,dt.remove)(U,G,G+1),z=(0,dt.toHTMLString)({value:j});T[O]=z;let W=o.getSelectedBlockClientIds(),ee=[...e?L:[],{...p,attributes:{...p.attributes,...T}},...e?[]:L];t.batch(()=>{r.selectionChange(p.clientId,O,G,G),r.replaceBlocks(W,ee,0,o.getSelectedBlocksInitialCaretPosition())})},ske=(e=[])=>({registry:t,select:o,dispatch:r})=>{let n=o.getSelectionStart(),i=o.getSelectionEnd(),s=o.getBlockRootClientId(n.clientId),a=o.getBlockRootClientId(i.clientId);if(s!==a)return;let c=o.getBlockOrder(s),u=c.indexOf(n.clientId),d=c.indexOf(i.clientId),f,m;u>d?(f=i,m=n):(f=n,m=i);let h=f,p=m,g=o.getBlock(h.clientId),b=o.getBlock(p.clientId),v=(0,be.getBlockType)(g.name),k=(0,be.getBlockType)(b.name),y=typeof h.attributeKey=="string"?h.attributeKey:iM(v),S=typeof p.attributeKey=="string"?p.attributeKey:iM(k),x=o.getBlockAttributes(h.clientId);if(x?.metadata?.bindings?.[y]){if(e.length){let{createWarningNotice:ie}=t.dispatch(Wj.store);ie((0,fu.__)("Blocks can't be inserted into other blocks with bindings"),{type:"snackbar"});return}r.insertAfterBlock(h.clientId);return}if(!y||!S||typeof n.offset>"u"||typeof i.offset>"u")return;if(h.clientId===p.clientId&&y===S&&h.offset===p.offset){if(e.length){if((0,be.isUnmodifiedDefaultBlock)(g,"content")){r.replaceBlocks([h.clientId],e,e.length-1,-1);return}}else if(!o.getBlockOrder(h.clientId).length){let ie=function(){let Q=(0,be.getDefaultBlockName)();return o.canInsertBlockType(Q,s)?(0,be.createBlock)(Q):(0,be.createBlock)(o.getBlockName(h.clientId))};var B=ie;let re=x[y].length;if(h.offset===0&&re){r.insertBlocks([ie()],o.getBlockIndex(h.clientId),s,!1);return}if(h.offset===re){r.insertBlocks([ie()],o.getBlockIndex(h.clientId)+1,s);return}}}let I=g.attributes[y],P=b.attributes[S],E=(0,dt.create)({html:I}),L=(0,dt.create)({html:P});E=(0,dt.remove)(E,h.offset,E.text.length),L=(0,dt.remove)(L,0,p.offset);let T={...g,innerBlocks:g.clientId===b.clientId?[]:g.innerBlocks,attributes:{...g.attributes,[y]:(0,dt.toHTMLString)({value:E})}},O={...b,clientId:g.clientId===b.clientId?(0,be.createBlock)(b.name).clientId:b.clientId,attributes:{...b.attributes,[S]:(0,dt.toHTMLString)({value:L})}},V=(0,be.getDefaultBlockName)();if(g.clientId===b.clientId&&V&&O.name!==V&&o.canInsertBlockType(V,s)){let ie=(0,be.switchToBlockType)(O,V);ie?.length===1&&(O=ie[0])}if(!e.length){r.replaceBlocks(o.getSelectedBlockClientIds(),[T,O]);return}let U,G=[],j=[...e],z=j.shift(),W=(0,be.getBlockType)(T.name),ee=W.merge&&z.name===W.name?[z]:(0,be.switchToBlockType)(z,W.name);if(ee?.length){let ie=ee.shift();T={...T,attributes:{...T.attributes,...W.merge(T.attributes,ie.attributes)}},G.push(T),U={clientId:T.clientId,attributeKey:y,offset:(0,dt.create)({html:T.attributes[y]}).text.length},j.unshift(...ee)}else(0,be.isUnmodifiedBlock)(T)||G.push(T),G.push(z);let se=j.pop(),ce=(0,be.getBlockType)(O.name);if(j.length&&G.push(...j),se){let ie=ce.merge&&ce.name===se.name?[se]:(0,be.switchToBlockType)(se,ce.name);if(ie?.length){let re=ie.pop();G.push({...O,attributes:{...O.attributes,...ce.merge(re.attributes,O.attributes)}}),G.push(...ie),U={clientId:O.clientId,attributeKey:S,offset:(0,dt.create)({html:re.attributes[S]}).text.length}}else G.push(se),(0,be.isUnmodifiedBlock)(O)||G.push(O)}else(0,be.isUnmodifiedBlock)(O)||G.push(O);t.batch(()=>{r.replaceBlocks(o.getSelectedBlockClientIds(),G,G.length-1,0),U&&r.selectionChange(U.clientId,U.attributeKey,U.offset,U.offset)})},ake=()=>({select:e,dispatch:t})=>{let o=e.getSelectionStart(),r=e.getSelectionEnd();t.selectionChange({start:{clientId:o.clientId},end:{clientId:r.clientId}})},lke=(e,t)=>({registry:o,select:r,dispatch:n})=>{let i=e,s=t,a=r.getBlock(i),c=(0,be.getBlockType)(a.name);if(!c||r.getBlockEditingMode(i)==="disabled"||r.getBlockEditingMode(s)==="disabled")return;let u=r.getBlock(s);if(!c.merge&&(0,be.getBlockSupport)(a.name,"__experimentalOnMerge")){let x=(0,be.switchToBlockType)(u,c.name);if(x?.length!==1){n.selectBlock(a.clientId);return}let[C]=x;if(C.innerBlocks.length<1){n.selectBlock(a.clientId);return}o.batch(()=>{n.insertBlocks(C.innerBlocks,void 0,i),n.removeBlock(s),n.selectBlock(C.innerBlocks[0].clientId);let B=r.getNextBlockClientId(i);if(B&&r.getBlockName(i)===r.getBlockName(B)){let I=r.getBlockAttributes(i),P=r.getBlockAttributes(B);Object.keys(I).every(E=>I[E]===P[E])&&(n.moveBlocksToPosition(r.getBlockOrder(B),B,i),n.removeBlock(B,!1))}});return}if((0,be.isUnmodifiedDefaultBlock)(a)){n.removeBlock(i,r.isBlockSelected(i));return}if((0,be.isUnmodifiedDefaultBlock)(u)){n.removeBlock(s,r.isBlockSelected(s));return}if(!c.merge){(0,be.isUnmodifiedBlock)(u,"content")?n.removeBlock(s,r.isBlockSelected(s)):n.selectBlock(a.clientId);return}let d=(0,be.getBlockType)(u.name),{clientId:f,attributeKey:m,offset:h}=r.getSelectionStart(),g=(f===i?c:d).attributes[m],b=(f===i||f===s)&&m!==void 0&&h!==void 0&&!!g;g||(typeof m=="number"?window.console.error(`RichText needs an identifier prop that is the block attribute key of the attribute it controls. Its type is expected to be a string, but was ${typeof m}`):window.console.error("The RichText identifier prop does not match any attributes defined by the block."));let v=(0,be.cloneBlock)(a),k=(0,be.cloneBlock)(u);if(b){let x=f===i?v:k,C=x.attributes[m],B=(0,dt.insert)((0,dt.create)({html:C}),wl,h,h);x.attributes[m]=(0,dt.toHTMLString)({value:B})}let y=a.name===u.name?[k]:(0,be.switchToBlockType)(k,a.name);if(!y||!y.length)return;let S=c.merge(v.attributes,y[0].attributes);if(b){let x=Av(S),C=S[x],B=(0,dt.create)({html:C}),I=B.text.indexOf(wl),P=(0,dt.remove)(B,I,I+1),E=(0,dt.toHTMLString)({value:P});S[x]=E,n.selectionChange(a.clientId,x,I,I)}n.replaceBlocks([a.clientId,u.clientId],[{...a,attributes:{...a.attributes,...S}},...y.slice(1)],0)},Qj=(e,t=!0)=>rM(e,t);function cke(e,t){return Qj([e],t)}function uke(e,t,o=!1,r=0){return{type:"REPLACE_INNER_BLOCKS",rootClientId:e,blocks:t,updateSelection:o,initialPosition:o?r:null,time:Date.now()}}function dke(e){return{type:"TOGGLE_BLOCK_MODE",clientId:e}}function fke(){return{type:"START_TYPING"}}function mke(){return{type:"STOP_TYPING"}}function pke(e=[]){return{type:"START_DRAGGING_BLOCKS",clientIds:e}}function hke(){return{type:"STOP_DRAGGING_BLOCKS"}}function gke(){return(0,mu.default)('wp.data.dispatch( "core/block-editor" ).enterFormattedText',{since:"6.1",version:"6.3"}),{type:"DO_NOTHING"}}function bke(){return(0,mu.default)('wp.data.dispatch( "core/block-editor" ).exitFormattedText',{since:"6.1",version:"6.3"}),{type:"DO_NOTHING"}}function kke(e,t,o,r){return typeof e=="string"?{type:"SELECTION_CHANGE",clientId:e,attributeKey:t,startOffset:o,endOffset:r}:{type:"SELECTION_CHANGE",...e}}var vke=(e,t,o)=>({dispatch:r})=>{let n=(0,be.getDefaultBlockName)();if(!n)return;let i=(0,be.createBlock)(n,e);return r.insertBlock(i,o,t)};function yke(e,t){return{type:"UPDATE_BLOCK_LIST_SETTINGS",clientId:e,settings:t}}function Ske(e){return oM(e,{stripExperimentalSettings:!0})}function _ke(e,t){return{type:"SAVE_REUSABLE_BLOCK_SUCCESS",id:e,updatedId:t}}function xke(){return{type:"MARK_LAST_CHANGE_AS_PERSISTENT"}}function wke(){return{type:"MARK_NEXT_CHANGE_AS_NOT_PERSISTENT"}}var Cke=()=>({dispatch:e})=>{e({type:"MARK_AUTOMATIC_CHANGE"});let{requestIdleCallback:t=o=>setTimeout(o,100)}=window;t(()=>{e({type:"MARK_AUTOMATIC_CHANGE_FINAL"})})},Bke=e=>({registry:t})=>{t.dispatch($j.store).set("core","editorTool",e),e==="navigation"?(0,Rw.speak)((0,fu.__)("You are currently in Write mode.")):e==="edit"&&(0,Rw.speak)((0,fu.__)("You are currently in Design mode."))};function Eke(){return(0,mu.default)('wp.data.dispatch( "core/block-editor" ).setBlockMovingClientId',{since:"6.7",hint:"Block moving mode feature has been removed"}),{type:"DO_NOTHING"}}var Tke=(e,t=!0)=>({select:o,dispatch:r})=>{if(!e||!e.length)return;let n=o.getBlocksByClientId(e);if(n.some(d=>!d)||n.map(d=>d.name).some(d=>!(0,be.hasBlockSupport)(d,"multiple",!0)))return;let s=o.getBlockRootClientId(e[0]),a=Xp(e),c=o.getBlockIndex(a[a.length-1]),u=n.map(d=>(0,be.__experimentalCloneSanitizedBlock)(d));return r.insertBlocks(u,c+1,s,t),u.length>1&&t&&r.multiSelect(u[0].clientId,u[u.length-1].clientId),u.map(d=>d.clientId)},Ike=e=>({select:t,dispatch:o})=>{if(!e)return;let r=t.getBlockRootClientId(e);if(t.getTemplateLock(r))return;let i=t.getBlockIndex(e),s=r?t.getDirectInsertBlock(r):null;if(!s)return o.insertDefaultBlock({},r,i);let a={};if(s.attributesToCopy){let u=t.getBlockAttributes(e);s.attributesToCopy.forEach(d=>{u[d]&&(a[d]=u[d])})}let c=(0,be.createBlock)(s.name,{...s.attributes,...a});return o.insertBlock(c,i,r)},Pke=e=>({select:t,dispatch:o})=>{if(!e)return;let r=t.getBlockRootClientId(e);if(t.getTemplateLock(r))return;let i=t.getBlockIndex(e),s=r?t.getDirectInsertBlock(r):null;if(!s)return o.insertDefaultBlock({},r,i+1);let a={};if(s.attributesToCopy){let u=t.getBlockAttributes(e);s.attributesToCopy.forEach(d=>{u[d]&&(a[d]=u[d])})}let c=(0,be.createBlock)(s.name,{...s.attributes,...a});return o.insertBlock(c,i+1,r)};function sM(e,t){return{type:"TOGGLE_BLOCK_HIGHLIGHT",clientId:e,isHighlighted:t}}var Rke=(e,t=150)=>async({dispatch:o})=>{o(sM(e,!0)),await new Promise(r=>setTimeout(r,t)),o(sM(e,!1))};function Oke(e,t){return{type:"SET_HAS_CONTROLLED_INNER_BLOCKS",hasControlledInnerBlocks:t,clientId:e}}function Ake(e){return{type:"SET_BLOCK_VISIBILITY",updates:e}}function Lke(e){return(0,mu.default)("wp.data.dispatch( 'core/block-editor' ).__unstableSetTemporarilyEditingAsBlocks",{since:"7.0"}),nM(e)}var Nke=e=>({select:t,dispatch:o})=>{if(!e||typeof e!="object"){console.error("Category should be an `InserterMediaCategory` object.");return}if(!e.name){console.error("Category should have a `name` that should be unique among all media categories.");return}if(!e.labels?.name){console.error("Category should have a `labels.name`.");return}if(!["image","audio","video"].includes(e.mediaType)){console.error("Category should have `mediaType` property that is one of `image|audio|video`.");return}if(!e.fetch||typeof e.fetch!="function"){console.error("Category should have a `fetch` function defined with the following signature `(InserterMediaRequest) => Promise`.");return}let r=t.getRegisteredInserterMediaCategories();if(r.some(({name:n})=>n===e.name)){console.error(`A category is already registered with the same name: "${e.name}".`);return}if(r.some(({labels:{name:n}={}})=>n===e.labels?.name)){console.error(`A category is already registered with the same labels.name: "${e.labels.name}".`);return}o({type:"REGISTER_INSERTER_MEDIA_CATEGORY",category:{...e,isExternalResource:!0}})};function Mke(e="",t){return{type:"SET_BLOCK_EDITING_MODE",clientId:e,mode:t}}function Dke(e=""){return{type:"UNSET_BLOCK_EDITING_MODE",clientId:e}}function Vke(e){return{type:"SET_OPEN_LIST_VIEW_PANEL",clientId:e}}function Fke(){return{type:"SET_ALL_LIST_VIEW_PANELS_OPEN"}}function zke(e,t){return{type:"TOGGLE_LIST_VIEW_PANEL",clientId:e,isOpen:t}}function jke(){return{type:"INCREMENT_LIST_VIEW_EXPAND_REVISION"}}var Qp={reducer:Z6,selectors:tM,actions:aM},_=(0,Ow.createReduxStore)(Kt,{...Qp,persist:["preferences"]}),Jj=(0,Ow.registerStore)(Kt,{...Qp,persist:["preferences"]});M(Jj).registerPrivateActions(Pw);M(Jj).registerPrivateSelectors(Cw);M(_).registerPrivateActions(Pw);M(_).registerPrivateSelectors(Cw);var Jp=l(A(),1),eU=l(N(),1);var Ss=l(w(),1);function Uke({className:e,actions:t,children:o,secondaryActions:r}){return(0,Ss.jsx)("div",{style:{display:"contents",all:"initial"},children:(0,Ss.jsx)("div",{className:D(e,"block-editor-warning"),children:(0,Ss.jsxs)("div",{className:"block-editor-warning__contents",children:[(0,Ss.jsx)("p",{className:"block-editor-warning__message",children:o}),(t?.length>0||r)&&(0,Ss.jsxs)("div",{className:"block-editor-warning__actions",children:[t?.length>0&&t.map((n,i)=>(0,Ss.jsx)("span",{className:"block-editor-warning__action",children:n},i)),r&&(0,Ss.jsx)(Jp.DropdownMenu,{className:"block-editor-warning__secondary",icon:ks,label:(0,eU.__)("More options"),popoverProps:{placement:"bottom-end",className:"block-editor-warning__dropdown"},noIcons:!0,children:()=>(0,Ss.jsx)(Jp.MenuGroup,{children:r.map((n,i)=>(0,Ss.jsx)(Jp.MenuItem,{onClick:n.onClick,children:n.title},i))})})]})]})})})}var pu=Uke;var eh=l(w(),1);function rU({originalBlockClientId:e,name:t,onReplace:o}){let{selectBlock:r}=(0,oU.useDispatch)(_),n=(0,tU.getBlockType)(t);return(0,eh.jsxs)(pu,{actions:[(0,eh.jsx)(lM.Button,{__next40pxDefaultSize:!0,variant:"secondary",onClick:()=>r(e),children:(0,Aw.__)("Find original")},"find-original"),(0,eh.jsx)(lM.Button,{__next40pxDefaultSize:!0,variant:"secondary",onClick:()=>o([]),children:(0,Aw.__)("Remove")},"remove")],children:[(0,eh.jsxs)("strong",{children:[n?.title,": "]}),(0,Aw.__)("This block can only be used once.")]})}var Lv=l(w(),1);function Mw({mayDisplayControls:e,mayDisplayParentControls:t,mayDisplayPatternEditingControls:o,blockEditingMode:r,isPreviewMode:n,...i}){let{name:s,isSelected:a,clientId:c,attributes:u={},__unstableLayoutClassNames:d}=i,{layout:f=null,metadata:m={}}=u,{bindings:h}=m,p=(0,Lw.hasBlockSupport)(s,"layout",!1)||(0,Lw.hasBlockSupport)(s,"__experimentalLayout",!1),b=!!Ie()[Uk]||(0,Lw.hasBlockSupport)(s,"listView")||s==="core/navigation",{originalBlockClientId:v}=(0,Nw.useContext)(ur);return(0,Lv.jsxs)(c0,{value:(0,Nw.useMemo)(()=>({name:s,isSelected:a,clientId:c,layout:p?f:null,__unstableLayoutClassNames:d,[bs]:e,[Pp]:t,[$c]:o&&r!=="disabled",[a0]:r,[Rp]:h,[l0]:n,[Uk]:b}),[s,a,c,p,f,d,e,t,o,r,h,n,b]),children:[(0,Lv.jsx)(V6,{...i}),v&&(0,Lv.jsx)(rU,{originalBlockClientId:v,name:s,onReplace:i.onReplace})]})}function me(...e){let{clientId:t=null}=Ie();return(0,nU.useSelect)(o=>M(o(_)).getBlockSettings(t,...e),[t,...e])}function sU(e){(0,iU.default)("wp.blockEditor.useSetting",{since:"6.5",alternative:"wp.blockEditor.useSettings",note:"The new useSettings function can retrieve multiple settings at once, with better performance."});let[t]=me(e);return t}var Vw=l(w(),1),{kebabCase:Hke}=M(lU.privateApis),aU=([e,...t])=>e.toUpperCase()+t.join(""),Gke=e=>(0,zf.createHigherOrderComponent)(t=>function(r){return(0,Vw.jsx)(t,{...r,colors:e})},"withCustomColorPalette"),Wke=()=>(0,zf.createHigherOrderComponent)(e=>function(o){let[r,n,i]=me("color.palette.custom","color.palette.theme","color.palette.default"),s=(0,Dw.useMemo)(()=>[...r||[],...n||[],...i||[]],[r,n,i]);return(0,Vw.jsx)(e,{...o,colors:s})},"withEditorColorPalette");function cU(e,t){let o=e.reduce((r,n)=>({...r,...typeof n=="string"?{[n]:Hke(n)}:n}),{});return(0,zf.compose)([t,r=>class extends Dw.Component{constructor(i){super(i),this.setters=this.createSetters(),this.colorUtils={getMostReadableColor:this.getMostReadableColor.bind(this)},this.state={}}getMostReadableColor(i){let{colors:s}=this.props;return T6(s,i)}createSetters(){return Object.keys(o).reduce((i,s)=>{let a=aU(s),c=`custom${a}`;return i[`set${a}`]=this.createSetColor(s,c),i},{})}createSetColor(i,s){return a=>{let c=d0(this.props.colors,a);this.props.setAttributes({[i]:c&&c.slug?c.slug:void 0,[s]:c&&c.slug?void 0:a})}}static getDerivedStateFromProps({attributes:i,colors:s},a){return Object.entries(o).reduce((c,[u,d])=>{let f=da(s,i[u],i[`custom${aU(u)}`]),m=a[u];return m?.color===f.color&&m?c[u]=m:c[u]={...f,class:Si(d,f.slug)},c},{})}render(){return(0,Vw.jsx)(r,{...this.props,colors:void 0,...this.state,...this.setters,colorUtils:this.colorUtils})}}])}function uU(e){return(...t)=>{let o=Gke(e);return(0,zf.createHigherOrderComponent)(cU(t,o),"withCustomColors")}}function dU(...e){let t=Wke();return(0,zf.createHigherOrderComponent)(cU(e,t),"withColors")}var Fw=l(R(),1),zw=l(F(),1);function th(e){if(e)return`has-${e}-gradient-background`}function jw(e,t){let o=e?.find(r=>r.slug===t);return o&&o.gradient}function fU(e,t){return e?.find(r=>r.gradient===t)}function mU(e,t){let o=fU(e,t);return o&&o.slug}function $ke({gradientAttribute:e="gradient",customGradientAttribute:t="customGradient"}={}){let{clientId:o}=Ie(),[r,n,i]=me("color.gradients.custom","color.gradients.theme","color.gradients.default"),s=(0,Fw.useMemo)(()=>[...r||[],...n||[],...i||[]],[r,n,i]),{gradient:a,customGradient:c}=(0,zw.useSelect)(h=>{let{getBlockAttributes:p}=h(_),g=p(o)||{};return{customGradient:g[t],gradient:g[e]}},[o,e,t]),{updateBlockAttributes:u}=(0,zw.useDispatch)(_),d=(0,Fw.useCallback)(h=>{let p=mU(s,h);if(p){u(o,{[e]:p,[t]:void 0});return}u(o,{[e]:void 0,[t]:h})},[s,o,u]),f=th(a),m;return a?m=jw(s,a):m=c,{gradientClass:f,gradientValue:m,setGradient:d}}var pU=l(A(),1);var{kebabCase:Kke}=M(pU.privateApis),oh=(e,t,o)=>{if(t){let r=e?.find(({slug:n})=>n===t);if(r)return r}return{size:o}};function cM(e,t){let o=e?.find(({size:r})=>r===t);return o||{size:t}}function hu(e){if(e)return`has-${Kke(e)}-font-size`}var Yke="1600px",qke="320px",Zke=1,Xke=.25,Qke=.75,Jke="14px";function hU({minimumFontSize:e,maximumFontSize:t,fontSize:o,minimumViewportWidth:r=qke,maximumViewportWidth:n=Yke,scaleFactor:i=Zke,minimumFontSizeLimit:s}){if(s=gu(s)?s:Jke,o){let y=gu(o);if(!y?.unit)return null;let S=gu(s,{coerceTo:y.unit});if(S?.value&&!e&&!t&&y?.value<=S?.value)return null;if(t||(t=`${y.value}${y.unit}`),!e){let x=y.unit==="px"?y.value:y.value*16,C=Math.min(Math.max(1-.075*Math.log2(x),Xke),Qke),B=Nv(y.value*C,3);S?.value&&Be.toUpperCase()+t.join(""),yU=(...e)=>{let t=e.reduce((o,r)=>(o[r]=`custom${kU(r)}`,o),{});return(0,Mv.createHigherOrderComponent)((0,Mv.compose)([(0,Mv.createHigherOrderComponent)(o=>function(n){let[i]=me("typography.fontSizes");return(0,dM.jsx)(o,{...n,fontSizes:i||tve})},"withFontSizes"),o=>class extends vU.Component{constructor(n){super(n),this.setters=this.createSetters(),this.state={}}createSetters(){return Object.entries(t).reduce((n,[i,s])=>{let a=kU(i);return n[`set${a}`]=this.createSetFontSize(i,s),n},{})}createSetFontSize(n,i){return s=>{let a=this.props.fontSizes?.find(({size:c})=>c===Number(s));this.props.setAttributes({[n]:a&&a.slug?a.slug:void 0,[i]:a&&a.slug?void 0:s})}}static getDerivedStateFromProps({attributes:n,fontSizes:i},s){let a=(u,d)=>s[d]?n[d]?n[d]!==s[d].slug:s[d].size!==n[u]:!0;if(!Object.values(t).some(a))return null;let c=Object.entries(t).filter(([u,d])=>a(d,u)).reduce((u,[d,f])=>{let m=n[d],h=oh(i,m,n[f]);return u[d]={...h,class:hu(m)},u},{});return{...s,...c}}render(){return(0,dM.jsx)(o,{...this.props,fontSizes:void 0,...this.state,...this.setters})}}]),"withFontSizes")};var bu=l(N(),1),Uw=l(A(),1);var SU=l(w(),1),ove=[{icon:Jc,title:(0,bu.__)("Align text left"),align:"left"},{icon:Sf,title:(0,bu.__)("Align text center"),align:"center"},{icon:eu,title:(0,bu.__)("Align text right"),align:"right"}],rve={placement:"bottom-start"};function nve({value:e,onChange:t,alignmentControls:o=ove,label:r=(0,bu.__)("Align text"),description:n=(0,bu.__)("Change text alignment"),isCollapsed:i=!0,isToolbar:s}){function a(m){return()=>t(e===m?void 0:m)}let c=o.find(m=>m.align===e);function u(){return c?c.icon:(0,bu.isRTL)()?eu:Jc}let d=s?Uw.ToolbarGroup:Uw.ToolbarDropdownMenu,f=s?{isCollapsed:i}:{toggleProps:{description:n},popoverProps:rve};return(0,SU.jsx)(d,{icon:u(),label:r,controls:o.map(m=>{let{align:h}=m;return{...m,isActive:e===h,role:i?"menuitemradio":void 0,onClick:a(h)}}),...f})}var fM=nve;var mM=l(w(),1),Hw=e=>(0,mM.jsx)(fM,{...e,isToolbar:!1}),_U=e=>(0,mM.jsx)(fM,{...e,isToolbar:!0});var Zw=l(ct(),1),Xw=l(A(),1),GU=l(R(),1),Qw=l($(),1);var NU=l(F(),1),vu=l($(),1),kM=l(R(),1);var RU=l(BU(),1);var pM=function(e,t){return pM=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,r){o.__proto__=r}||function(o,r){for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(o[n]=r[n])},pM(e,t)};function EU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");pM(e,t);function o(){this.constructor=e}e.prototype=t===null?Object.create(t):(o.prototype=t.prototype,new o)}var Fo=function(){return Fo=Object.assign||function(t){for(var o,r=1,n=arguments.length;re.name||"",fve=e=>e.title,mve=e=>e.description||"",pve=e=>e.keywords||[],hve=e=>e.category,gve=()=>null,bve=[/([\p{Ll}\p{Lo}\p{N}])([\p{Lu}\p{Lt}])/gu,/([\p{Lu}\p{Lt}])([\p{Lu}\p{Lt}][\p{Ll}\p{Lo}])/gu],kve=new RegExp("(\\p{C}|\\p{P}|\\p{S})+","giu"),hM=new Map,gM=new Map;function Ww(e=""){if(hM.has(e))return hM.get(e);let t=PU(e,{splitRegexp:bve,stripRegexp:kve}).split(" ").filter(Boolean);return hM.set(e,t),t}function Dv(e=""){if(gM.has(e))return gM.get(e);let t=(0,RU.default)(e);return t=t.replace(/^\//,""),t=t.toLowerCase(),gM.set(e,t),t}var Vv=(e="")=>Ww(Dv(e)),vve=(e,t)=>e.filter(o=>!Vv(t).some(r=>r.includes(o))),$w=(e,t,o,r)=>Vv(r).length===0?e:Fv(e,r,{getCategory:s=>t.find(({slug:a})=>a===s.category)?.title,getCollection:s=>o[s.name.split("/")[0]]?.title}),Fv=(e=[],t="",o={})=>{if(Vv(t).length===0)return e;let n=e.map(i=>[i,yve(i,t,o)]).filter(([,i])=>i>0);return n.sort(([,i],[,s])=>s-i),n.map(([i])=>i)};function yve(e,t,o={}){let{getName:r=dve,getTitle:n=fve,getDescription:i=mve,getKeywords:s=pve,getCategory:a=hve,getCollection:c=gve}=o,u=r(e),d=n(e),f=i(e),m=s(e),h=a(e),p=c(e),g=Dv(t),b=Dv(d),v=0;if(g===b)v+=30;else if(b.startsWith(g))v+=20;else{let k=[u,d,f,...m,h,p].join(" "),y=Ww(g);vve(y,k).length===0&&(v+=10)}if(v!==0&&u.startsWith("core/")){let k=u!==e.id;v+=k?1:2}return v}var pa=l($(),1),rh=l(F(),1),Kw=l(R(),1),OU=l(Ii(),1),Yw=l(N(),1);var Sve=(e,t,o)=>{let r=(0,Kw.useMemo)(()=>({[uu]:!!o}),[o]),[n]=(0,rh.useSelect)(d=>[d(_).getInserterItems(e,r)],[e,r]),{getClosestAllowedInsertionPoint:i}=M((0,rh.useSelect)(_)),{createErrorNotice:s}=(0,rh.useDispatch)(OU.store),[a,c]=(0,rh.useSelect)(d=>{let{getCategories:f,getCollections:m}=d(pa.store);return[f(),m()]},[]),u=(0,Kw.useCallback)(({name:d,initialAttributes:f,innerBlocks:m,syncStatus:h,content:p},g)=>{let b=i(d,e);if(b===null){let k=(0,pa.getBlockType)(d)?.title??d;s((0,Yw.sprintf)((0,Yw.__)(`Block "%s" can't be inserted.`),k),{type:"snackbar",id:"inserter-notice"});return}let v=h==="unsynced"?(0,pa.parse)(p,{__unstableSkipMigrationLogs:!0}):(0,pa.createBlock)(d,f,(0,pa.createBlocksFromInnerBlocksTemplate)(m));t(v,void 0,g,b)},[i,e,t,s]);return[n,a,c,u]},ku=Sve;var AU=l(A(),1);var LU=l(R(),1),bM=l(w(),1);function _ve({icon:e,showColors:t=!1,className:o,context:r}){e?.src==="block-default"&&(e={src:Qk});let n=(0,bM.jsx)(AU.Icon,{icon:e&&e.src?e.src:e,context:r}),i=t?{backgroundColor:e&&e.background,color:e&&e.foreground}:{};return(0,bM.jsx)("span",{style:i,className:D("block-editor-block-icon",o,{"has-colors":t}),children:n})}var Ae=(0,LU.memo)(_ve);var qw=(e,t)=>(t&&e.sort(({id:o},{id:r})=>{let n=t.indexOf(o),i=t.indexOf(r);return n<0&&(n=t.length),i<0&&(i=t.length),n-i}),e);var nh=l(w(),1),xve=()=>{},wve=9;function Cve(){return{name:"blocks",className:"block-editor-autocompleters__block",triggerPrefix:"/",useItems(e){let{rootClientId:t,selectedBlockId:o,prioritizedBlocks:r}=(0,NU.useSelect)(u=>{let{getSelectedBlockClientId:d,getBlock:f,getBlockListSettings:m,getBlockRootClientId:h}=u(_),{getActiveBlockVariation:p}=u(vu.store),g=d(),{name:b,attributes:v}=f(g),k=p(b,v),y=h(g);return{selectedBlockId:k?`${b}/${k.name}`:b,rootClientId:y,prioritizedBlocks:m(y)?.prioritizedInserterBlocks}},[]),[n,i,s]=ku(t,xve,!0),a=(0,kM.useMemo)(()=>(e.trim()?$w(n,i,s,e):qw(ma(n,"frecency","desc"),r)).filter(d=>d.id!==o).slice(0,wve),[e,o,n,i,s,r]);return[(0,kM.useMemo)(()=>a.map(u=>{let{title:d,icon:f,isDisabled:m}=u;return{key:`block-${u.id}`,value:u,label:(0,nh.jsxs)(nh.Fragment,{children:[(0,nh.jsx)(Ae,{icon:f,showColors:!0},"icon"),d]}),isDisabled:m}}),[a])]},allowContext(e,t){return!(/\S/.test(e)||/\S/.test(t))},getOptionCompletion(e){let{name:t,initialAttributes:o,innerBlocks:r,syncStatus:n,blocks:i}=e;return{action:"replace",value:n==="unsynced"?(i??[]).map(s=>(0,vu.cloneBlock)(s)):(0,vu.createBlock)(t,o,(0,vu.createBlocksFromInnerBlocksTemplate)(r))}}}}var MU=Cve();var zU=l(VU(),1),jU=l(dn(),1);var UU=l(vM(),1),jf=l(w(),1),Bve=10;function Eve(){return{name:"links",className:"block-editor-autocompleters__link",triggerPrefix:"[[",options:async e=>{let t=await(0,zU.default)({path:(0,jU.addQueryArgs)("/wp/v2/search",{per_page:Bve,search:e,type:"post",order_by:"menu_order"})});return t=t.filter(o=>o.title!==""),t},getOptionKeywords(e){return[...e.title.split(/\s+/)]},getOptionLabel(e){return(0,jf.jsxs)(jf.Fragment,{children:[(0,jf.jsx)(we,{icon:e.subtype==="page"?kl:$L},"icon"),(0,UU.decodeEntities)(e.title)]})},getOptionCompletion(e){return(0,jf.jsx)("a",{href:e.url,children:e.title})}}}var HU=Eve();var WU=l(w(),1),Tve=[];function $U({completers:e=Tve}){let{name:t}=Ie();return(0,GU.useMemo)(()=>{let o=[...e,HU];return(t===(0,Qw.getDefaultBlockName)()||(0,Qw.getBlockSupport)(t,"__experimentalSlashInserter",!1))&&(o=[...o,MU]),(0,Zw.hasFilter)("editor.Autocomplete.completers")&&(o===e&&(o=o.map(r=>({...r}))),o=(0,Zw.applyFilters)("editor.Autocomplete.completers",o,t)),o},[e,t])}function KU(e){return(0,Xw.__unstableUseAutocompleteProps)({...e,completers:$U(e)})}function Ive(e){return(0,WU.jsx)(Xw.Autocomplete,{...e,completers:$U(e)})}var YU=Ive;var wM=l(N(),1),xu=l(A(),1);var pH=l(F(),1);var nC=l(R(),1);var Pi=l(N(),1);var mn=l(A(),1);var ih=l(N(),1);var Un={default:{name:"default",slug:"flow",className:"is-layout-flow",baseStyles:[{selector:" > .alignleft",rules:{float:"left","margin-inline-start":"0","margin-inline-end":"2em"}},{selector:" > .alignright",rules:{float:"right","margin-inline-start":"2em","margin-inline-end":"0"}},{selector:" > .aligncenter",rules:{"margin-left":"auto !important","margin-right":"auto !important"}}],spacingStyles:[{selector:" > :first-child",rules:{"margin-block-start":"0"}},{selector:" > :last-child",rules:{"margin-block-end":"0"}},{selector:" > *",rules:{"margin-block-start":null,"margin-block-end":"0"}}]},constrained:{name:"constrained",slug:"constrained",className:"is-layout-constrained",baseStyles:[{selector:" > .alignleft",rules:{float:"left","margin-inline-start":"0","margin-inline-end":"2em"}},{selector:" > .alignright",rules:{float:"right","margin-inline-start":"2em","margin-inline-end":"0"}},{selector:" > .aligncenter",rules:{"margin-left":"auto !important","margin-right":"auto !important"}},{selector:" > :where(:not(.alignleft):not(.alignright):not(.alignfull))",rules:{"max-width":"var(--wp--style--global--content-size)","margin-left":"auto !important","margin-right":"auto !important"}},{selector:" > .alignwide",rules:{"max-width":"var(--wp--style--global--wide-size)"}}],spacingStyles:[{selector:" > :first-child",rules:{"margin-block-start":"0"}},{selector:" > :last-child",rules:{"margin-block-end":"0"}},{selector:" > *",rules:{"margin-block-start":null,"margin-block-end":"0"}}]},flex:{name:"flex",slug:"flex",className:"is-layout-flex",displayMode:"flex",baseStyles:[{selector:"",rules:{"flex-wrap":"wrap","align-items":"center"}},{selector:" > :is(*, div)",rules:{margin:"0"}}],spacingStyles:[{selector:"",rules:{gap:null}}]},grid:{name:"grid",slug:"grid",className:"is-layout-grid",displayMode:"grid",baseStyles:[{selector:" > :is(*, div)",rules:{margin:"0"}}],spacingStyles:[{selector:"",rules:{gap:null}}]}};function Hn(e,t=""){return e.split(",").map(o=>`${o}${t?` ${t}`:""}`).join(",")}function yu(e,t=Un,o,r){let n="";return t?.[o]?.spacingStyles?.length&&r&&t[o].spacingStyles.forEach(i=>{n+=`${Hn(e,i.selector.trim())} { `,n+=Object.entries(i.rules).map(([s,a])=>`${s}: ${a||r}`).join("; "),n+="; }"}),n}function Jw(e){let{contentSize:t,wideSize:o,type:r="default"}=e,n={},i=/^(?!0)\d+(px|em|rem|vw|vh|%|svw|lvw|dvw|svh|lvh|dvh|vi|svi|lvi|dvi|vb|svb|lvb|dvb|vmin|svmin|lvmin|dvmin|vmax|svmax|lvmax|dvmax)?$/i;return i.test(t)&&r==="constrained"&&(n.none=(0,ih.sprintf)((0,ih.__)("Max %s wide"),t)),i.test(o)&&(n.wide=(0,ih.sprintf)((0,ih.__)("Max %s wide"),o)),n}var _s=l(N(),1);var qU=8,Su=["top","right","bottom","left"],ZU={top:void 0,right:void 0,bottom:void 0,left:void 0},eC={custom:sw,axial:sw,horizontal:sN,vertical:uN,top:cN,right:lN,bottom:iN,left:aN},ha={default:(0,_s.__)("Spacing control"),top:(0,_s.__)("Top"),bottom:(0,_s.__)("Bottom"),left:(0,_s.__)("Left"),right:(0,_s.__)("Right"),mixed:(0,_s.__)("Mixed"),vertical:(0,_s.__)("Vertical"),horizontal:(0,_s.__)("Horizontal"),axial:(0,_s.__)("Horizontal & vertical"),custom:(0,_s.__)("Custom")},Cl={axial:"axial",top:"top",right:"right",bottom:"bottom",left:"left",custom:"custom"};function tC(e){return e?.includes?e==="0"||e.includes("var:preset|spacing|"):!1}function XU(e,t){if(!tC(e))return e;let o=Pve(e);return t.find(n=>String(n.slug)===o)?.size}function sh(e,t){if(!e||tC(e)||e==="0")return e;let o=t.find(r=>String(r.size)===String(e));return o?.slug?`var:preset|spacing|${o.slug}`:e}function zv(e){if(!e)return;let t=e.match(/var:preset\|spacing\|(.+)/);return t?`var(--wp--preset--spacing--${t[1]})`:e}function Pve(e){if(!e)return;if(e==="0"||e==="default")return e;let t=e.match(/var:preset\|spacing\|(.+)/);return t?t[1]:void 0}function yM(e,t){if(!e||!e.length)return!1;let o=e.includes("horizontal")||e.includes("left")&&e.includes("right"),r=e.includes("vertical")||e.includes("top")&&e.includes("bottom");return t==="horizontal"?o:t==="vertical"?r:o||r}function Rve(e=[]){let t={top:0,right:0,bottom:0,left:0};return e.forEach(o=>t[o]+=1),(t.top+t.bottom)%2===0&&(t.left+t.right)%2===0}function QU(e={},t){let{top:o,right:r,bottom:n,left:i}=e,s=[o,r,n,i].filter(Boolean),a=o===n&&i===r&&(!!o||!!i),c=!s.length&&Rve(t),u=t?.includes("horizontal")&&t?.includes("vertical")&&t?.length===2;if(yM(t)&&(a||c))return Cl.axial;if(u&&s.length===1){let d;return Object.entries(e).some(([f,m])=>(d=f,m!==void 0)),d}return t?.length===1&&!s.length?t[0]:Cl.custom}function Ove(e){if(!e)return null;let t=typeof e=="string";return{top:t?e:e?.top,left:t?e:e?.left}}function mr(e,t="0"){let o=Ove(e);if(!o)return null;let r=zv(o?.top)||t,n=zv(o?.left)||t;return r===n?r:`${r} ${n}`}var oo=l(w(),1),Ave={left:"flex-start",right:"flex-end",center:"center","space-between":"space-between"},JU={left:"flex-start",right:"flex-end",center:"center",stretch:"stretch"},Lve={top:"flex-start",center:"center",bottom:"flex-end",stretch:"stretch","space-between":"space-between"},eH={horizontal:"center",vertical:"top"},Nve=["wrap","nowrap"],oH={name:"flex",label:(0,Pi.__)("Flex"),inspectorControls:function({layout:t={},onChange:o,layoutBlockSupport:r={}}){let{allowOrientation:n=!0,allowJustification:i=!0,allowWrap:s=!0}=r;return(0,oo.jsxs)(oo.Fragment,{children:[(0,oo.jsxs)(mn.Flex,{children:[i&&(0,oo.jsx)(mn.FlexItem,{children:(0,oo.jsx)(tH,{layout:t,onChange:o})}),n&&(0,oo.jsx)(mn.FlexItem,{children:(0,oo.jsx)(Fve,{layout:t,onChange:o})})]}),s&&(0,oo.jsx)(Vve,{layout:t,onChange:o})]})},toolBarControls:function({layout:t={},onChange:o,layoutBlockSupport:r}){let{allowVerticalAlignment:n=!0,allowJustification:i=!0}=r;return!i&&!n?null:(0,oo.jsxs)(Mt,{group:"block",__experimentalShareWithChildBlocks:!0,children:[i&&(0,oo.jsx)(tH,{layout:t,onChange:o,isToolbar:!0}),n&&(0,oo.jsx)(Mve,{layout:t,onChange:o})]})},getLayoutStyle:function({selector:t,layout:o,style:r,blockName:n,hasBlockGapSupport:i,globalBlockGapValue:s,layoutDefinitions:a=Un}){let{orientation:c="horizontal"}=o,u="0.5em";if(s){let k=mr(s,"0.5em").split(" ");u=k.length>1?k[1]:k[0]}let d=r?.spacing?.blockGap&&!Ue(n,"spacing","blockGap")?mr(r?.spacing?.blockGap,u):void 0,f=Ave[o.justifyContent],m=Nve.includes(o.flexWrap)?o.flexWrap:"wrap",h=Lve[o.verticalAlignment],p=JU[o.justifyContent]||JU.left,g="",b=[];return m&&m!=="wrap"&&b.push(`flex-wrap: ${m}`),c==="horizontal"?(h&&b.push(`align-items: ${h}`),f&&b.push(`justify-content: ${f}`)):(h&&b.push(`justify-content: ${h}`),b.push("flex-direction: column"),b.push(`align-items: ${p}`)),b.length&&(g=`${Hn(t)} { ${b.join("; ")}; - }`),i&&d&&(g+=yu(t,a,"flex",d)),g},getOrientation(e){let{orientation:t="horizontal"}=e;return t},getAlignments(){return[]}};function Dve({layout:e,onChange:t}){let{orientation:o="horizontal"}=e,r=o==="horizontal"?eH.horizontal:eH.vertical,{verticalAlignment:n=r}=e;return(0,oo.jsx)(oC,{onChange:s=>{t({...e,verticalAlignment:s})},value:n,controls:o==="horizontal"?["top","center","bottom","stretch"]:["top","center","bottom","space-between"]})}var Vve={placement:"bottom-start"};function tH({layout:e,onChange:t,isToolbar:o=!1}){let{justifyContent:r="left",orientation:n="horizontal"}=e,i=c=>{t({...e,justifyContent:c})},s=["left","center","right"];if(n==="horizontal"?s.push("space-between"):s.push("stretch"),o)return(0,oo.jsx)(ah,{allowedControls:s,value:r,onChange:i,popoverProps:Vve});let a=[{value:"left",icon:ru,label:(0,Pi.__)("Justify items left")},{value:"center",icon:ou,label:(0,Pi.__)("Justify items center")},{value:"right",icon:nu,label:(0,Pi.__)("Justify items right")}];return n==="horizontal"?a.push({value:"space-between",icon:Fp,label:(0,Pi.__)("Space between items")}):a.push({value:"stretch",icon:zp,label:(0,Pi.__)("Stretch items")}),(0,oo.jsx)(mn.__experimentalToggleGroupControl,{__next40pxDefaultSize:!0,label:(0,Pi.__)("Justification"),value:r,onChange:i,className:"block-editor-hooks__flex-layout-justification-controls",children:a.map(({value:c,icon:u,label:d})=>(0,oo.jsx)(mn.__experimentalToggleGroupControlOptionIcon,{value:c,icon:u,label:d},c))})}function Fve({layout:e,onChange:t}){let{flexWrap:o="wrap"}=e;return(0,oo.jsx)(mn.ToggleControl,{label:(0,Pi.__)("Allow to wrap to multiple lines"),onChange:r=>{t({...e,flexWrap:r?"wrap":"nowrap"})},checked:o==="wrap"})}function zve({layout:e,onChange:t}){let{orientation:o="horizontal",verticalAlignment:r,justifyContent:n}=e;return(0,oo.jsxs)(mn.__experimentalToggleGroupControl,{__next40pxDefaultSize:!0,className:"block-editor-hooks__flex-layout-orientation-controls",label:(0,Pi.__)("Orientation"),value:o,onChange:i=>{let s=r,a=n;return i==="horizontal"?(r==="space-between"&&(s="center"),n==="stretch"&&(a="left")):(r==="stretch"&&(s="top"),n==="space-between"&&(a="left")),t({...e,orientation:i,verticalAlignment:s,justifyContent:a})},children:[(0,oo.jsx)(mn.__experimentalToggleGroupControlOptionIcon,{icon:Xk,value:"horizontal",label:(0,Pi.__)("Horizontal")}),(0,oo.jsx)(mn.__experimentalToggleGroupControlOptionIcon,{icon:NO,value:"vertical",label:(0,Pi.__)("Vertical")})]})}var rH=l(N(),1);var nH={name:"default",label:(0,rH.__)("Flow"),inspectorControls:function(){return null},toolBarControls:function(){return null},getLayoutStyle:function({selector:t,style:o,blockName:r,hasBlockGapSupport:n,layoutDefinitions:i=Un}){let s=mr(o?.spacing?.blockGap),a="";Ue(r,"spacing","blockGap")||(s?.top?a=mr(s?.top):typeof s=="string"&&(a=mr(s)));let c="";return n&&a&&(c+=yu(t,i,"default",a)),c},getOrientation(){return"vertical"},getAlignments(e,t){let o=Jw(e);if(e.alignments!==void 0)return e.alignments.includes("none")||e.alignments.unshift("none"),e.alignments.map(n=>({name:n,info:o[n]}));let r=[{name:"left"},{name:"center"},{name:"right"}];if(!t){let{contentSize:n,wideSize:i}=e;n&&r.unshift({name:"full"}),i&&r.unshift({name:"wide",info:o.wide})}return r.unshift({name:"none",info:o.none}),r}};var pn=l(A(),1),Bl=l(N(),1);var sH=l(jv(),1);var Qo=l(w(),1),aH={name:"constrained",label:(0,Bl.__)("Constrained"),inspectorControls:function({layout:t,onChange:o,layoutBlockSupport:r={}}){let{wideSize:n,contentSize:i,justifyContent:s="center"}=t,{allowJustification:a=!0,allowCustomContentAndWideSize:c=!0}=r,u=h=>{o({...t,justifyContent:h})},d=[{value:"left",icon:ru,label:(0,Bl.__)("Justify items left")},{value:"center",icon:ou,label:(0,Bl.__)("Justify items center")},{value:"right",icon:nu,label:(0,Bl.__)("Justify items right")}],[f]=me("spacing.units"),m=(0,pn.__experimentalUseCustomUnits)({availableUnits:f||["%","px","em","rem","vw"]});return(0,Qo.jsxs)(pn.__experimentalVStack,{spacing:4,className:"block-editor-hooks__layout-constrained",children:[c&&(0,Qo.jsxs)(Qo.Fragment,{children:[(0,Qo.jsx)(pn.__experimentalUnitControl,{__next40pxDefaultSize:!0,label:(0,Bl.__)("Content width"),labelPosition:"top",value:i||n||"",onChange:h=>{h=0>parseFloat(h)?"0":h,o({...t,contentSize:h!==""?h:void 0})},units:m,prefix:(0,Qo.jsx)(pn.__experimentalInputControlPrefixWrapper,{variant:"icon",children:(0,Qo.jsx)(we,{icon:_f})})}),(0,Qo.jsx)(pn.__experimentalUnitControl,{__next40pxDefaultSize:!0,label:(0,Bl.__)("Wide width"),labelPosition:"top",value:n||i||"",onChange:h=>{h=0>parseFloat(h)?"0":h,o({...t,wideSize:h!==""?h:void 0})},units:m,prefix:(0,Qo.jsx)(pn.__experimentalInputControlPrefixWrapper,{variant:"icon",children:(0,Qo.jsx)(we,{icon:Lf})})}),(0,Qo.jsx)("p",{className:"block-editor-hooks__layout-constrained-helptext",children:(0,Bl.__)("Customize the width for all elements that are assigned to the center or wide columns.")})]}),a&&(0,Qo.jsx)(pn.__experimentalToggleGroupControl,{__next40pxDefaultSize:!0,label:(0,Bl.__)("Justification"),value:s,onChange:u,children:d.map(({value:h,icon:p,label:g})=>(0,Qo.jsx)(pn.__experimentalToggleGroupControlOptionIcon,{value:h,icon:p,label:g},h))})]})},toolBarControls:function({layout:t={},onChange:o,layoutBlockSupport:r}){let{allowJustification:n=!0}=r;return n?(0,Qo.jsx)(Mt,{group:"block",__experimentalShareWithChildBlocks:!0,children:(0,Qo.jsx)(Uve,{layout:t,onChange:o})}):null},getLayoutStyle:function({selector:t,layout:o={},style:r,blockName:n,hasBlockGapSupport:i,layoutDefinitions:s=Un}){let{contentSize:a,wideSize:c,justifyContent:u}=o,d=mr(r?.spacing?.blockGap),f="";Ue(n,"spacing","blockGap")||(d?.top?f=mr(d?.top):typeof d=="string"&&(f=mr(d)));let m=u==="left"?"0 !important":"auto !important",h=u==="right"?"0 !important":"auto !important",p=a||c?` + }`),i&&d&&(g+=yu(t,a,"flex",d)),g},getOrientation(e){let{orientation:t="horizontal"}=e;return t},getAlignments(){return[]}};function Mve({layout:e,onChange:t}){let{orientation:o="horizontal"}=e,r=o==="horizontal"?eH.horizontal:eH.vertical,{verticalAlignment:n=r}=e;return(0,oo.jsx)(oC,{onChange:s=>{t({...e,verticalAlignment:s})},value:n,controls:o==="horizontal"?["top","center","bottom","stretch"]:["top","center","bottom","space-between"]})}var Dve={placement:"bottom-start"};function tH({layout:e,onChange:t,isToolbar:o=!1}){let{justifyContent:r="left",orientation:n="horizontal"}=e,i=c=>{t({...e,justifyContent:c})},s=["left","center","right"];if(n==="horizontal"?s.push("space-between"):s.push("stretch"),o)return(0,oo.jsx)(ah,{allowedControls:s,value:r,onChange:i,popoverProps:Dve});let a=[{value:"left",icon:ru,label:(0,Pi.__)("Justify items left")},{value:"center",icon:ou,label:(0,Pi.__)("Justify items center")},{value:"right",icon:nu,label:(0,Pi.__)("Justify items right")}];return n==="horizontal"?a.push({value:"space-between",icon:Fp,label:(0,Pi.__)("Space between items")}):a.push({value:"stretch",icon:zp,label:(0,Pi.__)("Stretch items")}),(0,oo.jsx)(mn.__experimentalToggleGroupControl,{__next40pxDefaultSize:!0,label:(0,Pi.__)("Justification"),value:r,onChange:i,className:"block-editor-hooks__flex-layout-justification-controls",children:a.map(({value:c,icon:u,label:d})=>(0,oo.jsx)(mn.__experimentalToggleGroupControlOptionIcon,{value:c,icon:u,label:d},c))})}function Vve({layout:e,onChange:t}){let{flexWrap:o="wrap"}=e;return(0,oo.jsx)(mn.ToggleControl,{label:(0,Pi.__)("Allow to wrap to multiple lines"),onChange:r=>{t({...e,flexWrap:r?"wrap":"nowrap"})},checked:o==="wrap"})}function Fve({layout:e,onChange:t}){let{orientation:o="horizontal",verticalAlignment:r,justifyContent:n}=e;return(0,oo.jsxs)(mn.__experimentalToggleGroupControl,{__next40pxDefaultSize:!0,className:"block-editor-hooks__flex-layout-orientation-controls",label:(0,Pi.__)("Orientation"),value:o,onChange:i=>{let s=r,a=n;return i==="horizontal"?(r==="space-between"&&(s="center"),n==="stretch"&&(a="left")):(r==="stretch"&&(s="top"),n==="space-between"&&(a="left")),t({...e,orientation:i,verticalAlignment:s,justifyContent:a})},children:[(0,oo.jsx)(mn.__experimentalToggleGroupControlOptionIcon,{icon:Xk,value:"horizontal",label:(0,Pi.__)("Horizontal")}),(0,oo.jsx)(mn.__experimentalToggleGroupControlOptionIcon,{icon:NO,value:"vertical",label:(0,Pi.__)("Vertical")})]})}var rH=l(N(),1);var nH={name:"default",label:(0,rH.__)("Flow"),inspectorControls:function(){return null},toolBarControls:function(){return null},getLayoutStyle:function({selector:t,style:o,blockName:r,hasBlockGapSupport:n,layoutDefinitions:i=Un}){let s=mr(o?.spacing?.blockGap),a="";Ue(r,"spacing","blockGap")||(s?.top?a=mr(s?.top):typeof s=="string"&&(a=mr(s)));let c="";return n&&a&&(c+=yu(t,i,"default",a)),c},getOrientation(){return"vertical"},getAlignments(e,t){let o=Jw(e);if(e.alignments!==void 0)return e.alignments.includes("none")||e.alignments.unshift("none"),e.alignments.map(n=>({name:n,info:o[n]}));let r=[{name:"left"},{name:"center"},{name:"right"}];if(!t){let{contentSize:n,wideSize:i}=e;n&&r.unshift({name:"full"}),i&&r.unshift({name:"wide",info:o.wide})}return r.unshift({name:"none",info:o.none}),r}};var pn=l(A(),1),Bl=l(N(),1);var sH=l(jv(),1);var Qo=l(w(),1),aH={name:"constrained",label:(0,Bl.__)("Constrained"),inspectorControls:function({layout:t,onChange:o,layoutBlockSupport:r={}}){let{wideSize:n,contentSize:i,justifyContent:s="center"}=t,{allowJustification:a=!0,allowCustomContentAndWideSize:c=!0}=r,u=h=>{o({...t,justifyContent:h})},d=[{value:"left",icon:ru,label:(0,Bl.__)("Justify items left")},{value:"center",icon:ou,label:(0,Bl.__)("Justify items center")},{value:"right",icon:nu,label:(0,Bl.__)("Justify items right")}],[f]=me("spacing.units"),m=(0,pn.__experimentalUseCustomUnits)({availableUnits:f||["%","px","em","rem","vw"]});return(0,Qo.jsxs)(pn.__experimentalVStack,{spacing:4,className:"block-editor-hooks__layout-constrained",children:[c&&(0,Qo.jsxs)(Qo.Fragment,{children:[(0,Qo.jsx)(pn.__experimentalUnitControl,{__next40pxDefaultSize:!0,label:(0,Bl.__)("Content width"),labelPosition:"top",value:i||n||"",onChange:h=>{h=0>parseFloat(h)?"0":h,o({...t,contentSize:h!==""?h:void 0})},units:m,prefix:(0,Qo.jsx)(pn.__experimentalInputControlPrefixWrapper,{variant:"icon",children:(0,Qo.jsx)(we,{icon:_f})})}),(0,Qo.jsx)(pn.__experimentalUnitControl,{__next40pxDefaultSize:!0,label:(0,Bl.__)("Wide width"),labelPosition:"top",value:n||i||"",onChange:h=>{h=0>parseFloat(h)?"0":h,o({...t,wideSize:h!==""?h:void 0})},units:m,prefix:(0,Qo.jsx)(pn.__experimentalInputControlPrefixWrapper,{variant:"icon",children:(0,Qo.jsx)(we,{icon:Lf})})}),(0,Qo.jsx)("p",{className:"block-editor-hooks__layout-constrained-helptext",children:(0,Bl.__)("Customize the width for all elements that are assigned to the center or wide columns.")})]}),a&&(0,Qo.jsx)(pn.__experimentalToggleGroupControl,{__next40pxDefaultSize:!0,label:(0,Bl.__)("Justification"),value:s,onChange:u,children:d.map(({value:h,icon:p,label:g})=>(0,Qo.jsx)(pn.__experimentalToggleGroupControlOptionIcon,{value:h,icon:p,label:g},h))})]})},toolBarControls:function({layout:t={},onChange:o,layoutBlockSupport:r}){let{allowJustification:n=!0}=r;return n?(0,Qo.jsx)(Mt,{group:"block",__experimentalShareWithChildBlocks:!0,children:(0,Qo.jsx)(jve,{layout:t,onChange:o})}):null},getLayoutStyle:function({selector:t,layout:o={},style:r,blockName:n,hasBlockGapSupport:i,layoutDefinitions:s=Un}){let{contentSize:a,wideSize:c,justifyContent:u}=o,d=mr(r?.spacing?.blockGap),f="";Ue(n,"spacing","blockGap")||(d?.top?f=mr(d?.top):typeof d=="string"&&(f=mr(d)));let m=u==="left"?"0 !important":"auto !important",h=u==="right"?"0 !important":"auto !important",p=a||c?` ${Hn(t,"> :where(:not(.alignleft):not(.alignright):not(.alignfull))")} { max-width: ${a??c}; margin-left: ${m}; @@ -45,10 +45,10 @@ ${Hn(t,"> .alignfull")} { margin-left: calc(${v} * -1); } - `}}),i&&f&&(p+=yu(t,s,"constrained",f)),p},getOrientation(){return"vertical"},getAlignments(e){let t=Jw(e);if(e.alignments!==void 0)return e.alignments.includes("none")||e.alignments.unshift("none"),e.alignments.map(i=>({name:i,info:t[i]}));let{contentSize:o,wideSize:r}=e,n=[{name:"left"},{name:"center"},{name:"right"}];return o&&n.unshift({name:"full"}),r&&n.unshift({name:"wide",info:t.wide}),n.unshift({name:"none",info:t.none}),n}},jve={placement:"bottom-start"};function Uve({layout:e,onChange:t}){let{justifyContent:o="center"}=e;return(0,Qo.jsx)(ah,{allowedControls:["left","center","right"],value:o,onChange:i=>{t({...e,justifyContent:i})},popoverProps:jve})}var Fr=l(N(),1),rt=l(A(),1),rC=l(R(),1);var Ye=l(w(),1),Hve={px:600,"%":100,vw:100,vh:100,em:38,rem:38,svw:100,lvw:100,dvw:100,svh:100,lvh:100,dvh:100,vi:100,svi:100,lvi:100,dvi:100,vb:100,svb:100,lvb:100,dvb:100,vmin:100,svmin:100,lvmin:100,dvmin:100,vmax:100,svmax:100,lvmax:100,dvmax:100},Gve=[{value:"px",label:"px",default:0},{value:"rem",label:"rem",default:0},{value:"em",label:"em",default:0}],lH={name:"grid",label:(0,Fr.__)("Grid"),inspectorControls:function({layout:t={},onChange:o,layoutBlockSupport:r={}}){let{allowSizingOnChildren:n=!1}=r,i=!0,s=!t?.isManualPlacement||window.__experimentalEnableGridInteractivity;return(0,Ye.jsxs)(Ye.Fragment,{children:[window.__experimentalEnableGridInteractivity&&(0,Ye.jsx)(Kve,{layout:t,onChange:o}),(0,Ye.jsxs)(rt.__experimentalVStack,{spacing:4,children:[i&&(0,Ye.jsx)($ve,{layout:t,onChange:o,allowSizingOnChildren:n}),s&&(0,Ye.jsx)(Wve,{layout:t,onChange:o})]})]})},toolBarControls:function(){return null},getLayoutStyle:function({selector:t,layout:o,style:r,blockName:n,hasBlockGapSupport:i,globalBlockGapValue:s,layoutDefinitions:a=Un}){let{minimumColumnWidth:c=null,columnCount:u=null,rowCount:d=null}=o,f="1.2rem";if(s){let b=mr(s,"0.5em").split(" ");f=b.length>1?b[1]:b[0]}let m=r?.spacing?.blockGap&&!Ue(n,"spacing","blockGap")?mr(r?.spacing?.blockGap,f):void 0,h="",p=[];if(c&&u>0){let g=m||f;(g==="0"||g===0)&&(g="0px");let b=`max(min( ${c}, 100%), ( 100% - (${g}*${u-1}) ) / ${u})`;p.push(`grid-template-columns: repeat(auto-fill, minmax(${b}, 1fr))`,"container-type: inline-size"),d&&p.push(`grid-template-rows: repeat(${d}, minmax(1rem, auto))`)}else u?(p.push(`grid-template-columns: repeat(${u}, minmax(0, 1fr))`),d&&p.push(`grid-template-rows: repeat(${d}, minmax(1rem, auto))`)):p.push(`grid-template-columns: repeat(auto-fill, minmax(min(${c||"12rem"}, 100%), 1fr))`,"container-type: inline-size");return p.length&&(h=`${Hn(t)} { ${p.join("; ")}; }`),i&&m&&(h+=yu(t,a,"grid",m)),h},getOrientation(){return"horizontal"},getAlignments(){return[]}};function Wve({layout:e,onChange:t}){let{minimumColumnWidth:o,columnCount:r,isManualPlacement:n}=e,s=o||(n||r?null:"12rem"),[a,c="rem"]=(0,rt.__experimentalParseQuantityAndUnitFromRawValue)(s),u=f=>{t({...e,minimumColumnWidth:[f,c].join("")})},d=f=>{let m;["em","rem"].includes(f)&&c==="px"?m=(a/16).toFixed(2)+f:["em","rem"].includes(c)&&f==="px"&&(m=Math.round(a*16)+f),t({...e,minimumColumnWidth:m})};return(0,Ye.jsxs)("fieldset",{className:"block-editor-hooks__grid-layout-minimum-width-control",children:[(0,Ye.jsx)(rt.BaseControl.VisualLabel,{as:"legend",children:(0,Fr.__)("Min. column width")}),(0,Ye.jsxs)(rt.Flex,{gap:4,children:[(0,Ye.jsx)(rt.FlexItem,{isBlock:!0,children:(0,Ye.jsx)(rt.__experimentalUnitControl,{size:"__unstable-large",onChange:f=>{t({...e,minimumColumnWidth:f===""?void 0:f})},onUnitChange:d,value:s,units:Gve,min:0,label:(0,Fr.__)("Minimum column width"),hideLabelFromVision:!0})}),(0,Ye.jsx)(rt.FlexItem,{isBlock:!0,children:(0,Ye.jsx)(rt.RangeControl,{__next40pxDefaultSize:!0,onChange:u,value:a||0,min:0,max:Hve[c]||600,withInputField:!1,label:(0,Fr.__)("Minimum column width"),hideLabelFromVision:!0})})]}),(0,Ye.jsx)("p",{className:"components-base-control__help",children:(0,Fr.__)("Columns will wrap to fewer per row when they can no longer maintain the minimum width.")})]})}function $ve({layout:e,onChange:t,allowSizingOnChildren:o}){let{columnCount:n=void 0,rowCount:i,isManualPlacement:s}=e;return(0,Ye.jsx)(Ye.Fragment,{children:(0,Ye.jsxs)("fieldset",{className:"block-editor-hooks__grid-layout-columns-and-rows-controls",children:[!s&&(0,Ye.jsx)(rt.BaseControl.VisualLabel,{as:"legend",children:(0,Fr.__)("Max. columns")}),(0,Ye.jsxs)(rt.Flex,{gap:4,children:[(0,Ye.jsx)(rt.FlexItem,{isBlock:!0,children:(0,Ye.jsx)(rt.__experimentalNumberControl,{size:"__unstable-large",onChange:a=>{let u=a===""||a==="0"?s?1:void 0:parseInt(a,10);t({...e,columnCount:u})},value:n,min:1,label:(0,Fr.__)("Columns"),hideLabelFromVision:!s})}),(0,Ye.jsx)(rt.FlexItem,{isBlock:!0,children:o&&s?(0,Ye.jsx)(rt.__experimentalNumberControl,{size:"__unstable-large",onChange:a=>{let c=a===""||a==="0"?1:parseInt(a,10);t({...e,rowCount:c})},value:i,min:1,label:(0,Fr.__)("Rows")}):(0,Ye.jsx)(rt.RangeControl,{__next40pxDefaultSize:!0,value:n??1,onChange:a=>t({...e,columnCount:a===""||a==="0"?1:a}),min:1,max:16,withInputField:!1,label:(0,Fr.__)("Columns"),hideLabelFromVision:!0})})]})]})})}function Kve({layout:e,onChange:t}){let{columnCount:o,rowCount:r,minimumColumnWidth:n,isManualPlacement:i}=e,[s,a]=(0,rC.useState)(o||3),[c,u]=(0,rC.useState)(r),[d,f]=(0,rC.useState)(n||"12rem"),m=i?"manual":"auto",h=g=>{g==="manual"?f(n||"12rem"):(a(o||3),u(r)),t({...e,columnCount:s,rowCount:g==="manual"?c:void 0,isManualPlacement:g==="manual"?!0:void 0,minimumColumnWidth:g==="auto"?d:null})},p=m==="manual"?(0,Fr.__)("Grid items can be manually placed in any position on the grid."):(0,Fr.__)("Grid items are placed automatically depending on their order.");return(0,Ye.jsxs)(rt.__experimentalToggleGroupControl,{__next40pxDefaultSize:!0,label:(0,Fr.__)("Grid item position"),value:m,onChange:h,isBlock:!0,help:p,children:[(0,Ye.jsx)(rt.__experimentalToggleGroupControlOption,{value:"auto",label:(0,Fr.__)("Auto")},"auto"),(0,Ye.jsx)(rt.__experimentalToggleGroupControlOption,{value:"manual",label:(0,Fr.__)("Manual")},"manual")]})}var cH=[nH,oH,aH,lH];function xs(e="default"){return cH.find(t=>t.name===e)}function uH(){return cH}var SM=l(w(),1),_M={type:"default"},xM=(0,nC.createContext)(_M);xM.displayName="BlockLayoutContext";var dH=xM.Provider;function Uf(){return(0,nC.useContext)(xM)}function fH({layout:e={},css:t,...o}){let r=xs(e.type),[n]=me("spacing.blockGap"),i=n!==null;if(r){if(t)return(0,SM.jsx)("style",{children:t});let s=r.getLayoutStyle?.({hasBlockGapSupport:i,layout:e,...o});if(s)return(0,SM.jsx)("style",{children:s})}return null}var iC=[],mH=["none","left","center","right","wide","full"],Yve=["wide","full"];function Uv(e=mH){e.includes("none")||(e=["none",...e]);let t=e.length===1&&e[0]==="none",[o,r,n]=(0,pH.useSelect)(c=>{if(t)return[!1,!1,!1];let u=c(_).getSettings();return[u.alignWide??!1,u.supportsLayout,u.__unstableIsBlockBasedTheme]},[t]),i=Uf();if(t)return iC;let s=xs(i?.type);if(r){let u=s.getAlignments(i,n).filter(d=>e.includes(d.name));return u.length===1&&u[0].name==="none"?iC:u}if(s.name!=="default"&&s.name!=="constrained")return iC;let a=e.filter(c=>i.alignments?i.alignments.includes(c):!o&&Yve.includes(c)?!1:mH.includes(c)).map(c=>({name:c}));return a.length===1&&a[0].name==="none"?iC:a}var _u=l(N(),1);var Hv={none:{icon:_f,title:(0,_u._x)("None","Alignment option")},left:{icon:VL,title:(0,_u.__)("Align left")},center:{icon:ML,title:(0,_u.__)("Align center")},right:{icon:zL,title:(0,_u.__)("Align right")},wide:{icon:Lf,title:(0,_u.__)("Wide width")},full:{icon:Sv,title:(0,_u.__)("Full width")}},hH="none";var Hf=l(w(),1);function qve({value:e,onChange:t,controls:o,isToolbar:r,isCollapsed:n=!0}){let i=Uv(o);if(!!!i.length)return null;function a(h){t([e,"none"].includes(h)?void 0:h)}let c=Hv[e],u=Hv[hH],d=r?xu.ToolbarGroup:xu.ToolbarDropdownMenu,f={icon:c?c.icon:u.icon,label:(0,wM.__)("Align")},m=r?{isCollapsed:n,controls:i.map(({name:h})=>({...Hv[h],isActive:e===h||!e&&h==="none",role:n?"menuitemradio":void 0,onClick:()=>a(h)}))}:{toggleProps:{description:(0,wM.__)("Change alignment")},children:({onClose:h})=>(0,Hf.jsx)(Hf.Fragment,{children:(0,Hf.jsx)(xu.MenuGroup,{className:"block-editor-block-alignment-control__menu-group",children:i.map(({name:p,info:g})=>{let{icon:b,title:v}=Hv[p],k=p===e||!e&&p==="none";return(0,Hf.jsx)(xu.MenuItem,{icon:b,iconPosition:"left",className:D("components-dropdown-menu__menu-item",{"is-active":k}),isSelected:k,onClick:()=>{a(p),h()},role:"menuitemradio",info:g,children:v},p)})})})};return(0,Hf.jsx)(d,{...f,...m})}var CM=qve;var BM=l(w(),1),sC=e=>(0,BM.jsx)(CM,{...e,isToolbar:!1}),gH=e=>(0,BM.jsx)(CM,{...e,isToolbar:!0});var SH=l(yf(),1),uC=l(N(),1),dC=l($(),1),Cs=l(A(),1),IM=l(F(),1),_H=l(R(),1),xH=l(Z(),1);var TM=l(yf(),1),bH=l($(),1),kH=l(A(),1),vH=l(F(),1),lC=l(R(),1),yH=l(Z(),1);var aC=l(F(),1);function EM(e){return!e||Object.keys(e).length===0}function El(e){let{clientId:t}=Ie(),o=e||t,{updateBlockAttributes:r}=(0,aC.useDispatch)(_),{getBlockAttributes:n}=(0,aC.useRegistry)().select(_);return{updateBlockBindings:a=>{let{metadata:{bindings:c,...u}={}}=n(o),d={...c};Object.entries(a).forEach(([m,h])=>{if(!h&&d[m]){delete d[m];return}d[m]=h});let f={...u,bindings:d};EM(f.bindings)&&delete f.bindings,r(o,{metadata:EM(f)?void 0:f})},removeAllBlockBindings:()=>{let{metadata:{bindings:a,...c}={}}=n(o);r(o,{metadata:EM(c)?void 0:c})}}}var ws=l(w(),1),{Menu:wu}=M(kH.privateApis);function Zve({args:e,attribute:t,field:o,source:r,sourceKey:n}){let i=(0,lC.useMemo)(()=>({source:n,args:o.args||{key:o.key}}),[o.args,o.key,n]),s=(0,lC.useContext)(xr),a=(0,vH.useSelect)(u=>r.getValues({select:u,context:s,bindings:{[t]:i}}),[t,s,i,r]),{updateBlockBindings:c}=El();return(0,ws.jsxs)(wu.CheckboxItem,{onChange:()=>{let u=(0,TM.default)(e,o.args)??o.key===e?.key;c(u?{[t]:void 0}:{[t]:i})},name:t+"-binding",value:a[t],checked:(0,TM.default)(e,o.args)??o.key===e?.key,children:[(0,ws.jsx)(wu.ItemLabel,{children:o.label}),(0,ws.jsx)(wu.ItemHelpText,{children:a[t]})]})}function Gv({args:e,attribute:t,sourceKey:o,fields:r}){let n=(0,yH.useViewportMatch)("medium","<");if(!r||r.length===0)return null;let i=(0,bH.getBlockBindingsSource)(o);return(0,ws.jsxs)(wu,{placement:n?"bottom-start":"left-start",children:[(0,ws.jsx)(wu.SubmenuTriggerItem,{children:(0,ws.jsx)(wu.ItemLabel,{children:i.label})}),(0,ws.jsx)(wu.Popover,{gutter:8,children:(0,ws.jsx)(wu.Group,{children:r.map(s=>(0,ws.jsx)(Zve,{args:e,attribute:t,field:s,source:i,sourceKey:o},o+JSON.stringify(s.args)||s.key))})})]},o)}var Ri=l(w(),1),{Menu:cC}=M(Cs.privateApis);function Wv({attribute:e,binding:t,blockName:o}){let{updateBlockBindings:r}=El(),n=(0,xH.useViewportMatch)("medium","<"),i=(0,_H.useContext)(xr),s=(0,IM.useSelect)(g=>{let{getAllBlockBindingsSources:b,getBlockBindingsSourceFieldsList:v,getBlockType:k}=M(g(dC.store)),y=k(o).attributes?.[e];if(y?.enum)return{};let S=y?.type==="rich-text"?"string":y?.type,x={};return Object.entries(b()).forEach(([C,B])=>{let I=v(B,i);if(!I?.length)return;let P=I.filter(E=>E.type===S);P.length&&(x[C]=P)}),x},[e,o,i]),{canUpdateBlockBindings:a}=(0,IM.useSelect)(g=>({canUpdateBlockBindings:g(_).getSettings().canUpdateBlockBindings})),c=Object.keys(s).length>0,u=!a||!c,{source:d,args:f}=t||{},m=(0,dC.getBlockBindingsSource)(d),h,p=!0;return t===void 0?(c?h=(0,uC.__)("Not connected"):h=(0,uC.__)("No sources available"),p=!0):m?h=s?.[d]?.find(g=>(0,SH.default)(g.args,f))?.label||m?.label||d:(p=!1,h=(0,uC.__)("Source not registered")),(0,Ri.jsx)(Cs.__experimentalToolsPanelItem,{hasValue:()=>!!t,label:e,onDeselect:!!c&&(()=>{r({[e]:void 0})}),children:(0,Ri.jsxs)(cC,{placement:n?"bottom-start":"left-start",children:[(0,Ri.jsx)(cC.TriggerButton,{render:(0,Ri.jsx)(Cs.__experimentalItem,{}),disabled:!c,children:(0,Ri.jsxs)(Cs.__experimentalVStack,{className:"block-editor-bindings__item",spacing:0,children:[(0,Ri.jsx)(Cs.__experimentalText,{truncate:!0,children:e}),(0,Ri.jsx)(Cs.__experimentalText,{truncate:!0,variant:p?"muted":void 0,isDestructive:!p,children:h})]})}),!u&&(0,Ri.jsx)(cC.Popover,{gutter:n?8:36,children:(0,Ri.jsx)(cC,{placement:n?"bottom-start":"left-start",children:Object.entries(s).map(([g,b])=>(0,Ri.jsx)(Gv,{args:t?.args,attribute:e,sourceKey:g,fields:b},g))})})]})})}var wH=l(N(),1),CH=l(A(),1);var BH=l(w(),1);function Xve({isActive:e,label:t=(0,wH.__)("Full height"),onToggle:o,isDisabled:r}){return(0,BH.jsx)(CH.ToolbarButton,{isActive:e,icon:AA,label:t,onClick:()=>o(!e),disabled:r})}var EH=Xve;var IH=l(N(),1),PH=l(nt(),1),Gf=l(A(),1),$v=l(w(),1),Qve=()=>{};function Jve(e){let{label:t=(0,IH.__)("Change matrix alignment"),onChange:o=Qve,value:r="center",isDisabled:n}=e,i=(0,$v.jsx)(Gf.AlignmentMatrixControl.Icon,{value:r});return(0,$v.jsx)(Gf.Dropdown,{popoverProps:{placement:"bottom-start"},renderToggle:({onToggle:s,isOpen:a})=>(0,$v.jsx)(Gf.ToolbarButton,{onClick:s,"aria-haspopup":"true","aria-expanded":a,onKeyDown:u=>{!a&&u.keyCode===PH.DOWN&&(u.preventDefault(),s())},label:t,icon:i,showTooltip:!0,disabled:n}),renderContent:()=>(0,$v.jsx)(Gf.AlignmentMatrixControl,{onChange:o,value:r})})}var RH=Jve;var OM=l(A(),1),pC=l(F(),1),hC=l(N(),1);var VH=l(R(),1);var OH=l(F(),1),fC=l($(),1);function zr({clientId:e,maximumLength:t,context:o}){let r=(0,OH.useSelect)(n=>{if(!e)return null;let{getBlockName:i,getBlockAttributes:s}=n(_),{getBlockType:a,getActiveBlockVariation:c}=n(fC.store),u=i(e),d=a(u);if(!d)return null;let f=s(e),m=(0,fC.__experimentalGetBlockLabel)(d,f,o);return m!==d.title?m:c(u,f)?.title||d.title},[e,o]);return r?t&&t>0&&r.length>t?r.slice(0,t-3)+"...":r:null}function Kv({clientId:e,maximumLength:t,context:o}){return zr({clientId:e,maximumLength:t,context:o})}var Wf=l(R(),1),NH=l(Z(),1);var mC=l(R(),1),PM=l(Z(),1),AH=l(w(),1),Yv=(0,mC.createContext)({refsMap:(0,PM.observableMap)()});Yv.displayName="BlockRefsContext";function LH({children:e}){let t=(0,mC.useMemo)(()=>({refsMap:(0,PM.observableMap)()}),[]);return(0,AH.jsx)(Yv.Provider,{value:t,children:e})}function MH(e){let{refsMap:t}=(0,Wf.useContext)(Yv);return(0,NH.useRefEffect)(o=>(t.set(e,o),()=>t.delete(e)),[e])}function RM(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function $f(e,t){let{refsMap:o}=(0,Wf.useContext)(Yv);(0,Wf.useLayoutEffect)(()=>{RM(t,o.get(e));let r=o.subscribe(e,()=>RM(t,o.get(e)));return()=>{r(),RM(t,null)}},[o,e,t])}function ft(e){let[t,o]=(0,Wf.useState)(null);return $f(e,o),t}function DH(e){if(!e)return null;let t=Array.from(document.querySelectorAll('iframe[name="editor-canvas"]').values()).find(o=>(o.contentDocument||o.contentWindow.document)===e.ownerDocument)??e;return t?.closest('[role="region"]')??t}var Gn=l(w(),1);function eye({rootLabelText:e}){let{selectBlock:t,clearSelectedBlock:o}=(0,pC.useDispatch)(_),{clientId:r,parents:n,hasSelection:i}=(0,pC.useSelect)(c=>{let{getSelectionStart:u,getSelectedBlockClientId:d,getEnabledBlockParents:f}=M(c(_)),m=d();return{parents:f(m),clientId:m,hasSelection:!!u().clientId}},[]),s=e||(0,hC._x)("Document","noun, breadcrumb"),a=(0,VH.useRef)();return $f(r,a),(0,Gn.jsxs)("ul",{className:"block-editor-block-breadcrumb",role:"list","aria-label":(0,hC.__)("Block breadcrumb"),children:[(0,Gn.jsxs)("li",{className:i?void 0:"block-editor-block-breadcrumb__current","aria-current":i?void 0:"true",children:[i&&(0,Gn.jsx)(OM.Button,{size:"small",className:"block-editor-block-breadcrumb__button",onClick:()=>{let c=a.current?.closest(".editor-styles-wrapper");o(),DH(c)?.focus()},children:s}),!i&&(0,Gn.jsx)("span",{children:s}),!!r&&(0,Gn.jsx)(we,{icon:tu,className:"block-editor-block-breadcrumb__separator"})]}),n.map(c=>(0,Gn.jsxs)("li",{children:[(0,Gn.jsx)(OM.Button,{size:"small",className:"block-editor-block-breadcrumb__button",onClick:()=>t(c),children:(0,Gn.jsx)(Kv,{clientId:c,maximumLength:35,context:"breadcrumb"})}),(0,Gn.jsx)(we,{icon:tu,className:"block-editor-block-breadcrumb__separator"})]},c)),!!r&&(0,Gn.jsx)("li",{className:"block-editor-block-breadcrumb__current","aria-current":"true",children:(0,Gn.jsx)(Kv,{clientId:r,maximumLength:35,context:"breadcrumb"})})]})}var FH=eye;var zH=l(F(),1);function jH(e){return(0,zH.useSelect)(t=>{let{__unstableHasActiveBlockOverlayActive:o}=t(_);return o(e)},[e])}var _T=l(Z(),1),ZQ=l(R(),1),XQ=l(F(),1),QQ=l(A(),1);var Gi=l(F(),1),qB=l(Z(),1),td=l(R(),1),sq=l($(),1);var Nu=l(R(),1),He=l($(),1),f9=l(A(),1),a1=l(F(),1),l1=l(Z(),1),m9=l(je(),1);var Tl=l(N(),1),bC=l(A(),1),Kf=l(R(),1),ch=l($(),1),kC=l(F(),1);var ZH=l($H(),1),gC=l(N(),1),XH=l($(),1);var KH=l(A(),1),YH=l(R(),1),qH=l(je(),1),ga=l(w(),1);function LM({title:e,rawContent:t,renderedContent:o,action:r,actionText:n,className:i}){return(0,ga.jsxs)("div",{className:i,children:[(0,ga.jsxs)("div",{className:"block-editor-block-compare__content",children:[(0,ga.jsx)("h2",{className:"block-editor-block-compare__heading",children:e}),(0,ga.jsx)("div",{className:"block-editor-block-compare__html",children:t}),(0,ga.jsx)("div",{className:"block-editor-block-compare__preview edit-post-visual-editor",children:(0,ga.jsx)(YH.RawHTML,{children:(0,qH.safeHTML)(o)})})]}),(0,ga.jsx)("div",{className:"block-editor-block-compare__action",children:(0,ga.jsx)(KH.Button,{__next40pxDefaultSize:!0,variant:"secondary",tabIndex:"0",onClick:r,children:n})})]})}var lh=l(w(),1);function sye({block:e,onKeep:t,onConvert:o,convertor:r,convertButtonText:n}){function i(u,d){return(0,ZH.diffChars)(u,d).map((m,h)=>{let p=D({"block-editor-block-compare__added":m.added,"block-editor-block-compare__removed":m.removed});return(0,lh.jsx)("span",{className:p,children:m.value},h)})}function s(u){return(Array.isArray(u)?u:[u]).map(m=>(0,XH.getSaveContent)(m.name,m.attributes,m.innerBlocks)).join("")}let a=s(r(e)),c=i(e.originalContent,a);return(0,lh.jsxs)("div",{className:"block-editor-block-compare__wrapper",children:[(0,lh.jsx)(LM,{title:(0,gC.__)("Current"),className:"block-editor-block-compare__current",action:t,actionText:(0,gC.__)("Convert to HTML"),rawContent:e.originalContent,renderedContent:e.originalContent}),(0,lh.jsx)(LM,{title:(0,gC.__)("After Conversion"),className:"block-editor-block-compare__converted",action:o,actionText:n,rawContent:c,renderedContent:a})]})}var QH=sye;var Il=l(w(),1),JH=e=>(0,ch.rawHandler)({HTML:e.originalContent});function e8({clientId:e}){let{block:t,canInsertHTMLBlock:o,canInsertClassicBlock:r}=(0,kC.useSelect)(d=>{let{canInsertBlockType:f,getBlock:m,getBlockRootClientId:h}=d(_),p=h(e);return{block:m(e),canInsertHTMLBlock:f("core/html",p),canInsertClassicBlock:f("core/freeform",p)}},[e]),{replaceBlock:n}=(0,kC.useDispatch)(_),[i,s]=(0,Kf.useState)(!1),a=(0,Kf.useCallback)(()=>s(!1),[]),c=(0,Kf.useMemo)(()=>({toClassic(){let d=(0,ch.createBlock)("core/freeform",{content:t.originalContent});return n(t.clientId,d)},toHTML(){let d=(0,ch.createBlock)("core/html",{content:t.originalContent});return n(t.clientId,d)},toBlocks(){let d=JH(t);return n(t.clientId,d)},toRecoveredBlock(){let d=(0,ch.createBlock)(t.name,t.attributes,t.innerBlocks);return n(t.clientId,d)}}),[t,n]),u=(0,Kf.useMemo)(()=>[{title:(0,Tl._x)("Resolve","imperative verb"),onClick:()=>s(!0)},o&&{title:(0,Tl.__)("Convert to HTML"),onClick:c.toHTML},r&&{title:(0,Tl.__)("Convert to Classic Block"),onClick:c.toClassic}].filter(Boolean),[o,r,c]);return(0,Il.jsxs)(Il.Fragment,{children:[(0,Il.jsx)(pu,{actions:[(0,Il.jsx)(bC.Button,{__next40pxDefaultSize:!0,onClick:c.toRecoveredBlock,variant:"primary",children:(0,Tl.__)("Attempt recovery")},"recover")],secondaryActions:u,children:(0,Tl.__)("Block contains unexpected or invalid content.")}),i&&(0,Il.jsx)(bC.Modal,{title:(0,Tl.__)("Resolve Block"),onRequestClose:a,className:"block-editor-block-compare",children:(0,Il.jsx)(QH,{block:t,onKeep:c.toHTML,onConvert:c.toBlocks,convertor:JH,convertButtonText:(0,Tl.__)("Convert to Blocks")})})]})}var t8=l(N(),1);var o8=l(w(),1),aye=(0,o8.jsx)(pu,{className:"block-editor-block-list__block-crash-warning",children:(0,t8.__)("This block has encountered an error and cannot be previewed.")}),r8=()=>aye;var n8=l(R(),1),lye=class extends n8.Component{constructor(){super(...arguments),this.state={hasError:!1}}componentDidCatch(){this.setState({hasError:!0})}render(){return this.state.hasError?this.props.fallback:this.props.children}},i8=lye;var w8=l(DM(),1),_C=l(R(),1),xC=l(F(),1),ba=l($(),1);var C8=l(w(),1);function vye({clientId:e}){let[t,o]=(0,_C.useState)(""),r=(0,xC.useSelect)(s=>s(_).getBlock(e),[e]),{updateBlock:n}=(0,xC.useDispatch)(_),i=()=>{let s=(0,ba.getBlockType)(r.name);if(!s)return;let a=(0,ba.getBlockAttributes)(s,t,r.attributes),c=t||(0,ba.getSaveContent)(s,a),[u]=t?(0,ba.validateBlock)({...r,attributes:a,originalContent:c}):[!0];n(e,{attributes:a,originalContent:c,isValid:u}),t||o(c)};return(0,_C.useEffect)(()=>{o((0,ba.getBlockContent)(r))},[r]),(0,C8.jsx)(w8.default,{className:"block-editor-block-list__block-html-textarea",value:t,onBlur:i,onChange:s=>o(s.target.value)})}var B8=vye;var c9=l(R(),1),i1=l(N(),1),u9=l($(),1),wh=l(Z(),1),d9=l(Xv(),1);var FM=Jv(),Se=e=>Qv(e,FM),zM=Jv();Se.write=e=>Qv(e,zM);var wC=Jv();Se.onStart=e=>Qv(e,wC);var jM=Jv();Se.onFrame=e=>Qv(e,jM);var UM=Jv();Se.onFinish=e=>Qv(e,UM);var uh=[];Se.setTimeout=(e,t)=>{let o=Se.now()+t,r=()=>{let i=uh.findIndex(s=>s.cancel==r);~i&&uh.splice(i,1),Bu-=~i?1:0},n={time:o,handler:e,cancel:r};return uh.splice(T8(o),0,n),Bu+=1,I8(),n};var T8=e=>~(~uh.findIndex(t=>t.time>e)||~uh.length);Se.cancel=e=>{wC.delete(e),jM.delete(e),UM.delete(e),FM.delete(e),zM.delete(e)};Se.sync=e=>{VM=!0,Se.batchedUpdates(e),VM=!1};Se.throttle=e=>{let t;function o(){try{e(...t)}finally{t=null}}function r(...n){t=n,Se.onStart(o)}return r.handler=e,r.cancel=()=>{wC.delete(o),t=null},r};var HM=typeof window<"u"?window.requestAnimationFrame:()=>{};Se.use=e=>HM=e;Se.now=typeof performance<"u"?()=>performance.now():Date.now;Se.batchedUpdates=e=>e();Se.catch=console.error;Se.frameLoop="always";Se.advance=()=>{Se.frameLoop!=="demand"?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):R8()};var Cu=-1,Bu=0,VM=!1;function Qv(e,t){VM?(t.delete(e),e(0)):(t.add(e),I8())}function I8(){Cu<0&&(Cu=0,Se.frameLoop!=="demand"&&HM(P8))}function yye(){Cu=-1}function P8(){~Cu&&(HM(P8),Se.batchedUpdates(R8))}function R8(){let e=Cu;Cu=Se.now();let t=T8(Cu);if(t&&(O8(uh.splice(0,t),o=>o.handler()),Bu-=t),!Bu){yye();return}wC.flush(),FM.flush(e?Math.min(64,Cu-e):16.667),jM.flush(),zM.flush(),UM.flush()}function Jv(){let e=new Set,t=e;return{add(o){Bu+=t==e&&!e.has(o)?1:0,e.add(o)},delete(o){return Bu-=t==e&&e.has(o)?1:0,e.delete(o)},flush(o){t.size&&(e=new Set,Bu-=t.size,O8(t,r=>r(o)&&e.add(r)),Bu+=e.size,t=e)}}}function O8(e,t){e.forEach(o=>{try{t(o)}catch(r){Se.catch(r)}})}var Ai=l(jr());function IC(){}var V8=(e,t,o)=>Object.defineProperty(e,t,{value:o,writable:!0,configurable:!0}),ae={arr:Array.isArray,obj:e=>!!e&&e.constructor.name==="Object",fun:e=>typeof e=="function",str:e=>typeof e=="string",num:e=>typeof e=="number",und:e=>e===void 0};function ka(e,t){if(ae.arr(e)){if(!ae.arr(t)||e.length!==t.length)return!1;for(let o=0;oe.forEach(t);function Li(e,t,o){if(ae.arr(e)){for(let r=0;rae.und(e)?[]:ae.arr(e)?e:[e];function ph(e,t){if(e.size){let o=Array.from(e);e.clear(),bt(o,t)}}var hh=(e,...t)=>ph(e,o=>o(...t)),qM=()=>typeof window>"u"||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),ZM,F8,Eu=null,z8=!1,XM=IC,Sye=e=>{e.to&&(F8=e.to),e.now&&(Se.now=e.now),e.colors!==void 0&&(Eu=e.colors),e.skipAnimation!=null&&(z8=e.skipAnimation),e.createStringInterpolator&&(ZM=e.createStringInterpolator),e.requestAnimationFrame&&Se.use(e.requestAnimationFrame),e.batchedUpdates&&(Se.batchedUpdates=e.batchedUpdates),e.willAdvance&&(XM=e.willAdvance),e.frameLoop&&(Se.frameLoop=e.frameLoop)},Wn=Object.freeze({__proto__:null,get createStringInterpolator(){return ZM},get to(){return F8},get colors(){return Eu},get skipAnimation(){return z8},get willAdvance(){return XM},assign:Sye}),ey=new Set,Oi=[],GM=[],EC=0,gh={get idle(){return!ey.size&&!Oi.length},start(e){EC>e.priority?(ey.add(e),Se.onStart(_ye)):(j8(e),Se(KM))},advance:KM,sort(e){if(EC)Se.onFrame(()=>gh.sort(e));else{let t=Oi.indexOf(e);~t&&(Oi.splice(t,1),U8(e))}},clear(){Oi=[],ey.clear()}};function _ye(){ey.forEach(j8),ey.clear(),Se(KM)}function j8(e){Oi.includes(e)||U8(e)}function U8(e){Oi.splice(xye(Oi,t=>t.priority>e.priority),0,e)}function KM(e){let t=GM;for(let o=0;o0}function xye(e,t){let o=e.findIndex(t);return o<0?e.length:o}var H8={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},Bs="[-+]?\\d*\\.?\\d+",TC=Bs+"%";function PC(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}var wye=new RegExp("rgb"+PC(Bs,Bs,Bs)),Cye=new RegExp("rgba"+PC(Bs,Bs,Bs,Bs)),Bye=new RegExp("hsl"+PC(Bs,TC,TC)),Eye=new RegExp("hsla"+PC(Bs,TC,TC,Bs)),Tye=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,Iye=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,Pye=/^#([0-9a-fA-F]{6})$/,Rye=/^#([0-9a-fA-F]{8})$/;function Oye(e){let t;return typeof e=="number"?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=Pye.exec(e))?parseInt(t[1]+"ff",16)>>>0:Eu&&Eu[e]!==void 0?Eu[e]:(t=wye.exec(e))?(dh(t[1])<<24|dh(t[2])<<16|dh(t[3])<<8|255)>>>0:(t=Cye.exec(e))?(dh(t[1])<<24|dh(t[2])<<16|dh(t[3])<<8|N8(t[4]))>>>0:(t=Tye.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=Rye.exec(e))?parseInt(t[1],16)>>>0:(t=Iye.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=Bye.exec(e))?(A8(L8(t[1]),CC(t[2]),CC(t[3]))|255)>>>0:(t=Eye.exec(e))?(A8(L8(t[1]),CC(t[2]),CC(t[3]))|N8(t[4]))>>>0:null}function WM(e,t,o){return o<0&&(o+=1),o>1&&(o-=1),o<1/6?e+(t-e)*6*o:o<1/2?t:o<2/3?e+(t-e)*(2/3-o)*6:e}function A8(e,t,o){let r=o<.5?o*(1+t):o+t-o*t,n=2*o-r,i=WM(n,r,e+1/3),s=WM(n,r,e),a=WM(n,r,e-1/3);return Math.round(i*255)<<24|Math.round(s*255)<<16|Math.round(a*255)<<8}function dh(e){let t=parseInt(e,10);return t<0?0:t>255?255:t}function L8(e){return(parseFloat(e)%360+360)%360/360}function N8(e){let t=parseFloat(e);return t<0?0:t>1?255:Math.round(t*255)}function CC(e){let t=parseFloat(e);return t<0?0:t>100?1:t/100}function M8(e){let t=Oye(e);if(t===null)return e;t=t||0;let o=(t&4278190080)>>>24,r=(t&16711680)>>>16,n=(t&65280)>>>8,i=(t&255)/255;return`rgba(${o}, ${r}, ${n}, ${i})`}var Tu=(e,t,o)=>{if(ae.fun(e))return e;if(ae.arr(e))return Tu({range:e,output:t,extrapolate:o});if(ae.str(e.output[0]))return ZM(e);let r=e,n=r.output,i=r.range||[0,1],s=r.extrapolateLeft||r.extrapolate||"extend",a=r.extrapolateRight||r.extrapolate||"extend",c=r.easing||(u=>u);return u=>{let d=Lye(u,i);return Aye(u,i[d],i[d+1],n[d],n[d+1],c,s,a,r.map)}};function Aye(e,t,o,r,n,i,s,a,c){let u=c?c(e):e;if(uo){if(a==="identity")return u;a==="clamp"&&(u=o)}return r===n?r:t===o?e<=t?r:n:(t===-1/0?u=-u:o===1/0?u=u-t:u=(u-t)/(o-t),u=i(u),r===-1/0?u=-u:n===1/0?u=u+r:u=u*(n-r)+r,u)}function Lye(e,t){for(var o=1;o=e);++o);return o-1}function YM(){return YM=Object.assign?Object.assign.bind():function(e){for(var t=1;t!!(e&&e[fh]),pr=e=>e&&e[fh]?e[fh]():e,QM=e=>e[Yf]||null;function Nye(e,t){e.eventObserved?e.eventObserved(t):e(t)}function qf(e,t){let o=e[Yf];o&&o.forEach(r=>{Nye(r,t)})}var mh=class{constructor(t){if(this[fh]=void 0,this[Yf]=void 0,!t&&!(t=this.get))throw Error("Unknown getter");Mye(this,t)}},Mye=(e,t)=>G8(e,fh,t);function Iu(e,t){if(e[fh]){let o=e[Yf];o||G8(e,Yf,o=new Set),o.has(t)||(o.add(t),e.observerAdded&&e.observerAdded(o.size,t))}return t}function Pu(e,t){let o=e[Yf];if(o&&o.has(t)){let r=o.size-1;r?o.delete(t):e[Yf]=null,e.observerRemoved&&e.observerRemoved(r,t)}}var G8=(e,t,o)=>Object.defineProperty(e,t,{value:o,writable:!0,configurable:!0}),BC=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,Dye=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,D8=new RegExp(`(${BC.source})(%|[a-z]+)`,"i"),Vye=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,RC=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,W8=e=>{let[t,o]=Fye(e);if(!t||qM())return e;let r=window.getComputedStyle(document.documentElement).getPropertyValue(t);if(r)return r.trim();if(o&&o.startsWith("--")){let n=window.getComputedStyle(document.documentElement).getPropertyValue(o);return n||e}else{if(o&&RC.test(o))return W8(o);if(o)return o}return e},Fye=e=>{let t=RC.exec(e);if(!t)return[,];let[,o,r]=t;return[o,r]},$M,zye=(e,t,o,r,n)=>`rgba(${Math.round(t)}, ${Math.round(o)}, ${Math.round(r)}, ${n})`,OC=e=>{$M||($M=Eu?new RegExp(`(${Object.keys(Eu).join("|")})(?!\\w)`,"g"):/^\b$/);let t=e.output.map(i=>pr(i).replace(RC,W8).replace(Dye,M8).replace($M,M8)),o=t.map(i=>i.match(BC).map(Number)),n=o[0].map((i,s)=>o.map(a=>{if(!(s in a))throw Error('The arity of each "output" value must be equal');return a[s]})).map(i=>Tu(YM({},e,{output:i})));return i=>{var s;let a=!D8.test(t[0])&&((s=t.find(u=>D8.test(u)))==null?void 0:s.replace(BC,"")),c=0;return t[0].replace(BC,()=>`${n[c++](i)}${a||""}`).replace(Vye,zye)}},$8="react-spring: ",K8=e=>{let t=e,o=!1;if(typeof t!="function")throw new TypeError(`${$8}once requires a function parameter`);return(...r)=>{o||(t(...r),o=!0)}},jye=K8(console.warn);function Y8(){jye(`${$8}The "interpolate" function is deprecated in v9 (use "to" instead)`)}var Hze=K8(console.warn);function bh(e){return ae.str(e)&&(e[0]=="#"||/\d/.test(e)||!qM()&&RC.test(e)||e in(Eu||{}))}var ty=qM()?Ai.useEffect:Ai.useLayoutEffect,Uye=()=>{let e=(0,Ai.useRef)(!1);return ty(()=>(e.current=!0,()=>{e.current=!1}),[]),e};function JM(){let e=(0,Ai.useState)()[1],t=Uye();return()=>{t.current&&e(Math.random())}}function q8(e,t){let[o]=(0,Ai.useState)(()=>({inputs:t,result:e()})),r=(0,Ai.useRef)(),n=r.current,i=n;return i?t&&i.inputs&&Hye(t,i.inputs)||(i={inputs:t,result:e()}):i=o,(0,Ai.useEffect)(()=>{r.current=i,n==o&&(o.inputs=o.result=void 0)},[i]),i.result}function Hye(e,t){if(e.length!==t.length)return!1;for(let o=0;o(0,Ai.useEffect)(e,Gye),Gye=[];var dy=l(jr()),fy=l(jr());var J8=l(jr()),Rl=l(jr()),oy=Symbol.for("Animated:node"),Wye=e=>!!e&&e[oy]===e,Es=e=>e&&e[oy],MC=(e,t)=>V8(e,oy,t),ry=e=>e&&e[oy]&&e[oy].getPayload(),AC=class{constructor(){this.payload=void 0,MC(this,this)}getPayload(){return this.payload||[]}},Zf=class e extends AC{constructor(t){super(),this.done=!0,this.elapsedTime=void 0,this.lastPosition=void 0,this.lastVelocity=void 0,this.v0=void 0,this.durationProgress=0,this._value=t,ae.num(this._value)&&(this.lastPosition=this._value)}static create(t){return new e(t)}getPayload(){return[this]}getValue(){return this._value}setValue(t,o){return ae.num(t)&&(this.lastPosition=t,o&&(t=Math.round(t/o)*o,this.done&&(this.lastPosition=t))),this._value===t?!1:(this._value=t,!0)}reset(){let{done:t}=this;this.done=!1,ae.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,t&&(this.lastVelocity=null),this.v0=null)}},Xf=class e extends Zf{constructor(t){super(0),this._string=null,this._toString=void 0,this._toString=Tu({output:[t,t]})}static create(t){return new e(t)}getValue(){let t=this._string;return t??(this._string=this._toString(this._value))}setValue(t){if(ae.str(t)){if(t==this._string)return!1;this._string=t,this._value=1}else if(super.setValue(t))this._string=null;else return!1;return!0}reset(t){t&&(this._toString=Tu({output:[this.getValue(),t]})),this._value=0,super.reset()}},LC={dependencies:null},Qf=class extends AC{constructor(t){super(),this.source=t,this.setValue(t)}getValue(t){let o={};return Li(this.source,(r,n)=>{Wye(r)?o[n]=r.getValue(t):Ur(r)?o[n]=pr(r):t||(o[n]=r)}),o}setValue(t){this.source=t,this.payload=this._makePayload(t)}reset(){this.payload&&bt(this.payload,t=>t.reset())}_makePayload(t){if(t){let o=new Set;return Li(t,this._addToPayload,o),Array.from(o)}}_addToPayload(t){LC.dependencies&&Ur(t)&&LC.dependencies.add(t);let o=ry(t);o&&bt(o,r=>this.add(r))}},tD=class e extends Qf{constructor(t){super(t)}static create(t){return new e(t)}getValue(){return this.source.map(t=>t.getValue())}setValue(t){let o=this.getPayload();return t.length==o.length?o.map((r,n)=>r.setValue(t[n])).some(Boolean):(super.setValue(t.map($ye)),!0)}};function $ye(e){return(bh(e)?Xf:Zf).create(e)}function DC(e){let t=Es(e);return t?t.constructor:ae.arr(e)?tD:bh(e)?Xf:Zf}function NC(){return NC=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let o=!ae.fun(e)||e.prototype&&e.prototype.isReactComponent;return(0,Rl.forwardRef)((r,n)=>{let i=(0,Rl.useRef)(null),s=o&&(0,Rl.useCallback)(p=>{i.current=Yye(n,p)},[n]),[a,c]=Kye(r,t),u=JM(),d=()=>{let p=i.current;if(o&&!p)return;(p?t.applyAnimatedValues(p,a.getValue(!0)):!1)===!1&&u()},f=new oD(d,c),m=(0,Rl.useRef)();ty(()=>(m.current=f,bt(c,p=>Iu(p,f)),()=>{m.current&&(bt(m.current.deps,p=>Pu(p,m.current)),Se.cancel(m.current.update))})),(0,Rl.useEffect)(d,[]),eD(()=>()=>{let p=m.current;bt(p.deps,g=>Pu(g,p))});let h=t.getComponentProps(a.getValue());return J8.createElement(e,NC({},h,{ref:s}))})},oD=class{constructor(t,o){this.update=t,this.deps=o}eventObserved(t){t.type=="change"&&Se.write(this.update)}};function Kye(e,t){let o=new Set;return LC.dependencies=o,e.style&&(e=NC({},e,{style:t.createAnimatedStyle(e.style)})),e=new Qf(e),LC.dependencies=null,[e,o]}function Yye(e,t){return e&&(ae.fun(e)?e(t):e.current=t),t}var X8=Symbol.for("AnimatedComponent"),e7=(e,{applyAnimatedValues:t=()=>!1,createAnimatedStyle:o=n=>new Qf(n),getComponentProps:r=n=>n}={})=>{let n={applyAnimatedValues:t,createAnimatedStyle:o,getComponentProps:r},i=s=>{let a=Q8(s)||"Anonymous";return ae.str(s)?s=i[s]||(i[s]=Z8(s,n)):s=s[X8]||(s[X8]=Z8(s,n)),s.displayName=`Animated(${a})`,s};return Li(e,(s,a)=>{ae.arr(e)&&(a=Q8(s)),i[a]=i(s)}),{animated:i}},Q8=e=>ae.str(e)?e:e&&ae.str(e.displayName)?e.displayName:ae.fun(e)&&e.name||null;function Hr(){return Hr=Object.assign?Object.assign.bind():function(e){for(var t=1;te===!0||!!(t&&e&&(ae.fun(e)?e(t):hn(e).includes(t))),f7=(e,t)=>ae.obj(e)?t&&e[t]:e,m7=(e,t)=>e.default===!0?e[t]:e.default?e.default[t]:void 0,qye=e=>e,p7=(e,t=qye)=>{let o=Zye;e.default&&e.default!==!0&&(e=e.default,o=Object.keys(e));let r={};for(let n of o){let i=t(e[n],n);ae.und(i)||(r[n]=i)}return r},Zye=["config","onProps","onStart","onChange","onPause","onResume","onRest"],Xye={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function Qye(e){let t={},o=0;if(Li(e,(r,n)=>{Xye[n]||(t[n]=r,o++)}),o)return t}function h7(e){let t=Qye(e);if(t){let o={to:t};return Li(e,(r,n)=>n in t||(o[n]=r)),o}return Hr({},e)}function ly(e){return e=pr(e),ae.arr(e)?e.map(ly):bh(e)?Wn.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function iD(e){return ae.fun(e)||ae.arr(e)&&ae.obj(e[0])}var Jye={default:{tension:170,friction:26},gentle:{tension:120,friction:14},wobbly:{tension:180,friction:12},stiff:{tension:210,friction:20},slow:{tension:280,friction:60},molasses:{tension:280,friction:120}},zC=1.70158,VC=zC*1.525,t7=zC+1,o7=2*Math.PI/3,r7=2*Math.PI/4.5,FC=e=>e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375,eSe={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>1-(1-e)*(1-e),easeInOutQuad:e=>e<.5?2*e*e:1-Math.pow(-2*e+2,2)/2,easeInCubic:e=>e*e*e,easeOutCubic:e=>1-Math.pow(1-e,3),easeInOutCubic:e=>e<.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2,easeInQuart:e=>e*e*e*e,easeOutQuart:e=>1-Math.pow(1-e,4),easeInOutQuart:e=>e<.5?8*e*e*e*e:1-Math.pow(-2*e+2,4)/2,easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>1-Math.pow(1-e,5),easeInOutQuint:e=>e<.5?16*e*e*e*e*e:1-Math.pow(-2*e+2,5)/2,easeInSine:e=>1-Math.cos(e*Math.PI/2),easeOutSine:e=>Math.sin(e*Math.PI/2),easeInOutSine:e=>-(Math.cos(Math.PI*e)-1)/2,easeInExpo:e=>e===0?0:Math.pow(2,10*e-10),easeOutExpo:e=>e===1?1:1-Math.pow(2,-10*e),easeInOutExpo:e=>e===0?0:e===1?1:e<.5?Math.pow(2,20*e-10)/2:(2-Math.pow(2,-20*e+10))/2,easeInCirc:e=>1-Math.sqrt(1-Math.pow(e,2)),easeOutCirc:e=>Math.sqrt(1-Math.pow(e-1,2)),easeInOutCirc:e=>e<.5?(1-Math.sqrt(1-Math.pow(2*e,2)))/2:(Math.sqrt(1-Math.pow(-2*e+2,2))+1)/2,easeInBack:e=>t7*e*e*e-zC*e*e,easeOutBack:e=>1+t7*Math.pow(e-1,3)+zC*Math.pow(e-1,2),easeInOutBack:e=>e<.5?Math.pow(2*e,2)*((VC+1)*2*e-VC)/2:(Math.pow(2*e-2,2)*((VC+1)*(e*2-2)+VC)+2)/2,easeInElastic:e=>e===0?0:e===1?1:-Math.pow(2,10*e-10)*Math.sin((e*10-10.75)*o7),easeOutElastic:e=>e===0?0:e===1?1:Math.pow(2,-10*e)*Math.sin((e*10-.75)*o7)+1,easeInOutElastic:e=>e===0?0:e===1?1:e<.5?-(Math.pow(2,20*e-10)*Math.sin((20*e-11.125)*r7))/2:Math.pow(2,-20*e+10)*Math.sin((20*e-11.125)*r7)/2+1,easeInBounce:e=>1-FC(1-e),easeOutBounce:FC,easeInOutBounce:e=>e<.5?(1-FC(1-2*e))/2:(1+FC(2*e-1))/2},sD=Hr({},Jye.default,{mass:1,damping:1,easing:eSe.linear,clamp:!1}),aD=class{constructor(){this.tension=void 0,this.friction=void 0,this.frequency=void 0,this.damping=void 0,this.mass=void 0,this.velocity=0,this.restVelocity=void 0,this.precision=void 0,this.progress=void 0,this.duration=void 0,this.easing=void 0,this.clamp=void 0,this.bounce=void 0,this.decay=void 0,this.round=void 0,Object.assign(this,sD)}};function tSe(e,t,o){o&&(o=Hr({},o),n7(o,t),t=Hr({},o,t)),n7(e,t),Object.assign(e,t);for(let s in sD)e[s]==null&&(e[s]=sD[s]);let{mass:r,frequency:n,damping:i}=e;return ae.und(n)||(n<.01&&(n=.01),i<0&&(i=0),e.tension=Math.pow(2*Math.PI/n,2)*r,e.friction=4*Math.PI*i*r/n),e}function n7(e,t){if(!ae.und(t.decay))e.duration=void 0;else{let o=!ae.und(t.tension)||!ae.und(t.friction);(o||!ae.und(t.frequency)||!ae.und(t.damping)||!ae.und(t.mass))&&(e.duration=void 0,e.decay=void 0),o&&(e.frequency=void 0)}}var i7=[],lD=class{constructor(){this.changed=!1,this.values=i7,this.toValues=null,this.fromValues=i7,this.to=void 0,this.from=void 0,this.config=new aD,this.immediate=!1}};function g7(e,{key:t,props:o,defaultProps:r,state:n,actions:i}){return new Promise((s,a)=>{var c;let u,d,f=ay((c=o.cancel)!=null?c:r?.cancel,t);if(f)p();else{ae.und(o.pause)||(n.paused=ay(o.pause,t));let g=r?.pause;g!==!0&&(g=n.paused||ay(g,t)),u=Jf(o.delay||0,t),g?(n.resumeQueue.add(h),i.pause()):(i.resume(),h())}function m(){n.resumeQueue.add(h),n.timeouts.delete(d),d.cancel(),u=d.time-Se.now()}function h(){u>0&&!Wn.skipAnimation?(n.delayed=!0,d=Se.setTimeout(p,u),n.pauseQueue.add(m),n.timeouts.add(d)):p()}function p(){n.delayed&&(n.delayed=!1),n.pauseQueue.delete(m),n.timeouts.delete(d),e<=(n.cancelId||0)&&(f=!0);try{i.start(Hr({},o,{callId:e,cancel:f}),s)}catch(g){a(g)}}})}var hD=(e,t)=>t.length==1?t[0]:t.some(o=>o.cancelled)?kh(e.get()):t.every(o=>o.noop)?b7(e.get()):Ts(e.get(),t.every(o=>o.finished)),b7=e=>({value:e,noop:!0,finished:!0,cancelled:!1}),Ts=(e,t,o=!1)=>({value:e,finished:t,cancelled:o}),kh=e=>({value:e,cancelled:!0,finished:!1});function k7(e,t,o,r){let{callId:n,parentId:i,onRest:s}=t,{asyncTo:a,promise:c}=o;return!i&&e===a&&!t.reset?c:o.promise=(async()=>{o.asyncId=n,o.asyncTo=e;let u=p7(t,(b,v)=>v==="onRest"?void 0:b),d,f,m=new Promise((b,v)=>(d=b,f=v)),h=b=>{let v=n<=(o.cancelId||0)&&kh(r)||n!==o.asyncId&&Ts(r,!1);if(v)throw b.result=v,f(b),b},p=(b,v)=>{let k=new jC,y=new UC;return(async()=>{if(Wn.skipAnimation)throw cy(o),y.result=Ts(r,!1),f(y),y;h(k);let S=ae.obj(b)?Hr({},b):Hr({},v,{to:b});S.parentId=n,Li(u,(C,B)=>{ae.und(S[B])&&(S[B]=C)});let x=await r.start(S);return h(k),o.paused&&await new Promise(C=>{o.resumeQueue.add(C)}),x})()},g;if(Wn.skipAnimation)return cy(o),Ts(r,!1);try{let b;ae.arr(e)?b=(async v=>{for(let k of v)await p(k)})(e):b=Promise.resolve(e(p,r.stop.bind(r))),await Promise.all([b.then(d),m]),g=Ts(r.get(),!0,!1)}catch(b){if(b instanceof jC)g=b.result;else if(b instanceof UC)g=b.result;else throw b}finally{n==o.asyncId&&(o.asyncId=i,o.asyncTo=i?a:void 0,o.promise=i?c:void 0)}return ae.fun(s)&&Se.batchedUpdates(()=>{s(g,r,r.item)}),g})()}function cy(e,t){ph(e.timeouts,o=>o.cancel()),e.pauseQueue.clear(),e.resumeQueue.clear(),e.asyncId=e.asyncTo=e.promise=void 0,t&&(e.cancelId=t)}var jC=class extends Error{constructor(){super("An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise."),this.result=void 0}},UC=class extends Error{constructor(){super("SkipAnimationSignal"),this.result=void 0}},cD=e=>e instanceof uy,oSe=1,uy=class extends mh{constructor(...t){super(...t),this.id=oSe++,this.key=void 0,this._priority=0}get priority(){return this._priority}set priority(t){this._priority!=t&&(this._priority=t,this._onPriorityChange(t))}get(){let t=Es(this);return t&&t.getValue()}to(...t){return Wn.to(this,t)}interpolate(...t){return Y8(),Wn.to(this,t)}toJSON(){return this.get()}observerAdded(t){t==1&&this._attach()}observerRemoved(t){t==0&&this._detach()}_attach(){}_detach(){}_onChange(t,o=!1){qf(this,{type:"change",parent:this,value:t,idle:o})}_onPriorityChange(t){this.idle||gh.sort(this),qf(this,{type:"priority",parent:this,priority:t})}},em=Symbol.for("SpringPhase"),v7=1,uD=2,dD=4,rD=e=>(e[em]&v7)>0,Ru=e=>(e[em]&uD)>0,ny=e=>(e[em]&dD)>0,s7=(e,t)=>t?e[em]|=uD|v7:e[em]&=~uD,a7=(e,t)=>t?e[em]|=dD:e[em]&=~dD,fD=class extends uy{constructor(t,o){if(super(),this.key=void 0,this.animation=new lD,this.queue=void 0,this.defaultProps={},this._state={paused:!1,delayed:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._pendingCalls=new Set,this._lastCallId=0,this._lastToId=0,this._memoizedDuration=0,!ae.und(t)||!ae.und(o)){let r=ae.obj(t)?Hr({},t):Hr({},o,{from:t});ae.und(r.default)&&(r.default=!0),this.start(r)}}get idle(){return!(Ru(this)||this._state.asyncTo)||ny(this)}get goal(){return pr(this.animation.to)}get velocity(){let t=Es(this);return t instanceof Zf?t.lastVelocity||0:t.getPayload().map(o=>o.lastVelocity||0)}get hasAnimated(){return rD(this)}get isAnimating(){return Ru(this)}get isPaused(){return ny(this)}get isDelayed(){return this._state.delayed}advance(t){let o=!0,r=!1,n=this.animation,{config:i,toValues:s}=n,a=ry(n.to);!a&&Ur(n.to)&&(s=hn(pr(n.to))),n.values.forEach((d,f)=>{if(d.done)return;let m=d.constructor==Xf?1:a?a[f].lastPosition:s[f],h=n.immediate,p=m;if(!h){if(p=d.lastPosition,i.tension<=0){d.done=!0;return}let g=d.elapsedTime+=t,b=n.fromValues[f],v=d.v0!=null?d.v0:d.v0=ae.arr(i.velocity)?i.velocity[f]:i.velocity,k,y=i.precision||(b==m?.005:Math.min(1,Math.abs(m-b)*.001));if(ae.und(i.duration))if(i.decay){let S=i.decay===!0?.998:i.decay,x=Math.exp(-(1-S)*g);p=b+v/(1-S)*(1-x),h=Math.abs(d.lastPosition-p)<=y,k=v*x}else{k=d.lastVelocity==null?v:d.lastVelocity;let S=i.restVelocity||y/10,x=i.clamp?0:i.bounce,C=!ae.und(x),B=b==m?d.v0>0:bS,!(!I&&(h=Math.abs(m-p)<=y,h)));++T){C&&(P=p==m||p>m==B,P&&(k=-k*x,p=m));let O=-i.tension*1e-6*(p-m),V=-i.friction*.001*k,U=(O+V)/i.mass;k=k+U*E,p=p+k*E}}else{let S=1;i.duration>0&&(this._memoizedDuration!==i.duration&&(this._memoizedDuration=i.duration,d.durationProgress>0&&(d.elapsedTime=i.duration*d.durationProgress,g=d.elapsedTime+=t)),S=(i.progress||0)+g/this._memoizedDuration,S=S>1?1:S<0?0:S,d.durationProgress=S),p=b+i.easing(S)*(m-b),k=(p-d.lastPosition)/t,h=S==1}d.lastVelocity=k,Number.isNaN(p)&&(console.warn("Got NaN while animating:",this),h=!0)}a&&!a[f].done&&(h=!1),h?d.done=!0:o=!1,d.setValue(p,i.round)&&(r=!0)});let c=Es(this),u=c.getValue();if(o){let d=pr(n.to);(u!==d||r)&&!i.decay?(c.setValue(d),this._onChange(d)):r&&i.decay&&this._onChange(u),this._stop()}else r&&this._onChange(u)}set(t){return Se.batchedUpdates(()=>{this._stop(),this._focus(t),this._set(t)}),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(Ru(this)){let{to:t,config:o}=this.animation;Se.batchedUpdates(()=>{this._onStart(),o.decay||this._set(t,!1),this._stop()})}return this}update(t){return(this.queue||(this.queue=[])).push(t),this}start(t,o){let r;return ae.und(t)?(r=this.queue||[],this.queue=[]):r=[ae.obj(t)?t:Hr({},o,{to:t})],Promise.all(r.map(n=>this._update(n))).then(n=>hD(this,n))}stop(t){let{to:o}=this.animation;return this._focus(this.get()),cy(this._state,t&&this._lastCallId),Se.batchedUpdates(()=>this._stop(o,t)),this}reset(){this._update({reset:!0})}eventObserved(t){t.type=="change"?this._start():t.type=="priority"&&(this.priority=t.priority+1)}_prepareNode(t){let o=this.key||"",{to:r,from:n}=t;r=ae.obj(r)?r[o]:r,(r==null||iD(r))&&(r=void 0),n=ae.obj(n)?n[o]:n,n==null&&(n=void 0);let i={to:r,from:n};return rD(this)||(t.reverse&&([r,n]=[n,r]),n=pr(n),ae.und(n)?Es(this)||this._set(r):this._set(n)),i}_update(t,o){let r=Hr({},t),{key:n,defaultProps:i}=this;r.default&&Object.assign(i,p7(r,(c,u)=>/^on/.test(u)?f7(c,n):c)),c7(this,r,"onProps"),sy(this,"onProps",r,this);let s=this._prepareNode(r);if(Object.isFrozen(this))throw Error("Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?");let a=this._state;return g7(++this._lastCallId,{key:n,props:r,defaultProps:i,state:a,actions:{pause:()=>{ny(this)||(a7(this,!0),hh(a.pauseQueue),sy(this,"onPause",Ts(this,iy(this,this.animation.to)),this))},resume:()=>{ny(this)&&(a7(this,!1),Ru(this)&&this._resume(),hh(a.resumeQueue),sy(this,"onResume",Ts(this,iy(this,this.animation.to)),this))},start:this._merge.bind(this,s)}}).then(c=>{if(r.loop&&c.finished&&!(o&&c.noop)){let u=y7(r);if(u)return this._update(u,!0)}return c})}_merge(t,o,r){if(o.cancel)return this.stop(!0),r(kh(this));let n=!ae.und(t.to),i=!ae.und(t.from);if(n||i)if(o.callId>this._lastToId)this._lastToId=o.callId;else return r(kh(this));let{key:s,defaultProps:a,animation:c}=this,{to:u,from:d}=c,{to:f=u,from:m=d}=t;i&&!n&&(!o.default||ae.und(f))&&(f=m),o.reverse&&([f,m]=[m,f]);let h=!ka(m,d);h&&(c.from=m),m=pr(m);let p=!ka(f,u);p&&this._focus(f);let g=iD(o.to),{config:b}=c,{decay:v,velocity:k}=b;(n||i)&&(b.velocity=0),o.config&&!g&&tSe(b,Jf(o.config,s),o.config!==a.config?Jf(a.config,s):void 0);let y=Es(this);if(!y||ae.und(f))return r(Ts(this,!0));let S=ae.und(o.reset)?i&&!o.default:!ae.und(m)&&ay(o.reset,s),x=S?m:this.get(),C=ly(f),B=ae.num(C)||ae.arr(C)||bh(C),I=!g&&(!B||ay(a.immediate||o.immediate,s));if(p){let T=DC(f);if(T!==y.constructor)if(I)y=this._set(C);else throw Error(`Cannot animate between ${y.constructor.name} and ${T.name}, as the "to" prop suggests`)}let P=y.constructor,E=Ur(f),L=!1;if(!E){let T=S||!rD(this)&&h;(p||T)&&(L=ka(ly(x),C),E=!L),(!ka(c.immediate,I)&&!I||!ka(b.decay,v)||!ka(b.velocity,k))&&(E=!0)}if(L&&Ru(this)&&(c.changed&&!S?E=!0:E||this._stop(u)),!g&&((E||Ur(u))&&(c.values=y.getPayload(),c.toValues=Ur(f)?null:P==Xf?[1]:hn(C)),c.immediate!=I&&(c.immediate=I,!I&&!S&&this._set(u)),E)){let{onRest:T}=c;bt(rSe,V=>c7(this,o,V));let O=Ts(this,iy(this,u));hh(this._pendingCalls,O),this._pendingCalls.add(r),c.changed&&Se.batchedUpdates(()=>{c.changed=!S,T?.(O,this),S?Jf(a.onRest,O):c.onStart==null||c.onStart(O,this)})}S&&this._set(x),g?r(k7(o.to,o,this._state,this)):E?this._start():Ru(this)&&!p?this._pendingCalls.add(r):r(b7(x))}_focus(t){let o=this.animation;t!==o.to&&(QM(this)&&this._detach(),o.to=t,QM(this)&&this._attach())}_attach(){let t=0,{to:o}=this.animation;Ur(o)&&(Iu(o,this),cD(o)&&(t=o.priority+1)),this.priority=t}_detach(){let{to:t}=this.animation;Ur(t)&&Pu(t,this)}_set(t,o=!0){let r=pr(t);if(!ae.und(r)){let n=Es(this);if(!n||!ka(r,n.getValue())){let i=DC(r);!n||n.constructor!=i?MC(this,i.create(r)):n.setValue(r),n&&Se.batchedUpdates(()=>{this._onChange(r,o)})}}return Es(this)}_onStart(){let t=this.animation;t.changed||(t.changed=!0,sy(this,"onStart",Ts(this,iy(this,t.to)),this))}_onChange(t,o){o||(this._onStart(),Jf(this.animation.onChange,t,this)),Jf(this.defaultProps.onChange,t,this),super._onChange(t,o)}_start(){let t=this.animation;Es(this).reset(pr(t.to)),t.immediate||(t.fromValues=t.values.map(o=>o.lastPosition)),Ru(this)||(s7(this,!0),ny(this)||this._resume())}_resume(){Wn.skipAnimation?this.finish():gh.start(this)}_stop(t,o){if(Ru(this)){s7(this,!1);let r=this.animation;bt(r.values,i=>{i.done=!0}),r.toValues&&(r.onChange=r.onPause=r.onResume=void 0),qf(this,{type:"idle",parent:this});let n=o?kh(this.get()):Ts(this.get(),iy(this,t??r.to));hh(this._pendingCalls,n),r.changed&&(r.changed=!1,sy(this,"onRest",n,this))}}};function iy(e,t){let o=ly(t),r=ly(e.get());return ka(r,o)}function y7(e,t=e.loop,o=e.to){let r=Jf(t);if(r){let n=r!==!0&&h7(r),i=(n||e).reverse,s=!n||n.reset;return mD(Hr({},e,{loop:t,default:!1,pause:void 0,to:!i||iD(o)?o:void 0,from:s?e.from:void 0,reset:s},n))}}function mD(e){let{to:t,from:o}=e=h7(e),r=new Set;return ae.obj(t)&&l7(t,r),ae.obj(o)&&l7(o,r),e.keys=r.size?Array.from(r):null,e}function l7(e,t){Li(e,(o,r)=>o!=null&&t.add(r))}var rSe=["onStart","onRest","onChange","onPause","onResume"];function c7(e,t,o){e.animation[o]=t[o]!==m7(t,o)?f7(t[o],e.key):void 0}function sy(e,t,...o){var r,n,i,s;(r=(n=e.animation)[t])==null||r.call(n,...o),(i=(s=e.defaultProps)[t])==null||i.call(s,...o)}var nSe=["onStart","onChange","onRest"],iSe=1,HC=class{constructor(t,o){this.id=iSe++,this.springs={},this.queue=[],this.ref=void 0,this._flush=void 0,this._initialProps=void 0,this._lastAsyncId=0,this._active=new Set,this._changed=new Set,this._started=!1,this._item=void 0,this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._events={onStart:new Map,onChange:new Map,onRest:new Map},this._onFrame=this._onFrame.bind(this),o&&(this._flush=o),t&&this.start(Hr({default:!0},t))}get idle(){return!this._state.asyncTo&&Object.values(this.springs).every(t=>t.idle&&!t.isDelayed&&!t.isPaused)}get item(){return this._item}set item(t){this._item=t}get(){let t={};return this.each((o,r)=>t[r]=o.get()),t}set(t){for(let o in t){let r=t[o];ae.und(r)||this.springs[o].set(r)}}update(t){return t&&this.queue.push(mD(t)),this}start(t){let{queue:o}=this;return t?o=hn(t).map(mD):this.queue=[],this._flush?this._flush(this,o):(_7(this,o),sSe(this,o))}stop(t,o){if(t!==!!t&&(o=t),o){let r=this.springs;bt(hn(o),n=>r[n].stop(!!t))}else cy(this._state,this._lastAsyncId),this.each(r=>r.stop(!!t));return this}pause(t){if(ae.und(t))this.start({pause:!0});else{let o=this.springs;bt(hn(t),r=>o[r].pause())}return this}resume(t){if(ae.und(t))this.start({pause:!1});else{let o=this.springs;bt(hn(t),r=>o[r].resume())}return this}each(t){Li(this.springs,t)}_onFrame(){let{onStart:t,onChange:o,onRest:r}=this._events,n=this._active.size>0,i=this._changed.size>0;(n&&!this._started||i&&!this._started)&&(this._started=!0,ph(t,([c,u])=>{u.value=this.get(),c(u,this,this._item)}));let s=!n&&this._started,a=i||s&&r.size?this.get():null;i&&o.size&&ph(o,([c,u])=>{u.value=a,c(u,this,this._item)}),s&&(this._started=!1,ph(r,([c,u])=>{u.value=a,c(u,this,this._item)}))}eventObserved(t){if(t.type=="change")this._changed.add(t.parent),t.idle||this._active.add(t.parent);else if(t.type=="idle")this._active.delete(t.parent);else return;Se.onFrame(this._onFrame)}};function sSe(e,t){return Promise.all(t.map(o=>S7(e,o))).then(o=>hD(e,o))}async function S7(e,t,o){let{keys:r,to:n,from:i,loop:s,onRest:a,onResolve:c}=t,u=ae.obj(t.default)&&t.default;s&&(t.loop=!1),n===!1&&(t.to=null),i===!1&&(t.from=null);let d=ae.arr(n)||ae.fun(n)?n:void 0;d?(t.to=void 0,t.onRest=void 0,u&&(u.onRest=void 0)):bt(nSe,g=>{let b=t[g];if(ae.fun(b)){let v=e._events[g];t[g]=({finished:k,cancelled:y})=>{let S=v.get(b);S?(k||(S.finished=!1),y&&(S.cancelled=!0)):v.set(b,{value:null,finished:k||!1,cancelled:y||!1})},u&&(u[g]=t[g])}});let f=e._state;t.pause===!f.paused?(f.paused=t.pause,hh(t.pause?f.pauseQueue:f.resumeQueue)):f.paused&&(t.pause=!0);let m=(r||Object.keys(e.springs)).map(g=>e.springs[g].start(t)),h=t.cancel===!0||m7(t,"cancel")===!0;(d||h&&f.asyncId)&&m.push(g7(++e._lastAsyncId,{props:t,state:f,actions:{pause:IC,resume:IC,start(g,b){h?(cy(f,e._lastAsyncId),b(kh(e))):(g.onRest=a,b(k7(d,g,f,e)))}}})),f.paused&&await new Promise(g=>{f.resumeQueue.add(g)});let p=hD(e,await Promise.all(m));if(s&&p.finished&&!(o&&p.noop)){let g=y7(t,s,n);if(g)return _7(e,[g]),S7(e,g,!0)}return c&&Se.batchedUpdates(()=>c(p,e,e.item)),p}function aSe(e,t){let o=new fD;return o.key=e,t&&Iu(o,t),o}function lSe(e,t,o){t.keys&&bt(t.keys,r=>{(e[r]||(e[r]=o(r)))._prepareNode(t)})}function _7(e,t){bt(t,o=>{lSe(e.springs,o,r=>aSe(r,e))})}function cSe(e,t){if(e==null)return{};var o={},r=Object.keys(e),n,i;for(i=0;i=0)&&(o[n]=e[n]);return o}var uSe=["children"],gD=e=>{let{children:t}=e,o=cSe(e,uSe),r=(0,fy.useContext)(GC),n=o.pause||!!r.pause,i=o.immediate||!!r.immediate;o=q8(()=>({pause:n,immediate:i}),[n,i]);let{Provider:s}=GC;return dy.createElement(s,{value:o},t)},GC=dSe(gD,{});gD.Provider=GC.Provider;gD.Consumer=GC.Consumer;function dSe(e,t){return Object.assign(e,dy.createContext(t)),e.Provider._context=e,e.Consumer._context=e,e}var u7;(function(e){e.MOUNT="mount",e.ENTER="enter",e.UPDATE="update",e.LEAVE="leave"})(u7||(u7={}));var pD=class extends uy{constructor(t,o){super(),this.key=void 0,this.idle=!0,this.calc=void 0,this._active=new Set,this.source=t,this.calc=Tu(...o);let r=this._get(),n=DC(r);MC(this,n.create(r))}advance(t){let o=this._get(),r=this.get();ka(o,r)||(Es(this).setValue(o),this._onChange(o,this.idle)),!this.idle&&d7(this._active)&&nD(this)}_get(){let t=ae.arr(this.source)?this.source.map(pr):hn(pr(this.source));return this.calc(...t)}_start(){this.idle&&!d7(this._active)&&(this.idle=!1,bt(ry(this),t=>{t.done=!1}),Wn.skipAnimation?(Se.batchedUpdates(()=>this.advance()),nD(this)):gh.start(this))}_attach(){let t=1;bt(hn(this.source),o=>{Ur(o)&&Iu(o,this),cD(o)&&(o.idle||this._active.add(o),t=Math.max(t,o.priority+1))}),this.priority=t,this._start()}_detach(){bt(hn(this.source),t=>{Ur(t)&&Pu(t,this)}),this._active.clear(),nD(this)}eventObserved(t){t.type=="change"?t.idle?this.advance():(this._active.add(t.parent),this._start()):t.type=="idle"?this._active.delete(t.parent):t.type=="priority"&&(this.priority=hn(this.source).reduce((o,r)=>Math.max(o,(cD(r)?r.priority:0)+1),0))}};function fSe(e){return e.idle!==!1}function d7(e){return!e.size||Array.from(e).every(fSe)}function nD(e){e.idle||(e.idle=!0,bt(ry(e),t=>{t.done=!0}),qf(e,{type:"idle",parent:e}))}Wn.assign({createStringInterpolator:OC,to:(e,t)=>new pD(e,t)});var Jze=gh.advance;var B7=l(w7());function yD(e,t){if(e==null)return{};var o={},r=Object.keys(e),n,i;for(i=0;i=0)&&(o[n]=e[n]);return o}var mSe=["style","children","scrollTop","scrollLeft"],E7=/^--/;function pSe(e,t){return t==null||typeof t=="boolean"||t===""?"":typeof t=="number"&&t!==0&&!E7.test(e)&&!(my.hasOwnProperty(e)&&my[e])?t+"px":(""+t).trim()}var C7={};function hSe(e,t){if(!e.nodeType||!e.setAttribute)return!1;let o=e.nodeName==="filter"||e.parentNode&&e.parentNode.nodeName==="filter",r=t,{style:n,children:i,scrollTop:s,scrollLeft:a}=r,c=yD(r,mSe),u=Object.values(c),d=Object.keys(c).map(f=>o||e.hasAttribute(f)?f:C7[f]||(C7[f]=f.replace(/([A-Z])/g,m=>"-"+m.toLowerCase())));i!==void 0&&(e.textContent=i);for(let f in n)if(n.hasOwnProperty(f)){let m=pSe(f,n[f]);E7.test(f)?e.style.setProperty(f,m):e.style[f]=m}d.forEach((f,m)=>{e.setAttribute(f,u[m])}),s!==void 0&&(e.scrollTop=s),a!==void 0&&(e.scrollLeft=a)}var my={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},gSe=(e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1),bSe=["Webkit","Ms","Moz","O"];my=Object.keys(my).reduce((e,t)=>(bSe.forEach(o=>e[gSe(o,t)]=e[t]),e),my);var kSe=["x","y","z"],vSe=/^(matrix|translate|scale|rotate|skew)/,ySe=/^(translate)/,SSe=/^(rotate|skew)/,bD=(e,t)=>ae.num(e)&&e!==0?e+t:e,WC=(e,t)=>ae.arr(e)?e.every(o=>WC(o,t)):ae.num(e)?e===t:parseFloat(e)===t,kD=class extends Qf{constructor(t){let{x:o,y:r,z:n}=t,i=yD(t,kSe),s=[],a=[];(o||r||n)&&(s.push([o||0,r||0,n||0]),a.push(c=>[`translate3d(${c.map(u=>bD(u,"px")).join(",")})`,WC(c,0)])),Li(i,(c,u)=>{if(u==="transform")s.push([c||""]),a.push(d=>[d,d===""]);else if(vSe.test(u)){if(delete i[u],ae.und(c))return;let d=ySe.test(u)?"px":SSe.test(u)?"deg":"";s.push(hn(c)),a.push(u==="rotate3d"?([f,m,h,p])=>[`rotate3d(${f},${m},${h},${bD(p,d)})`,WC(p,0)]:f=>[`${u}(${f.map(m=>bD(m,d)).join(",")})`,WC(f,u.startsWith("scale")?1:0)])}}),s.length&&(i.transform=new vD(s,a)),super(i)}},vD=class extends mh{constructor(t,o){super(),this._value=null,this.inputs=t,this.transforms=o}get(){return this._value||(this._value=this._get())}_get(){let t="",o=!0;return bt(this.inputs,(r,n)=>{let i=pr(r[0]),[s,a]=this.transforms[n](ae.arr(i)?i:r.map(pr));t+=" "+s,o=o&&a}),o?"none":t}observerAdded(t){t==1&&bt(this.inputs,o=>bt(o,r=>Ur(r)&&Iu(r,this)))}observerRemoved(t){t==0&&bt(this.inputs,o=>bt(o,r=>Ur(r)&&Pu(r,this)))}eventObserved(t){t.type=="change"&&(this._value=null),qf(this,t)}},_Se=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],xSe=["scrollTop","scrollLeft"];Wn.assign({batchedUpdates:B7.unstable_batchedUpdates,createStringInterpolator:OC,colors:H8});var wSe=e7(_Se,{applyAnimatedValues:hSe,createAnimatedStyle:e=>new kD(e),getComponentProps:e=>yD(e,xSe)}),T7=wSe.animated;var vh=l(R(),1),P7=l(je(),1),R7=l(F(),1);var CSe=200;function I7(e){return{top:e.offsetTop,left:e.offsetLeft}}function BSe({triggerAnimationOnChange:e,clientId:t}){let o=(0,vh.useRef)(),{isTyping:r,getGlobalBlockCount:n,isBlockSelected:i,isFirstMultiSelectedBlock:s,isBlockMultiSelected:a,isAncestorMultiSelected:c,isDraggingBlocks:u}=(0,R7.useSelect)(_),{previous:d,prevRect:f}=(0,vh.useMemo)(()=>({previous:o.current&&I7(o.current),prevRect:o.current&&o.current.getBoundingClientRect()}),[e]);return(0,vh.useLayoutEffect)(()=>{if(!d||!o.current)return;let m=(0,P7.getScrollContainer)(o.current),h=i(t),p=h||s(t),g=u();function b(){if(!g&&p&&f){let P=o.current.getBoundingClientRect().top-f.top;P&&(m.scrollTop+=P)}}if(window.matchMedia("(prefers-reduced-motion: reduce)").matches||r()||n()>CSe){b();return}let k=h||a(t)||c(t);if(k&&g)return;let y=k?"1":"",S=new HC({x:0,y:0,config:{mass:5,tension:2e3,friction:200},onChange({value:I}){if(!o.current)return;let{x:P,y:E}=I;P=Math.round(P),E=Math.round(E);let L=P===0&&E===0;o.current.style.transformOrigin="center center",o.current.style.transform=L?null:`translate3d(${P}px,${E}px,0)`,o.current.style.zIndex=y,b()}});o.current.style.transform=void 0;let x=I7(o.current),C=Math.round(d.left-x.left),B=Math.round(d.top-x.top);return S.start({x:0,y:0,from:{x:C,y:B}}),()=>{S.stop(),S.set({x:0,y:0})}},[d,f,t,r,n,i,s,a,c,u]),o}var $C=BSe;var YC=l(R(),1),Ol=l(je(),1),A7=l(F(),1);var KC=".block-editor-block-list__block",ESe=".block-list-appender",TSe=".block-editor-button-block-appender";function O7(e,t){return e.closest(KC)===t.closest(KC)}function va(e,t){return t.closest([KC,ESe,TSe].join(","))===e}function Ni(e){for(;e&&e.nodeType!==e.ELEMENT_NODE;)e=e.parentNode;if(!e)return;let o=e.closest(KC);if(o)return o.id.slice(6)}function SD(e,t){let o=Math.min(e.left,t.left),r=Math.max(e.right,t.right),n=Math.max(e.bottom,t.bottom),i=Math.min(e.top,t.top);return new window.DOMRectReadOnly(o,i,r-o,n-i)}function ISe(e){let t=e.ownerDocument.defaultView;if(!t||e.classList.contains("components-visually-hidden"))return!1;let o=e.getBoundingClientRect();if(o.width===0||o.height===0)return!1;if(e.checkVisibility)return e.checkVisibility?.({opacityProperty:!0,contentVisibilityAuto:!0,visibilityProperty:!0});let r=t.getComputedStyle(e);return!(r.display==="none"||r.visibility==="hidden"||r.opacity==="0")}function PSe(e){let t=window.getComputedStyle(e);return t.overflowX==="auto"||t.overflowX==="scroll"||t.overflowY==="auto"||t.overflowY==="scroll"}var RSe=["core/navigation"];function yh(e){let t=e.ownerDocument.defaultView;if(!t)return new window.DOMRectReadOnly;let o=e.getBoundingClientRect(),r=e.getAttribute("data-type");if(r&&RSe.includes(r)){let s=[e],a;for(;a=s.pop();)if(!PSe(a)){for(let c of a.children)if(ISe(c)){let u=c.getBoundingClientRect();o=SD(o,u),s.push(c)}}}let n=Math.max(o.left,0),i=Math.min(o.right,t.innerWidth);return o=new window.DOMRectReadOnly(n,o.top,i-n,o.height),o}function L7({clientId:e,initialPosition:t}){let o=(0,YC.useRef)(),{isBlockSelected:r,isMultiSelecting:n,isZoomOut:i}=M((0,A7.useSelect)(_));return(0,YC.useEffect)(()=>{if(!r(e)||n()||i()||t==null||!o.current)return;let{ownerDocument:s}=o.current;if(va(o.current,s.activeElement))return;let a=Ol.focus.tabbable.find(o.current).filter(d=>(0,Ol.isTextField)(d)),c=t===-1,u=a[c?a.length-1:0]||o.current;if(!va(o.current,u)){o.current.focus();return}if(!o.current.getAttribute("contenteditable")){let d=Ol.focus.tabbable.findNext(o.current);if(d&&va(o.current,d)&&(0,Ol.isFormElement)(d)){d.focus();return}}(0,Ol.placeCaretAtHorizontalEdge)(u,c)},[t,e]),o}var N7=l(Z(),1);function qC(e){e.defaultPrevented||(e.preventDefault(),e.currentTarget.classList.toggle("is-hovered",e.type==="mouseover"))}function M7({isEnabled:e=!0}={}){return(0,N7.useRefEffect)(t=>{if(e)return t.addEventListener("mouseout",qC),t.addEventListener("mouseover",qC),()=>{t.removeEventListener("mouseout",qC),t.removeEventListener("mouseover",qC),t.classList.remove("is-hovered")}},[e])}var ZC=l(F(),1),D7=l(Z(),1);function V7(e){let{isBlockSelected:t}=(0,ZC.useSelect)(_),{selectBlock:o,selectionChange:r}=(0,ZC.useDispatch)(_);return(0,D7.useRefEffect)(n=>{function i(s){if(!n.parentElement.closest('[contenteditable="true"]')){if(t(e)){s.target.isContentEditable||r(e);return}va(n,s.target)&&o(e)}}return n.addEventListener("focusin",i),()=>{n.removeEventListener("focusin",i)}},[t,o])}var Sh=l($(),1),z7=l(je(),1),Ou=l(nt(),1),XC=l(F(),1),j7=l(Z(),1);function F7(e){return!e||e==="transparent"||e==="rgba(0, 0, 0, 0)"}function U7({clientId:e,isSelected:t}){let{getBlockRootClientId:o,isZoomOut:r,hasMultiSelection:n,isSectionBlock:i,editedContentOnlySection:s,getBlock:a}=M((0,XC.useSelect)(_)),{insertAfterBlock:c,removeBlock:u,resetZoomLevel:d,startDraggingBlocks:f,stopDraggingBlocks:m,editContentOnlySection:h}=M((0,XC.useDispatch)(_));return(0,j7.useRefEffect)(p=>{if(!t)return;function g(k){let{keyCode:y,target:S}=k;y!==Ou.ENTER&&y!==Ou.BACKSPACE&&y!==Ou.DELETE||S!==p||(0,z7.isTextField)(S)||(k.preventDefault(),y===Ou.ENTER&&r()?d():y===Ou.ENTER?c(e):u(e))}function b(k){if(p!==k.target||p.isContentEditable||p.ownerDocument.activeElement!==p||n()){k.preventDefault();return}let y=JSON.stringify({type:"block",srcClientIds:[e],srcRootClientId:o(e)});k.dataTransfer.effectAllowed="move",k.dataTransfer.clearData(),k.dataTransfer.setData("wp-blocks",y);let{ownerDocument:S}=p,{defaultView:x}=S;x.getSelection().removeAllRanges();let B=S.createElement("div");B.style.width="1px",B.style.height="1px",B.style.position="fixed",B.style.visibility="hidden",S.body.appendChild(B),k.dataTransfer.setDragImage(B,0,0);let I=p.getBoundingClientRect(),P=p.id,E=p.cloneNode();E.style.display="none",p.id=null,p.after(E);let L=1;{let J=p;for(;J=J.parentElement;){let{scale:K}=x.getComputedStyle(J);if(K&&K!=="none"){L=parseFloat(K);break}}}let T=1/L,O={};for(let J of["transform","transformOrigin","transition","zIndex","position","top","left","pointerEvents","opacity","backgroundColor"])O[J]=p.style[J];let V=x.scrollY,U=x.scrollX,G=k.clientX,j=k.clientY;p.style.position="relative",p.style.top="0px",p.style.left="0px";let z=k.clientX-I.left,W=k.clientY-I.top,ee=I.height>200?200/I.height:1;if(p.style.zIndex="1000",p.style.transformOrigin=`${z*T}px ${W*T}px`,p.style.transition="transform 0.2s ease-out",p.style.transform=`scale(${ee})`,p.style.opacity="0.9",F7(x.getComputedStyle(p).backgroundColor)){let J="transparent",K=p;for(;K=K.parentElement;){let{backgroundColor:H}=x.getComputedStyle(K);if(!F7(H)){J=H;break}}p.style.backgroundColor=J}let se=!1,ce=G,ie=j;function re(J){J.clientX===ce&&J.clientY===ie||(ce=J.clientX,ie=J.clientY,Q())}function Q(){se||(se=!0,p.style.pointerEvents="none");let J=ie-j,K=ce-G,H=x.scrollY,X=x.scrollX,ne=H-V,le=X-U,ve=J+ne,he=K+le;p.style.top=`${ve*T}px`,p.style.left=`${he*T}px`}function Y(){S.removeEventListener("dragover",re),S.removeEventListener("dragend",Y),S.removeEventListener("drop",Y),S.removeEventListener("scroll",Q);for(let[J,K]of Object.entries(O))p.style[J]=K;E.remove(),p.id=P,B.remove(),m(),document.body.classList.remove("is-dragging-components-draggable"),S.documentElement.classList.remove("is-dragging")}S.addEventListener("dragover",re),S.addEventListener("dragend",Y),S.addEventListener("drop",Y),S.addEventListener("scroll",Q),f([e]),document.body.classList.add("is-dragging-components-draggable"),S.documentElement.classList.add("is-dragging")}p.addEventListener("keydown",g),p.addEventListener("dragstart",b);function v(k){let y=i(e),S=a(e),x=(0,Sh.isReusableBlock)(S),C=(0,Sh.isTemplatePart)(S);!y||s===e||x||C||(k.preventDefault(),h(e))}return p.addEventListener("dblclick",v),()=>{p.removeEventListener("keydown",g),p.removeEventListener("dragstart",b),p.removeEventListener("dblclick",v)}},[e,t,o,a,Sh.isReusableBlock,Sh.isTemplatePart,c,u,r,d,n,f,m,i,s,h])}var H7=l(Z(),1),G7=l(R(),1);function W7(){let e=(0,G7.useContext)(QC);return(0,H7.useRefEffect)(t=>{if(e)return e.observe(t),()=>{e.unobserve(t)}},[e])}var JC=l(Z(),1);function $7({isSelected:e}){let t=(0,JC.useReducedMotion)();return(0,JC.useRefEffect)(o=>{if(e){let{ownerDocument:r}=o,{defaultView:n}=r;if(!n.IntersectionObserver)return;let i=new n.IntersectionObserver(s=>{s[0].isIntersecting||o.scrollIntoView({behavior:t?"instant":"smooth"}),i.disconnect()});return i.observe(o),()=>{i.disconnect()}}},[e])}var K7=l(Z(),1),Y7=l(F(),1);function e1({clientId:e="",isEnabled:t=!0}={}){let{getEnabledClientIdsTree:o}=M((0,Y7.useSelect)(_));return(0,K7.useRefEffect)(r=>{if(!t)return;let n=()=>{o(e).forEach(({clientId:s})=>{let a=r.querySelector(`[data-block="${s}"]`);a&&(a.classList.remove("has-editable-outline"),a.offsetWidth,a.classList.add("has-editable-outline"))})},i=s=>{(s.target===r||s.target.classList.contains("is-root-container"))&&(s.defaultPrevented||(s.preventDefault(),n()))};return r.addEventListener("click",i),()=>r.removeEventListener("click",i)},[t])}var q7=l(Z(),1),py=new Map;function OSe(e,t){let o=py.get(e);o||(o=new Set,py.set(e,o),e.addEventListener("pointerdown",X7)),o.add(t)}function ASe(e,t){let o=py.get(e);o&&(o.delete(t),Z7(t),o.size===0&&(py.delete(e),e.removeEventListener("pointerdown",X7)))}function Z7(e){let t=e.getAttribute("data-draggable");t&&(e.removeAttribute("data-draggable"),t==="true"&&!e.getAttribute("draggable")&&e.setAttribute("draggable","true"))}function X7(e){let{target:t}=e,{ownerDocument:o,isContentEditable:r,tagName:n}=t,i=["INPUT","TEXTAREA"].includes(n),s=py.get(o);if(r||i)for(let a of s)a.getAttribute("draggable")==="true"&&a.contains(t)&&(a.removeAttribute("draggable"),a.setAttribute("data-draggable","true"));else for(let a of s)Z7(a)}function Q7(){return(0,q7.useRefEffect)(e=>(OSe(e.ownerDocument,e),()=>{ASe(e.ownerDocument,e)}),[])}var mo=l(N(),1),gn=l(R(),1),Gr=l(A(),1),_h=l(F(),1),o9=l(Is(),1),r9=l(Ii(),1);var hy=l(N(),1);function LSe(e,t){if(!e)return!1;let o=e.attributes?.metadata?.blockVisibility;if(o===!0||typeof o!="object")return!1;let r=o.viewport;return!r||typeof r!="object"||!iu.some(([,{key:n}])=>n===t)?!1:r[t]===!1}function e9(e,t){if(!e?.length)return!1;let o=e.filter(r=>LSe(r,t)).length;return o===0?!1:o===e.length?!0:null}function t9(e){if(!e?.length)return!1;let t=e.filter(o=>o&&o.attributes?.metadata?.blockVisibility===!1).length;return t===0?!1:t===e.length?!0:null}function gy(e){if(!e&&e!==!1)return null;if(e===!1)return(0,hy.__)("Block is hidden");if(e?.viewport){let t=iu.filter(([o])=>e.viewport?.[o]===!1).map(([,o])=>o.label);if(t.length>0)return(0,hy.sprintf)((0,hy.__)("Block is hidden on %s"),t.join(", "))}return null}var ro=l(w(),1);if(typeof document<"u"&&!document.head.querySelector("style[data-wp-hash='4334c7deb6']")){let e=document.createElement("style");e.setAttribute("data-wp-hash","4334c7deb6"),e.appendChild(document.createTextNode(".block-editor-block-visibility-modal{z-index:1000001}.block-editor-block-visibility-modal__options{border:0;list-style:none;margin:24px 0;padding:0}.block-editor-block-visibility-modal__options-item{align-items:center;display:flex;gap:24px;justify-content:space-between;margin:0 0 16px}.block-editor-block-visibility-modal__options-item:last-child{margin:0}.block-editor-block-visibility-modal__options-item--everywhere{align-items:start;flex-direction:column}.block-editor-block-visibility-modal__options-checkbox--everywhere{font-weight:600}.block-editor-block-visibility-modal__options-icon--checked{fill:#ddd}.block-editor-block-visibility-modal__sub-options{padding-inline-start:12px;width:100%}.block-editor-block-visibility-modal__description{color:#757575;font-size:12px}.block-editor-block-visibility-info{align-items:center;display:flex;justify-content:start;margin:0 16px 16px;padding-bottom:4px;padding-top:4px}")),document.head.appendChild(e)}var NSe={[Et.mobile.key]:!1,[Et.tablet.key]:!1,[Et.desktop.key]:!1},MSe=[];function _D({clientIds:e,onClose:t}){let{createSuccessNotice:o}=(0,_h.useDispatch)(r9.store),{updateBlockAttributes:r}=(0,_h.useDispatch)(_),n=(0,_h.useSelect)(k=>k(_).getBlocksByClientId(e)??MSe,[e]),i=(0,_h.useSelect)(k=>k(o9.store).getShortcutRepresentation("core/editor/toggle-list-view"),[]),s=(0,gn.useMemo)(()=>{if(n?.length===0)return{hideEverywhere:!1,viewportChecked:{}};let k={};return iu.forEach(([,{key:y}])=>{k[y]=e9(n,y)}),{hideEverywhere:t9(n),viewportChecked:k}},[n]),[a,c]=(0,gn.useState)(s?.viewportChecked??{}),[u,d]=(0,gn.useState)(s?.hideEverywhere??!1),f=(0,gn.useCallback)((k,y)=>{c({...a,[k]:y})},[a]),m=(0,gn.useMemo)(()=>{if(!u)return(0,mo.sprintf)((0,mo.__)("Block visibility settings updated. You can access them via the List View (%s)."),i);let k=n?.length>1?(0,mo.__)("Blocks hidden. You can access them via the List View (%s)."):(0,mo.__)("Block hidden. You can access it via the List View (%s).");return(0,mo.sprintf)(k,i)},[u,n?.length,i]),h=(0,gn.useMemo)(()=>Object.values(a).some(k=>k===!0||k===null),[a]),p=(0,gn.useMemo)(()=>u!==s.hideEverywhere?!0:iu.some(([,{key:k}])=>a[k]!==s.viewportChecked[k]),[u,a,s]),g=(0,gn.useMemo)(()=>u===null?!0:Object.values(a).some(k=>k===null),[u,a]),b=(0,gn.useCallback)(k=>{k.preventDefault();let y=u?!1:{viewport:iu.reduce((x,[,{key:C}])=>(a[C]&&(x[C]=!1),x),{})},S=Object.fromEntries(n.map(({clientId:x,attributes:C})=>[x,{metadata:Me({...C?.metadata,blockVisibility:y})}]));r(e,S,{uniqueByBlock:!0}),o(m,{id:u?"block-visibility-hidden":"block-visibility-viewports-updated",type:"snackbar"}),t()},[n,e,o,u,m,t,r,a]),v=n?.length>1;return(0,ro.jsx)(Gr.Modal,{title:e?.length>1?(0,mo.__)("Hide blocks"):(0,mo.__)("Hide block"),onRequestClose:t,overlayClassName:"block-editor-block-visibility-modal",size:"small",children:(0,ro.jsxs)("form",{onSubmit:b,children:[(0,ro.jsxs)("fieldset",{children:[(0,ro.jsx)("legend",{children:v?(0,mo.__)("Select the viewport sizes for which you want to hide the blocks. Changes will apply to all selected blocks."):(0,mo.__)("Select the viewport size for which you want to hide the block.")}),(0,ro.jsx)("ul",{className:"block-editor-block-visibility-modal__options",children:(0,ro.jsxs)("li",{className:"block-editor-block-visibility-modal__options-item block-editor-block-visibility-modal__options-item--everywhere",children:[(0,ro.jsx)(Gr.CheckboxControl,{className:"block-editor-block-visibility-modal__options-checkbox--everywhere",label:(0,mo.__)("Omit from published content"),checked:u===!0,indeterminate:u===null,onChange:k=>{d(k),c(NSe)}}),u!==!0&&(0,ro.jsx)("ul",{className:"block-editor-block-visibility-modal__sub-options",children:iu.map(([,{label:k,icon:y,key:S}])=>(0,ro.jsxs)("li",{className:"block-editor-block-visibility-modal__options-item",children:[(0,ro.jsx)(Gr.CheckboxControl,{label:(0,mo.sprintf)((0,mo.__)("Hide on %s"),k),checked:a[S]??!1,indeterminate:a[S]===null,onChange:x=>f(S,x)}),(0,ro.jsx)(Gr.Icon,{icon:y,className:D({"block-editor-block-visibility-modal__options-icon--checked":a[S]})})]},S))})]})}),v&&g&&(0,ro.jsx)("p",{className:"block-editor-block-visibility-modal__description",children:(0,mo.__)("Selected blocks have different visibility settings. The checkboxes show an indeterminate state when settings differ.")}),!v&&u===!0&&(0,ro.jsx)("p",{className:"block-editor-block-visibility-modal__description",children:(0,mo.sprintf)((0,mo.__)("Block will be hidden in the editor, and omitted from the published markup on the frontend. You can configure it again by selecting it in the List View (%s)."),i)}),!v&&!u&&h&&(0,ro.jsx)("p",{className:"block-editor-block-visibility-modal__description",children:(0,gn.createInterpolateElement)((0,mo.sprintf)((0,mo.__)("Block will be hidden according to the selected viewports. It will be included in the published markup on the frontend. You can configure it again by selecting it in the List View (%s)."),i),{strong:(0,ro.jsx)("strong",{})})})]}),(0,ro.jsxs)(Gr.Flex,{className:"block-editor-block-visibility-modal__actions",justify:"flex-end",expanded:!1,children:[(0,ro.jsx)(Gr.FlexItem,{children:(0,ro.jsx)(Gr.Button,{variant:"tertiary",onClick:t,__next40pxDefaultSize:!0,children:(0,mo.__)("Cancel")})}),(0,ro.jsx)(Gr.FlexItem,{children:(0,ro.jsx)(Gr.Button,{variant:"primary",type:"submit",disabled:!p,accessibleWhenDisabled:!0,__next40pxDefaultSize:!0,children:(0,mo.__)("Apply")})})]})]})})}var xD=l(Z(),1);function Mi(e={}){let{blockVisibility:t=void 0,deviceType:o=Et.desktop.key,view:r=window}=e,n=(0,xD.useViewportMatch)("mobile",">=",r),i=(0,xD.useViewportMatch)("medium",">=",r),s;return o===Et.mobile.key?s=Et.mobile.key:o===Et.tablet.key?s=Et.tablet.key:n?n&&!i?s=Et.tablet.key:s=Et.desktop.key:s=Et.mobile.key,{isBlockCurrentlyHidden:t===!1||t?.viewport?.[s]===!1,currentViewport:s}}var wD=l(N(),1),t1=l(A(),1),o1=l(R(),1);var n9=l($(),1),r1=l(F(),1);var CD=l(w(),1);function BD({clientIds:e}){let t=(0,o1.useRef)(!1),{canToggleBlockVisibility:o,areBlocksHiddenAnywhere:r}=(0,r1.useSelect)(s=>{let{getBlocksByClientId:a,getBlockName:c,isBlockHiddenAnywhere:u}=M(s(_));return{canToggleBlockVisibility:a(e).every(({clientId:f})=>(0,n9.hasBlockSupport)(c(f),"visibility",!0)),areBlocksHiddenAnywhere:e?.every(f=>u(f))}},[e]),n=(0,r1.useDispatch)(_);if((0,o1.useEffect)(()=>{r&&(t.current=!0)},[r]),!r&&!t.current)return null;let{showViewportModal:i}=M(n);return(0,CD.jsx)(t1.ToolbarGroup,{className:"block-editor-block-visibility-toolbar",children:(0,CD.jsx)(t1.ToolbarButton,{disabled:!o,icon:r?vs:Af,label:r?(0,wD.__)("Hidden"):(0,wD.__)("Visible"),onClick:()=>i(e),"aria-haspopup":"dialog"})})}var ED=l(N(),1),i9=l(A(),1),n1=l(F(),1),s9=l(Is(),1);var a9=l(w(),1);function TD({clientIds:e}){let{areBlocksHiddenAnywhere:t,shortcut:o}=(0,n1.useSelect)(n=>{let{isBlockHiddenAnywhere:i}=M(n(_));return{areBlocksHiddenAnywhere:e?.every(s=>i(s)),shortcut:n(s9.store).getShortcutRepresentation("core/block-editor/toggle-block-visibility")}},[e]),{showViewportModal:r}=M((0,n1.useDispatch)(_));return(0,a9.jsx)(i9.MenuItem,{onClick:()=>r(e),shortcut:o,children:t?(0,ED.__)("Show"):(0,ED.__)("Hide")})}var Lu=l(A(),1),ID=l(F(),1),Au=l(N(),1);var xh=l(w(),1),{Badge:DSe}=M(Lu.privateApis),VSe={currentBlockVisibility:void 0,hasParentHiddenEverywhere:!1,selectedDeviceType:Et.desktop.value};function l9({clientId:e}){let{currentBlockVisibility:t,selectedDeviceType:o,hasParentHiddenEverywhere:r}=(0,ID.useSelect)(c=>{if(!e)return VSe;let{getBlockAttributes:u,isBlockParentHiddenEverywhere:d,getSettings:f}=M(c(_));return{currentBlockVisibility:u(e)?.metadata?.blockVisibility,selectedDeviceType:f()?.[xi]?.toLowerCase()||Et.desktop.value,hasParentHiddenEverywhere:d(e)}},[e]),{isBlockCurrentlyHidden:n,currentViewport:i}=Mi({blockVisibility:t,deviceType:o}),s=(0,ID.useSelect)(c=>!e||!i?!1:M(c(_)).isBlockParentHiddenAtViewport(e,i),[e,i]);if(!(n||r||s))return null;let a;if(n)if(t===!1)a=(0,Au.__)("Block is hidden");else{let c=Et[i]?.label||i;a=(0,Au.sprintf)((0,Au.__)("Block is hidden on %s"),c)}if(r)a=(0,Au.__)("Parent block is hidden");else if(s){let c=Et[i]?.label||i;a=(0,Au.sprintf)((0,Au.__)("Parent block is hidden on %s"),c)}return(0,xh.jsx)(DSe,{className:"block-editor-block-visibility-info",children:(0,xh.jsxs)(Lu.__experimentalHStack,{spacing:2,justify:"start",children:[(0,xh.jsx)(Lu.Icon,{icon:vs}),(0,xh.jsx)(Lu.__experimentalText,{children:a})]})})}function by(e={},{__unstableIsHtml:t}={}){let{clientId:o,className:r,wrapperProps:n={},isAligned:i,index:s,mode:a,name:c,blockApiVersion:u,blockTitle:d,isSelected:f,isSubtreeDisabled:m,hasOverlay:h,initialPosition:p,blockEditingMode:g,isHighlighted:b,isMultiSelected:v,isPartiallySelected:k,isReusable:y,isDragging:S,hasChildSelected:x,isEditingDisabled:C,hasEditableOutline:B,isEditingContentOnlySection:I,defaultClassName:P,isSectionBlock:E,isWithinSectionBlock:L,canMove:T,blockVisibility:O,deviceType:V}=(0,c9.useContext)(ur),U=(0,wh.useRefEffect)(Y=>{if(Y){let{ownerDocument:J}=Y,{defaultView:K}=J;U.current=K}},[]),G=(0,i1.sprintf)((0,i1.__)("Block: %s"),d),j=a==="html"&&!t?"-visual":"",z=Q7(),W=!L,ee=(0,wh.useMergeRefs)([e.ref,U,L7({clientId:o,initialPosition:p}),MH(o),V7(o),U7({clientId:o,isSelected:f}),M7({isEnabled:W}),W7(),$C({triggerAnimationOnChange:s,clientId:o}),(0,wh.useDisabled)({isDisabled:!h}),e1({clientId:o,isEnabled:E}),$7({isSelected:f}),T?z:void 0]),se=Ie(),ie=!!se[Rp]?{"--wp-admin-theme-color":"var(--wp-block-synced-color)","--wp-admin-theme-color--rgb":"var(--wp-block-synced-color--rgb)"}:{},{isBlockCurrentlyHidden:re}=Mi({blockVisibility:O,deviceType:V,view:U.current});u<2&&o===se.clientId&&(0,d9.default)(`Block type "${c}" must support API version 2 or higher to work correctly with "useBlockProps" method.`);let Q=!1;return(n?.style?.marginTop?.charAt(0)==="-"||n?.style?.marginBottom?.charAt(0)==="-"||n?.style?.marginLeft?.charAt(0)==="-"||n?.style?.marginRight?.charAt(0)==="-")&&(Q=!0),{tabIndex:g==="disabled"?-1:0,draggable:T&&!x?!0:void 0,...n,...e,ref:ee,id:`block-${o}${j}`,role:"document","aria-label":G,"data-block":o,"data-type":c,"data-title":d,inert:m?"true":void 0,className:D("block-editor-block-list__block",{"wp-block":!i,"has-block-overlay":h,"is-selected":f,"is-highlighted":b,"is-multi-selected":v,"is-partially-selected":k,"is-reusable":y,"is-dragging":S,"has-child-selected":x,"is-editing-disabled":C,"has-editable-outline":B,"has-negative-margin":Q,"is-editing-content-only-section":I,"is-block-hidden":re},r,e.className,n.className,P),style:{...n.style,...e.style,...ie}}}by.save=u9.__unstableGetBlockProps;var po=l(w(),1);function FSe(e,t){let o={...e,...t};return e?.hasOwnProperty("className")&&t?.hasOwnProperty("className")&&(o.className=D(e.className,t.className)),e?.hasOwnProperty("style")&&t?.hasOwnProperty("style")&&(o.style={...e.style,...t.style}),o}function s1({children:e,isHtml:t,...o}){return(0,po.jsx)("div",{...by(o,{__unstableIsHtml:t}),children:e})}function PD({block:{__unstableBlockSource:e},mode:t,isLocked:o,canRemove:r,clientId:n,isSelected:i,isSelectionEnabled:s,className:a,__unstableLayoutClassNames:c,name:u,isValid:d,attributes:f,wrapperProps:m,setAttributes:h,onReplace:p,onRemove:g,onInsertBlocksAfter:b,onMerge:v,toggleSelection:k}){let{mayDisplayControls:y,mayDisplayParentControls:S,isSelectionWithinCurrentSection:x,themeSupportsLayout:C,...B}=(0,Nu.useContext)(ur),I=Uf()||{},P=(0,po.jsx)(Mw,{name:u,isSelected:i,attributes:f,setAttributes:h,insertBlocksAfter:o?void 0:b,onReplace:r?p:void 0,onRemove:r?g:void 0,mergeBlocks:r?v:void 0,clientId:n,isSelectionEnabled:s,toggleSelection:k,__unstableLayoutClassNames:c,__unstableParentLayout:Object.keys(I).length?I:void 0,mayDisplayControls:y,mayDisplayParentControls:S,mayDisplayPatternEditingControls:x,blockEditingMode:B.blockEditingMode,isPreviewMode:B.isPreviewMode}),E=(0,He.getBlockType)(u);E?.getEditWrapperProps&&(m=FSe(m,E.getEditWrapperProps(f)));let L=m&&!!m["data-align"]&&!C,T=a?.includes("is-position-sticky");L&&(P=(0,po.jsx)("div",{className:D("wp-block",T&&a),"data-align":m["data-align"],children:P}));let O;if(d)t==="html"?O=(0,po.jsxs)(po.Fragment,{children:[(0,po.jsx)("div",{style:{display:"none"},children:P}),(0,po.jsx)(s1,{isHtml:!0,children:(0,po.jsx)(B8,{clientId:n})})]}):E?.apiVersion>1?O=P:O=(0,po.jsx)(s1,{children:P});else{let j=e?(0,He.serializeRawBlock)(e):(0,He.getSaveContent)(E,f);O=(0,po.jsxs)(s1,{className:"has-warning",children:[(0,po.jsx)(e8,{clientId:n}),(0,po.jsx)(Nu.RawHTML,{children:(0,m9.safeHTML)(j)})]})}let{"data-align":V,...U}=m??{},G={...U,className:D(U.className,V&&C&&`align${V}`,!(V&&T)&&a)};return(0,po.jsx)(ur.Provider,{value:{wrapperProps:G,isAligned:L,isSelectionWithinCurrentSection:x,...B},children:(0,po.jsx)(i8,{fallback:(0,po.jsx)(s1,{className:"has-warning",children:(0,po.jsx)(r8,{})}),children:O})})}var zSe=(0,a1.withDispatch)((e,t,o)=>{let{updateBlockAttributes:r,insertBlocks:n,mergeBlocks:i,replaceBlocks:s,toggleSelection:a,__unstableMarkLastChangeAsPersistent:c,moveBlocksToPosition:u,removeBlock:d,selectBlock:f}=e(_);return{setAttributes(m){let{getMultiSelectedBlockClientIds:h}=o.select(_),p=h(),{clientId:g,attributes:b}=t,v=p.length?p:[g],k=typeof m=="function"?m(b):m;r(v,k)},onInsertBlocks(m,h){let{rootClientId:p}=t;n(m,h,p)},onInsertBlocksAfter(m){let{clientId:h,rootClientId:p}=t,{getBlockIndex:g}=o.select(_),b=g(h);n(m,b+1,p)},onMerge(m){let{clientId:h,rootClientId:p}=t,{getPreviousBlockClientId:g,getNextBlockClientId:b,getBlock:v,getBlockAttributes:k,getBlockName:y,getBlockOrder:S,getBlockIndex:x,getBlockRootClientId:C,canInsertBlockType:B}=o.select(_);function I(){let E=v(h),L=(0,He.getDefaultBlockName)(),T=(0,He.getBlockType)(L);if(y(h)!==L){let O=(0,He.switchToBlockType)(E,L);O&&O.length&&s(h,O)}else if((0,He.isUnmodifiedDefaultBlock)(E)){let O=b(h);O&&o.batch(()=>{d(h),f(O)})}else if(T.merge){let O=T.merge({},E.attributes);s([h],[(0,He.createBlock)(L,O)])}}function P(E,L=!0){let T=y(E),V=(0,He.getBlockType)(T).category==="text",U=C(E),G=S(E),[j]=G;G.length===1&&(0,He.isUnmodifiedBlock)(v(j))?d(E):V?o.batch(()=>{if(B(y(j),U))u([j],E,U,x(E));else{let z=(0,He.switchToBlockType)(v(j),(0,He.getDefaultBlockName)());z&&z.length&&z.every(W=>B(W.name,U))?(n(z,x(E),U,L),d(j,!1)):I()}!S(E).length&&(0,He.isUnmodifiedBlock)(v(E))&&d(E,!1)}):I()}if(m){if(p){let L=b(p);if(L)if(y(p)===y(L)){let T=k(p),O=k(L);if(Object.keys(T).every(V=>T[V]===O[V])){o.batch(()=>{u(S(L),L,p),d(L,!1)});return}}else{i(p,L);return}}let E=b(h);if(!E)return;S(E).length?P(E,!1):i(h,E)}else{let E=g(h);if(E)i(E,h);else if(p){let L=g(p);if(L&&y(p)===y(L)){let T=k(p),O=k(L);if(Object.keys(T).every(V=>T[V]===O[V])){o.batch(()=>{u(S(p),p,L),d(p,!1)});return}}P(p)}else I()}},onReplace(m,h,p){m.length&&!(0,He.isUnmodifiedDefaultBlock)(m[m.length-1])&&c();let g=m?.length===1&&Array.isArray(m[0])?m[0]:m;s([t.clientId],g,h,p)},onRemove(){d(t.clientId)},toggleSelection(m){a(m)}}});PD=(0,l1.compose)(zSe,(0,f9.withFilters)("editor.BlockListBlock"))(PD);function jSe(e){let{clientId:t,rootClientId:o}=e,r=(0,a1.useSelect)(ne=>{let{isBlockSelected:le,getBlockMode:ve,isSelectionEnabled:he,getTemplateLock:xe,isSectionBlock:Fe,getParentSectionBlock:tt,getBlockWithoutAttributes:Wt,getBlockAttributes:fo,canRemoveBlock:Do,canMoveBlock:ot,getSettings:ar,getEditedContentOnlySection:xt,getBlockEditingMode:At,getBlockName:Pe,isFirstMultiSelectedBlock:wt,getMultiSelectedBlockClientIds:qo,hasSelectedInnerBlock:$t,getBlocksByName:lr,getBlockIndex:ln,isBlockMultiSelected:ze,isBlockSubtreeDisabled:Eo,isBlockHighlighted:Ze,__unstableIsFullySelected:Ve,__unstableSelectionHasUnmergeableBlock:gt,isBlockBeingDragged:To,isDragging:cr,__unstableHasActiveBlockOverlayActive:ge,getSelectedBlocksInitialCaretPosition:Ct}=M(ne(_)),Io=Wt(t);if(!Io)return;let{hasBlockSupport:Ke,getActiveBlockVariation:te}=ne(He.store),Le=fo(t),{name:lt,isValid:Gc}=Io,ua=(0,He.getBlockType)(lt),Bp=ar(),{supportsLayout:zk,isPreviewMode:hf,__experimentalBlockBindingsSupportedAttributes:cn}=Bp,Ep=cn?.[lt],Tp=Le?.metadata?.blockVisibility,r0=Bp?.[xi]?.toLowerCase()||"desktop",n0=ua?.apiVersion>1,jk=ze(t),ue=At(t),to={isPreviewMode:hf,blockWithoutAttributes:Io,name:lt,attributes:Le,isValid:Gc,themeSupportsLayout:zk,index:ln(t),isReusable:(0,He.isReusableBlock)(ua),className:n0?Le.className:void 0,defaultClassName:n0?(0,He.getBlockDefaultClassName)(lt):void 0,blockTitle:ua?.title,bindableAttributes:Ep,blockVisibility:Tp,deviceType:r0,isMultiSelected:jk,blockEditingMode:ue,isEditingDisabled:ue==="disabled"};if(hf)return to;let ye=le(t),Lt=Do(t),un=ot(t),_r=te(lt,Le),Wc=!0,dO=$t(t,Wc),fO=Fe(t)?t:tt(t),mO=(0,He.hasBlockSupport)(lt,"multiple",!0)?[]:lr(lt),zme=mO.length&&mO[0]!==t;return{...to,mode:ve(t),isSelectionEnabled:he(),isLocked:!!xe(o),isSectionBlock:Fe(t),isWithinSectionBlock:!!fO,isSelectionWithinCurrentSection:le(fO)||$t(fO,Wc),blockType:ua,canRemove:Lt,canMove:un,isSelected:ye,isEditingContentOnlySection:xt()===t,blockEditingMode:ue,mayDisplayControls:ye||wt(t)&&qo().every(jme=>Pe(jme)===lt),mayDisplayParentControls:Ke(Pe(t),"__experimentalExposeControlsToChildren",!1)&&$t(t),blockApiVersion:ua?.apiVersion||1,blockTitle:_r?.title||ua?.title,isSubtreeDisabled:ue==="disabled"&&Eo(t),hasOverlay:ge(t)&&!cr(),initialPosition:ye?Ct():void 0,isHighlighted:Ze(t),isMultiSelected:jk,isPartiallySelected:jk&&!Ve()&&!gt(),isDragging:To(t),hasChildSelected:dO,isEditingDisabled:ue==="disabled",hasEditableOutline:ue!=="disabled"&&At(o)==="disabled",originalBlockClientId:zme?mO[0]:!1,blockVisibility:Tp,deviceType:r0}},[t,o]),n=(0,l1.useRefEffect)(ne=>{if(ne){let{ownerDocument:le}=ne,{defaultView:ve}=le;n.current=ve}},[]),{isBlockCurrentlyHidden:i}=Mi({blockVisibility:r?.blockVisibility,deviceType:r?.deviceType,view:n.current}),s=(0,Nu.useMemo)(()=>({...r?.blockWithoutAttributes,attributes:r?.attributes}),[r?.blockWithoutAttributes,r?.attributes]);if(!r)return null;let{isPreviewMode:a,mode:c="visual",isSelectionEnabled:u=!1,isLocked:d=!1,canRemove:f=!1,canMove:m=!1,name:h,attributes:p,isValid:g,isSelected:b=!1,themeSupportsLayout:v,isEditingContentOnlySection:k,blockEditingMode:y,mayDisplayControls:S,mayDisplayParentControls:x,index:C,blockApiVersion:B,blockType:I,blockTitle:P,isSubtreeDisabled:E,hasOverlay:L,initialPosition:T,isHighlighted:O,isMultiSelected:V,isPartiallySelected:U,isReusable:G,isDragging:j,hasChildSelected:z,isSectionBlock:W,isWithinSectionBlock:ee,isSelectionWithinCurrentSection:se,isEditingDisabled:ce,hasEditableOutline:ie,className:re,defaultClassName:Q,originalBlockClientId:Y,bindableAttributes:J,blockVisibility:K,deviceType:H}=r,X={isPreviewMode:a,clientId:t,className:re,index:C,mode:c,name:h,blockApiVersion:B,blockType:I,blockTitle:P,isSelected:b,isSubtreeDisabled:E,hasOverlay:L,initialPosition:T,blockEditingMode:y,isHighlighted:O,isMultiSelected:V,isPartiallySelected:U,isReusable:G,isDragging:j,hasChildSelected:z,isSectionBlock:W,isWithinSectionBlock:ee,isSelectionWithinCurrentSection:se,isEditingDisabled:ce,hasEditableOutline:ie,isEditingContentOnlySection:k,defaultClassName:Q,mayDisplayControls:S,mayDisplayParentControls:x,originalBlockClientId:Y,themeSupportsLayout:v,canMove:m,isBlockCurrentlyHidden:i,bindableAttributes:J,blockVisibility:K,deviceType:H};return i&&!b&&!V&&!z?null:(0,po.jsx)(ur.Provider,{value:X,children:(0,po.jsx)(PD,{...e,mode:c,isSelectionEnabled:u,isLocked:d,canRemove:f,canMove:m,block:s,name:h,attributes:p,isValid:g,isSelected:b})})}var p9=(0,Nu.memo)(jSe);var $5=l(F(),1),lY=l($(),1);var G5=l(N(),1),rY=l(vM(),1),RB=l(F(),1),OB=l(nt(),1);var tY=l(Xo(),1),Gl=l(N(),1),TB=l(A(),1),oY=l(R(),1),IB=l(F(),1),PB=l(Z(),1),Ky=l($(),1);var Ft=l(R(),1),ag=l(A(),1),Xu=l(N(),1),Gy=l(Z(),1),ZK=l(F(),1);var Ch=l(N(),1),Bh=l(R(),1),g9=l(A(),1),ky=l(w(),1),h9=[(0,Bh.createInterpolateElement)((0,Ch.__)("While writing, you can press / to quickly insert new blocks."),{kbd:(0,ky.jsx)("kbd",{})}),(0,Bh.createInterpolateElement)((0,Ch.__)("Indent a list by pressing space at the beginning of a line."),{kbd:(0,ky.jsx)("kbd",{})}),(0,Bh.createInterpolateElement)((0,Ch.__)("Outdent a list by pressing backspace at the beginning of a line."),{kbd:(0,ky.jsx)("kbd",{})}),(0,Ch.__)("Drag files into the editor to automatically insert media blocks."),(0,Ch.__)("Change a block's type by pressing the block icon on the toolbar.")];function USe(){let[e]=(0,Bh.useState)(Math.floor(Math.random()*h9.length));return(0,ky.jsx)(g9.Tip,{children:h9[e]})}var b9=USe;var Wh=l($(),1),A$=l(R(),1),L$=l(N(),1);var bn=l(A(),1),c1=l(F(),1),k9=l(Re(),1),Mu=l(N(),1);var u1=l($(),1);var Cr=l(w(),1),{Badge:HSe}=M(bn.privateApis);function GSe({children:e,onClick:t}){return t?(0,Cr.jsx)(bn.Button,{__next40pxDefaultSize:!0,className:"block-editor-block-card__parent-select-button",onClick:t,children:e}):e}function WSe({title:e,icon:t,description:o,blockType:r,className:n,name:i,allowParentNavigation:s,parentClientId:a,isChild:c,children:u,clientId:d}){r&&((0,k9.default)("`blockType` property in `BlockCard component`",{since:"5.7",alternative:"`title, icon and description` properties"}),{title:e,icon:t,description:o}=r);let{parentBlockClientId:f,parentBlockName:m}=(0,c1.useSelect)(g=>{if(a||c||!s)return{};let{getBlockParents:b,getBlockName:v}=g(_),y=b(d,!1).find(S=>{let x=v(S);return x==="core/navigation"||(0,u1.hasBlockSupport)(x,"listView")});return{parentBlockClientId:y,parentBlockName:y?v(y):null}},[d,s,c,a]),{selectBlock:h}=(0,c1.useDispatch)(_),p=a?"div":"h2";return(0,Cr.jsx)("div",{className:D("block-editor-block-card",{"is-parent":a,"is-child":c},n),children:(0,Cr.jsxs)(bn.__experimentalVStack,{children:[(0,Cr.jsxs)(bn.__experimentalHStack,{justify:"flex-start",spacing:0,children:[f&&(0,Cr.jsx)(bn.Button,{onClick:()=>h(f),label:m?(0,Mu.sprintf)((0,Mu.__)('Go to "%s" block'),(0,u1.getBlockType)(m)?.title):(0,Mu.__)("Go to parent block"),style:{minWidth:24,padding:0},icon:(0,Mu.isRTL)()?Vo:Mr,size:"small"}),c&&(0,Cr.jsx)("span",{className:"block-editor-block-card__child-indicator-icon",children:(0,Cr.jsx)(bn.Icon,{icon:(0,Mu.isRTL)()?Zk:Xk})}),(0,Cr.jsxs)(GSe,{onClick:a?()=>{h(a)}:void 0,children:[(0,Cr.jsx)(Ae,{icon:t,showColors:!0}),(0,Cr.jsxs)(bn.__experimentalVStack,{spacing:1,children:[(0,Cr.jsxs)(p,{className:"block-editor-block-card__title",children:[(0,Cr.jsx)("span",{className:"block-editor-block-card__name",children:i?.length?i:e}),!a&&!c&&!!i?.length&&(0,Cr.jsx)(HSe,{children:e})]}),u]})]})]}),!a&&!c&&o&&(0,Cr.jsx)(bn.__experimentalText,{className:"block-editor-block-card__description",children:o})]})})}var vy=WSe;var Y1=l(Z(),1),_5=l(F(),1),sm=l(R(),1),S5=l(Re(),1);var V9=l(F(),1),Du=l(R(),1),F9=l(A(),1),tm=l(y9(),1);var S9=l(R(),1),Eh=l(F(),1),_9=l(Z(),1);var d1=l(w(),1);function $Se(e,t,o){if(!o)return t;let r=e.get(t);return r||(r=(0,Eh.createRegistry)({},t),r.registerStore(Kt,Qp),e.set(t,r)),r}var KSe=(0,_9.createHigherOrderComponent)(e=>function({useSubRegistry:o=!0,...r}){let n=(0,Eh.useRegistry)(),[i]=(0,S9.useState)(()=>new WeakMap),s=$Se(i,n,o);return s===n?(0,d1.jsx)(e,{registry:n,...r}):(0,d1.jsx)(Eh.RegistryProvider,{value:s,children:(0,d1.jsx)(e,{registry:s,...r})})},"withRegistryProvider"),x9=KSe;var Wr=l(R(),1),E9=l(F(),1),T9=l($(),1);var w9=l(R(),1),YSe=()=>{},f1=(0,w9.createContext)({getSelection:()=>{},onChangeSelection:YSe});var C9=()=>{};function I9(e,t){let o=(0,T9.cloneBlock)(e);return t.externalToInternal.set(e.clientId,o.clientId),t.internalToExternal.set(o.clientId,e.clientId),e.innerBlocks?.length&&(o.innerBlocks=e.innerBlocks.map(r=>I9(r,t))),o}function P9(e,t){return e.map(o=>{let r=t.internalToExternal.get(o.clientId);return{...o,clientId:r??o.clientId,innerBlocks:P9(o.innerBlocks,t)}})}function B9(e,t){let{selectionStart:o,selectionEnd:r,initialPosition:n}=e,i=s=>{if(!s?.clientId)return s;let a=t.internalToExternal.get(s.clientId);return{...s,clientId:a??s.clientId}};return{selectionStart:i(o),selectionEnd:i(r),initialPosition:n}}function m1({clientId:e=null,value:t,onChange:o=C9,onInput:r=C9}){let n=(0,E9.useRegistry)(),{getSelection:i,onChangeSelection:s}=(0,Wr.useContext)(f1),{resetBlocks:a,resetSelection:c,replaceInnerBlocks:u,setHasControlledInnerBlocks:d,__unstableMarkNextChangeAsNotPersistent:f}=n.dispatch(_),{getBlockName:m,getBlocks:h,getSelectionStart:p,getSelectionEnd:g}=n.select(_),b=(0,Wr.useRef)({incoming:null,outgoing:[]}),v=(0,Wr.useRef)(!1),k=(0,Wr.useRef)({externalToInternal:new Map,internalToExternal:new Map}),y=(0,Wr.useRef)(null),S=(0,Wr.useRef)(!1),x=()=>{let E=i();if(!E?.selectionStart?.clientId||E===y.current)return;let L=E.selectionStart.clientId;if(e?k.current.externalToInternal.has(L):!!m(L)){y.current=E;let O=V=>!V?.clientId||!e?V:{...V,clientId:k.current.externalToInternal.get(V.clientId)??V.clientId};S.current=!0,c(O(E.selectionStart),O(E.selectionEnd),E.initialPosition),S.current=!1}},C=()=>{t&&(e?n.batch(()=>{k.current.externalToInternal.clear(),k.current.internalToExternal.clear();let E=t.map(L=>I9(L,k.current));d(e,!0),v.current&&(b.current.incoming=E),f(),u(e,E),y.current=null}):(v.current&&(b.current.incoming=t),f(),a(t)))},B=()=>{f(),e?(d(e,!1),f(),u(e,[])):a([])},I=(0,Wr.useRef)(r),P=(0,Wr.useRef)(o);(0,Wr.useEffect)(()=>{I.current=r,P.current=o},[r,o]),(0,Wr.useEffect)(()=>{let E=b.current.outgoing.includes(t),L=h(e)===t;E?b.current.outgoing[b.current.outgoing.length-1]===t&&(b.current.outgoing=[]):L||(b.current.outgoing=[],C(),x())},[t,e]),(0,Wr.useEffect)(()=>{let{getSelectedBlocksInitialCaretPosition:E,isLastBlockChangePersistent:L,__unstableIsLastBlockChangeIgnored:T,areInnerBlocksControlled:O,getBlockParents:V}=n.select(_),U=h(e),G=L(),j=!1,z=p(),W=g();v.current=!0;let ee=n.subscribe(()=>{if(e!==null&&m(e)===null)return;let se=L(),ce=h(e),ie=ce!==U;if(U=ce,ie&&(b.current.incoming||T())){b.current.incoming=null,G=se;return}let Q=ie||j&&!ie&&se&&!G,Y=p(),J=g(),K=Y!==z||J!==W;K&&(z=Y,W=J),(Q||K)&&n.batch(()=>{if(Q){G=se;let H=e?P9(U,k.current):U,X={selectionStart:Y,selectionEnd:J,initialPosition:E()},ne=e?B9(X,k.current):X;b.current.outgoing.push(H),(G?P.current:I.current)(H,{selection:ne})}if(K&&!Q&&Y?.clientId&&!S.current&&(e?k.current.internalToExternal.has(Y.clientId):!V(Y.clientId).some(X=>O(X)))){let X={selectionStart:Y,selectionEnd:J,initialPosition:E()};s(e?B9(X,k.current):X)}}),j=ie},_);return()=>{v.current=!1,ee()}},[n,e]),(0,Wr.useEffect)(()=>()=>{B()},[])}var R9=l(R(),1),O9=l(F(),1),A9=l(Is(),1),ho=l(N(),1);function L9(){return null}function qSe(){let{registerShortcut:e}=(0,O9.useDispatch)(A9.store);return(0,R9.useEffect)(()=>{e({name:"core/block-editor/copy",category:"block",description:(0,ho.__)("Copy the selected block(s)."),keyCombination:{modifier:"primary",character:"c"}}),e({name:"core/block-editor/cut",category:"block",description:(0,ho.__)("Cut the selected block(s)."),keyCombination:{modifier:"primary",character:"x"}}),e({name:"core/block-editor/paste",category:"block",description:(0,ho.__)("Paste the selected block(s)."),keyCombination:{modifier:"primary",character:"v"}}),e({name:"core/block-editor/duplicate",category:"block",description:(0,ho.__)("Duplicate the selected block(s)."),keyCombination:{modifier:"primaryShift",character:"d"}}),e({name:"core/block-editor/remove",category:"block",description:(0,ho.__)("Remove the selected block(s)."),keyCombination:{modifier:"access",character:"z"}}),e({name:"core/block-editor/paste-styles",category:"block",description:(0,ho.__)("Paste the copied style to the selected block(s)."),keyCombination:{modifier:"primaryAlt",character:"v"}}),e({name:"core/block-editor/insert-before",category:"block",description:(0,ho.__)("Insert a new block before the selected block(s)."),keyCombination:{modifier:"primaryAlt",character:"t"}}),e({name:"core/block-editor/insert-after",category:"block",description:(0,ho.__)("Insert a new block after the selected block(s)."),keyCombination:{modifier:"primaryAlt",character:"y"}}),e({name:"core/block-editor/delete-multi-selection",category:"block",description:(0,ho.__)("Delete selection."),keyCombination:{character:"del"},aliases:[{character:"backspace"}]}),e({name:"core/block-editor/stop-editing-as-blocks",category:"block",description:(0,ho.__)("Finish editing a design."),keyCombination:{character:"escape"}}),e({name:"core/block-editor/select-all",category:"selection",description:(0,ho.__)("Select all text when typing. Press again to select all blocks."),keyCombination:{modifier:"primary",character:"a"}}),e({name:"core/block-editor/unselect",category:"selection",description:(0,ho.__)("Clear selection."),keyCombination:{character:"escape"}}),e({name:"core/block-editor/multi-text-selection",category:"selection",description:(0,ho.__)("Select text across multiple blocks."),keyCombination:{modifier:"shift",character:"arrow"}}),e({name:"core/block-editor/focus-toolbar",category:"global",description:(0,ho.__)("Navigate to the nearest toolbar."),keyCombination:{modifier:"alt",character:"F10"}}),e({name:"core/block-editor/move-up",category:"block",description:(0,ho.__)("Move the selected block(s) up."),keyCombination:{modifier:"secondary",character:"t"}}),e({name:"core/block-editor/move-down",category:"block",description:(0,ho.__)("Move the selected block(s) down."),keyCombination:{modifier:"secondary",character:"y"}}),e({name:"core/block-editor/collapse-list-view",category:"list-view",description:(0,ho.__)("Collapse all other items."),keyCombination:{modifier:"alt",character:"l"}}),e({name:"core/block-editor/group",category:"block",description:(0,ho.__)("Create a group block from the selected multiple blocks."),keyCombination:{modifier:"primary",character:"g"}}),e({name:"core/block-editor/toggle-block-visibility",category:"block",description:(0,ho.__)("Show or hide the selected block(s)."),keyCombination:{modifier:"primaryShift",character:"h"}}),e({name:"core/block-editor/rename",category:"block",description:(0,ho.__)("Rename the selected block."),keyCombination:{modifier:"primaryAlt",character:"r"}})},[e]),null}L9.Register=qSe;var p1=L9;var N9=l(R(),1);function ZSe(e={}){return(0,N9.useMemo)(()=>({mediaUpload:e.mediaUpload,mediaSideload:e.mediaSideload,mediaFinalize:e.mediaFinalize,maxUploadFileSize:e.maxUploadFileSize,allowedMimeTypes:e.allowedMimeTypes,allImageSizes:e.allImageSizes,bigImageSizeThreshold:e.bigImageSizeThreshold}),[e])}var M9=ZSe;var Al=l(w(),1),RD=()=>{},D9=!1,Th=null;function XSe(){if(Th!==null)return Th;if(!window.__clientSideMediaProcessing||typeof tm.detectClientSideMediaSupport!="function")return Th=!1,!1;let e=(0,tm.detectClientSideMediaSupport)();return!e||!e.supported?(D9||(console.info(`Client-side media processing unavailable: ${e.reason}. Using server-side processing.`),D9=!0),Th=!1,!1):(Th=!0,!0)}function QSe(e,t,{allowedTypes:o,additionalData:r={},filesList:n,onError:i=RD,onFileChange:s,onSuccess:a,onBatchSuccess:c}){e.dispatch(tm.store).addItems({files:Array.from(n),onChange:s,onSuccess:u=>{t?.[_0]?.(u),a?.(u)},onBatchSuccess:c,onError:u=>i(typeof u=="string"?u:u?.message??""),additionalData:r,allowedTypes:o})}function JSe(e){return m1(e),null}var Ih=x9(e=>{let{settings:t,registry:o,stripExperimentalSettings:r=!1}=e,n=M9(t),i=XSe(),s=!!t?.mediaUpload?.__isMediaUploadInterceptor,a=(0,Du.useMemo)(()=>{if(i&&t?.mediaUpload&&!s){let p=QSe.bind(null,o,t);return p.__isMediaUploadInterceptor=!0,{...t,mediaUpload:p}}return t},[t,o,i,s]),{__experimentalUpdateSettings:c}=M((0,V9.useDispatch)(_));(0,Du.useEffect)(()=>{c({...a,__internalIsInitialized:!0},{stripExperimentalSettings:r,reset:!0})},[a,r,c]);let u=(0,Du.useRef)(e.selection);u.current=e.selection;let d=(0,Du.useRef)(e.onChangeSelection??RD);d.current=e.onChangeSelection??RD;let f=(0,Du.useMemo)(()=>({getSelection:()=>u.current,onChangeSelection:(...p)=>d.current(...p)}),[]),m=(0,Al.jsxs)(F9.SlotFillProvider,{passthrough:!0,children:[!a?.isPreviewMode&&(0,Al.jsx)(p1.Register,{}),(0,Al.jsx)(LH,{children:e.children})]}),h=(0,Al.jsxs)(f1.Provider,{value:f,children:[(0,Al.jsx)(JSe,{clientId:e.clientId,value:e.value,onChange:e.onChange,onInput:e.onInput}),m]});return i&&!s?(0,Al.jsx)(tm.MediaUploadProvider,{settings:n,useSubRegistry:!1,children:h}):h}),e_e=e=>(0,Al.jsx)(Ih,{...e,stripExperimentalSettings:!0,children:e.children}),z9=e_e;var My=l(Z(),1),x$=l(F(),1),K1=l(R(),1),w$=l(A(),1);var om=l(R(),1),BG=l(N(),1),Vu=l(Z(),1),EG=l(A(),1),VD=l(F(),1);var vG=l(F(),1),yG=l(N(),1),xy=l(Z(),1),SG=l(R(),1);var j9=l(Z(),1),U9=l(F(),1);function t_e(e){let{isMultiSelecting:t,getMultiSelectedBlockClientIds:o,hasMultiSelection:r,getSelectedBlockClientId:n,getSelectedBlocksInitialCaretPosition:i,__unstableIsFullySelected:s}=e(_);return{isMultiSelecting:t(),multiSelectedBlockClientIds:o(),hasMultiSelection:r(),selectedBlockClientId:n(),initialPosition:i(),isFullSelection:s()}}function H9(){let{initialPosition:e,isMultiSelecting:t,multiSelectedBlockClientIds:o,hasMultiSelection:r,selectedBlockClientId:n,isFullSelection:i}=(0,U9.useSelect)(t_e,[]);return(0,j9.useRefEffect)(s=>{let{ownerDocument:a}=s,{defaultView:c}=a;if(e==null||!r||t)return;let{length:u}=o;u<2||i&&(s.contentEditable=!0,s.focus(),c.getSelection().removeAllRanges())},[r,t,o,n,e,i])}var Ph=l(je(),1),OD=l(nt(),1),h1=l(F(),1),g1=l(Z(),1),yy=l(R(),1);var AD=l(w(),1);function G9(){let e=(0,yy.useRef)(),t=(0,yy.useRef)(),o=(0,yy.useRef)(),{hasMultiSelection:r,getSelectedBlockClientId:n,getBlockCount:i,getBlockOrder:s,getLastFocus:a,getSectionRootClientId:c,isZoomOut:u}=M((0,h1.useSelect)(_)),{setLastFocus:d}=M((0,h1.useDispatch)(_)),f=(0,yy.useRef)();function m(v){let k=e.current.ownerDocument===v.target.ownerDocument?e.current:e.current.ownerDocument.defaultView.frameElement;if(f.current)f.current=null;else if(r())e.current.focus();else if(n())a()?.current?a().current.focus():e.current.querySelector(`[data-block="${n()}"]`).focus();else if(u()){let y=c(),S=s(y);S.length?e.current.querySelector(`[data-block="${S[0]}"]`).focus():y?e.current.querySelector(`[data-block="${y}"]`).focus():k.focus()}else{let y=v.target.compareDocumentPosition(k)&v.target.DOCUMENT_POSITION_FOLLOWING,S=Ph.focus.tabbable.find(e.current);S.length&&(y?S[0]:S[S.length-1]).focus()}}let h=(0,AD.jsx)("div",{ref:t,tabIndex:"0",onFocus:m}),p=(0,AD.jsx)("div",{ref:o,tabIndex:"0",onFocus:m}),g=(0,g1.useRefEffect)(v=>{function k(B){if(B.defaultPrevented||B.keyCode!==OD.TAB||!o.current||!t.current)return;let{target:I,shiftKey:P}=B,E=P?"findPrevious":"findNext",L=Ph.focus.tabbable[E](I),T=I.closest("[data-block]"),O=T&&L&&(O7(T,L)||va(T,L));if((0,Ph.isFormElement)(L)&&O)return;let V=P?t:o;f.current=!0,V.current.focus({preventScroll:!0})}function y(B){d({...a(),current:B.target});let{ownerDocument:I}=v;!B.relatedTarget&&B.target.hasAttribute("data-block")&&I.activeElement===I.body&&i()===0&&v.focus()}function S(B){if(B.keyCode!==OD.TAB||B.target?.getAttribute("role")==="region"||e.current===B.target)return;let P=B.shiftKey?"findPrevious":"findNext",E=Ph.focus.tabbable[P](B.target);(E===t.current||E===o.current)&&(B.preventDefault(),E.focus({preventScroll:!0}))}let{ownerDocument:x}=v,{defaultView:C}=x;return C.addEventListener("keydown",S),v.addEventListener("keydown",k),v.addEventListener("focusout",y),()=>{C.removeEventListener("keydown",S),v.removeEventListener("keydown",k),v.removeEventListener("focusout",y)}},[]),b=(0,g1.useMergeRefs)([e,g]);return[h,b,p]}var go=l(je(),1),ya=l(nt(),1),b1=l(F(),1),W9=l(Z(),1);function o_e(e,t,o){let r=t===ya.UP||t===ya.DOWN,{tagName:n}=e,i=e.getAttribute("type");return r&&!o?n==="INPUT"?!["date","datetime-local","month","number","range","time","week"].includes(i):!0:n==="INPUT"?["button","checkbox","number","color","file","image","radio","reset","submit"].includes(i):n!=="TEXTAREA"}function LD(e,t,o,r){let n=go.focus.focusable.find(o);t&&n.reverse(),n=n.slice(n.indexOf(e)+1);let i;r&&(i=e.getBoundingClientRect());function s(a){if(Ni(a)&&go.focus.focusable.find(a).filter(c=>!(0,go.isFormElement)(c)).length!==0||!go.focus.tabbable.isTabbableIndex(a)||a.isContentEditable&&a.contentEditable!=="true")return!1;if(r){let c=a.getBoundingClientRect();if(c.left>=i.right||c.right<=i.left)return!1}return!0}return n.find(s)}function $9(){let{getMultiSelectedBlocksStartClientId:e,getMultiSelectedBlocksEndClientId:t,getSettings:o,hasMultiSelection:r,__unstableIsFullySelected:n}=(0,b1.useSelect)(_),{selectBlock:i}=(0,b1.useDispatch)(_);return(0,W9.useRefEffect)(s=>{let a;function c(){a=null}function u(f,m){let h=LD(f,m,s);return h&&Ni(h)}function d(f){if(f.defaultPrevented)return;let{keyCode:m,target:h,shiftKey:p,ctrlKey:g,altKey:b,metaKey:v}=f,k=m===ya.UP,y=m===ya.DOWN,S=m===ya.LEFT,x=m===ya.RIGHT,C=k||S,B=S||x,I=k||y,P=B||I,E=p||g||b||v,L=I?go.isVerticalEdge:go.isHorizontalEdge,{ownerDocument:T}=s,{defaultView:O}=T;if(!P||o().isPreviewMode)return;if(r()){if(p||!n())return;f.preventDefault(),C?i(e()):i(t(),-1);return}if(!o_e(h,m,E))return;I?a||(a=(0,go.computeCaretRect)(O)):a=null;let V=(0,go.isRTL)(h)?!C:C,{keepCaretInsideBlock:U}=o();if(p)u(h,C)&&L(h,C)&&(s.contentEditable=!0,s.focus());else if(I&&(0,go.isVerticalEdge)(h,C)&&(!b||(0,go.isHorizontalEdge)(h,V))&&!U){let G=LD(h,C,s,!0);G&&((0,go.placeCaretAtVerticalEdge)(G,b?!C:C,b?void 0:a),f.preventDefault())}else if(B&&O.getSelection().isCollapsed&&(0,go.isHorizontalEdge)(h,V)&&!U){let G=LD(h,V,s);(0,go.placeCaretAtHorizontalEdge)(G,C),f.preventDefault()}}return s.addEventListener("mousedown",c),s.addEventListener("keydown",d),()=>{s.removeEventListener("mousedown",c),s.removeEventListener("keydown",d)}},[])}var K9=l(Z(),1),Y9=l(F(),1),Sa=l(nt(),1);function q9(){let e=(0,Y9.useSelect)(t=>t(_).getSettings().isPreviewMode,[]);return(0,K9.useRefEffect)(t=>{if(!e)return;function o(r){let{keyCode:n,shiftKey:i,target:s}=r,a=n===Sa.TAB,c=n===Sa.UP,u=n===Sa.DOWN,d=n===Sa.LEFT;if(!a&&!(c||u||d||n===Sa.RIGHT))return;let h=a?i:c||d,p=Array.from(t.querySelectorAll("[data-block]"));if(!p.length)return;let g=s.closest("[data-block]"),b=g?p.indexOf(g):-1;if(b===-1||a&&(h&&b===0||!h&&b===p.length-1))return;let v;h?v=b<=0?p.length-1:b-1:v=b===-1||b>=p.length-1?0:b+1,r.preventDefault(),p[v].focus()}return t.addEventListener("keydown",o),()=>{t.removeEventListener("keydown",o)}},[e])}var Z9=l(je(),1),k1=l(F(),1),X9=l(Is(),1),Q9=l(Z(),1);function J9(){let{getBlockOrder:e,getSelectedBlockClientIds:t,getBlockRootClientId:o}=(0,k1.useSelect)(_),{multiSelect:r,selectBlock:n}=(0,k1.useDispatch)(_),i=(0,X9.__unstableUseShortcutEventMatch)();return(0,Q9.useRefEffect)(s=>{function a(c){if(!i("core/block-editor/select-all",c))return;let u=t();if(u.length<2&&!(0,Z9.isEntirelySelected)(c.target))return;c.preventDefault();let{ownerDocument:d}=c.target,[f]=u,m=Ni(d.activeElement);if(m&&m!==f&&!va(d.getElementById("block-"+f),d.activeElement)){n(m);return}let h=o(f),p=e(h);if(u.length===p.length){h&&(s.ownerDocument.defaultView.getSelection().removeAllRanges(),n(h));return}r(p[0],p[p.length-1])}return s.addEventListener("keydown",a),()=>{s.removeEventListener("keydown",a)}},[])}var v1=l(F(),1),tG=l(Z(),1);function eG(e,t){e.contentEditable=t,t&&e.focus()}function oG(){let{startMultiSelect:e,stopMultiSelect:t}=(0,v1.useDispatch)(_),{getSettings:o,isSelectionEnabled:r,hasSelectedBlock:n,isDraggingBlocks:i,isMultiSelecting:s}=(0,v1.useSelect)(_);return(0,tG.useRefEffect)(a=>{let{ownerDocument:c}=a,{defaultView:u}=c,d,f;function m(){t(),u.removeEventListener("mouseup",m),f=u.requestAnimationFrame(()=>{if(!n())return;eG(a,!1);let b=u.getSelection();if(b.rangeCount){let v=b.getRangeAt(0),{commonAncestorContainer:k}=v,y=v.cloneRange();d.contains(k)&&(d.focus(),b.removeAllRanges(),b.addRange(y))}})}let h;function p({target:b}){h=b}function g({buttons:b,target:v,relatedTarget:k}){v.contains(h)&&(v.contains(k)||i()||b===1&&(s()||a!==v&&(v.getAttribute("contenteditable")!=="true"&&!o().isPreviewMode||r()&&(d=v,e(),u.addEventListener("mouseup",m),eG(a,!0)))))}return a.addEventListener("mouseout",g),a.addEventListener("mousedown",p),()=>{a.removeEventListener("mouseout",g),u.removeEventListener("mouseup",m),u.cancelAnimationFrame(f)}},[e,t,r,n])}var y1=l(F(),1),iG=l(Z(),1),ND=l(dr(),1),sG=l(je(),1);function r_e(e){let{anchorNode:t,anchorOffset:o}=e;return t.nodeType===t.TEXT_NODE||o===0?t:t.childNodes[o-1]}function n_e(e){let{focusNode:t,focusOffset:o}=e;return t.nodeType===t.TEXT_NODE||o===t.childNodes.length?t:o===0&&(0,sG.isSelectionForward)(e)?t.previousSibling??t.parentElement:t.childNodes[o]}function i_e(e,t){let o=0;for(;e[o]===t[o];)o++;return o}function rG(e,t){e.contentEditable!==String(t)&&(e.contentEditable=t,t&&e.focus())}function nG(e){return(e.nodeType===e.ELEMENT_NODE?e:e.parentElement)?.closest("[data-wp-block-attribute-key]")}function aG(){let{multiSelect:e,selectBlock:t,selectionChange:o}=(0,y1.useDispatch)(_),{getBlockParents:r,getBlockSelectionStart:n,isMultiSelecting:i}=(0,y1.useSelect)(_);return(0,iG.useRefEffect)(s=>{let{ownerDocument:a}=s,{defaultView:c}=a;function u(d){let f=c.getSelection();if(!f.rangeCount)return;let m=r_e(f),h=n_e(f);if(!s.contains(m)||!s.contains(h))return;let p=d.shiftKey&&d.type==="mouseup";if(f.isCollapsed&&!p){if(s.contentEditable==="true"&&!i()){rG(s,!1);let k=m.nodeType===m.ELEMENT_NODE?m:m.parentElement;k=k?.closest("[contenteditable]"),k?.focus()}return}let g=Ni(m),b=Ni(h);if(p){let k=n(),y=Ni(d.target),S=y!==b;(g===b&&f.isCollapsed||!b||S)&&(b=y),g!==k&&(g=k)}if(g===void 0&&b===void 0){rG(s,!1);return}if(d.type==="mouseup"&&!d.shiftKey&&!i()&&g===b){let k=Ni(d.target);if(k&&k!==g){f.removeAllRanges();return}}if(g===b)i()?e(g,g):t(g);else{let k=[...r(g),g],y=[...r(b),b],S=i_e(k,y);if(k[S]!==g||y[S]!==b){e(k[S],y[S]);return}let x=nG(m),C=nG(h);if(x&&C){let B=f.getRangeAt(0),I=(0,ND.create)({element:x,range:B,__unstableIsEditableTree:!0}),P=(0,ND.create)({element:C,range:B,__unstableIsEditableTree:!0}),E=I.start??I.end,L=P.start??P.end;o({start:{clientId:g,attributeKey:x.dataset.wpBlockAttributeKey,offset:E},end:{clientId:b,attributeKey:C.dataset.wpBlockAttributeKey,offset:L}})}else e(g,b)}}return a.addEventListener("selectionchange",u),c.addEventListener("mouseup",u),()=>{a.removeEventListener("selectionchange",u),c.removeEventListener("mouseup",u)}},[e,t,o,r])}var S1=l(F(),1),lG=l(Z(),1);function cG(){let{selectBlock:e}=(0,S1.useDispatch)(_),{isSelectionEnabled:t,getBlockSelectionStart:o,hasMultiSelection:r}=(0,S1.useSelect)(_);return(0,lG.useRefEffect)(n=>{function i(s){if(!t()||s.button!==0)return;let a=o(),c=Ni(s.target);s.shiftKey?a&&a!==c&&(n.contentEditable=!0,n.focus()):r()&&e(c)}return n.addEventListener("mousedown",i),()=>{n.removeEventListener("mousedown",i)}},[e,t,o,r])}var _1=l(F(),1),uG=l(Z(),1),Ll=l(nt(),1),Ps=l($(),1);function dG(){let{__unstableIsFullySelected:e,getSelectedBlockClientIds:t,getSelectedBlockClientId:o,__unstableIsSelectionMergeable:r,hasMultiSelection:n,getBlockName:i,canInsertBlockType:s,getBlockRootClientId:a,getSelectionStart:c,getSelectionEnd:u,getBlockAttributes:d}=(0,_1.useSelect)(_),{replaceBlocks:f,__unstableSplitSelection:m,removeBlocks:h,__unstableDeleteSelection:p,__unstableExpandSelection:g,__unstableMarkAutomaticChange:b}=(0,_1.useDispatch)(_);return(0,uG.useRefEffect)(v=>{function k(x){v.contentEditable==="true"&&x.preventDefault()}function y(x){if(!x.defaultPrevented){if(!n()){if(x.keyCode===Ll.ENTER){if(x.shiftKey||e())return;let C=o(),B=i(C),I=c(),P=u();if(I.attributeKey===P.attributeKey){let E=d(C)[I.attributeKey],L=(0,Ps.getBlockTransforms)("from").filter(({type:O})=>O==="enter"),T=(0,Ps.findTransform)(L,O=>O.regExp.test(E));if(T){f(C,T.transform({content:E})),b();return}}if(!(0,Ps.hasBlockSupport)(B,"splitting",!1)&&!x.__deprecatedOnSplit)return;(s((0,Ps.getDefaultBlockName)(),a(C))||s(B,a(C)))&&(m(),x.preventDefault())}return}x.keyCode===Ll.ENTER?(v.contentEditable=!1,x.preventDefault(),e()?f(t(),(0,Ps.createBlock)((0,Ps.getDefaultBlockName)())):m()):x.keyCode===Ll.BACKSPACE||x.keyCode===Ll.DELETE?(v.contentEditable=!1,x.preventDefault(),e()?h(t()):r()?p(x.keyCode===Ll.DELETE):g()):x.key.length===1&&!(x.metaKey||x.ctrlKey)&&(v.contentEditable=!1,r()?p(x.keyCode===Ll.DELETE):(x.preventDefault(),v.ownerDocument.defaultView.getSelection().removeAllRanges()))}}function S(x){n()&&(v.contentEditable=!1,r()?p():(x.preventDefault(),v.ownerDocument.defaultView.getSelection().removeAllRanges()))}return v.addEventListener("beforeinput",k),v.addEventListener("keydown",y),v.addEventListener("compositionstart",S),()=>{v.removeEventListener("beforeinput",k),v.removeEventListener("keydown",y),v.removeEventListener("compositionstart",S)}},[])}var _a=l($(),1),w1=l(je(),1),Ah=l(F(),1),kG=l(Z(),1);var fG=l(R(),1),mG=l($(),1),Sy=l(F(),1),Di=l(N(),1),pG=l(Ii(),1);function Rh(){let{getBlockName:e}=(0,Sy.useSelect)(_),{getBlockType:t}=(0,Sy.useSelect)(mG.store),{createSuccessNotice:o}=(0,Sy.useDispatch)(pG.store);return(0,fG.useCallback)((r,n)=>{let i="";if(r==="copyStyles")i=(0,Di.__)("Styles copied to clipboard.");else if(n.length===1){let s=n[0],a=t(e(s))?.title;r==="copy"?i=(0,Di.sprintf)((0,Di.__)('Copied "%s" to clipboard.'),a):i=(0,Di.sprintf)((0,Di.__)('Moved "%s" to clipboard.'),a)}else r==="copy"?i=(0,Di.sprintf)((0,Di._n)("Copied %d block to clipboard.","Copied %d blocks to clipboard.",n.length),n.length):i=(0,Di.sprintf)((0,Di._n)("Moved %d block to clipboard.","Moved %d blocks to clipboard.",n.length),n.length);o(i,{type:"snackbar"})},[o,e,t])}var gG=l(je(),1),Vi=l($(),1);var hG=l(je(),1);function s_e(e){let t="",o=e.indexOf(t);if(o>-1)e=e.substring(o+t.length);else return e;let n=e.indexOf("");return n>-1&&(e=e.substring(0,n)),e}function a_e(e){let t="";return e.startsWith(t)?e.slice(t.length):e}function Oh({clipboardData:e}){let t="",o="";try{t=e.getData("text/plain"),o=e.getData("text/html")}catch{return}o=s_e(o),o=a_e(o);let r=(0,hG.getFilesFromDataTransfer)(e);return r.length&&!l_e(r,o)?{files:r}:{html:o,plainText:t,files:[]}}function l_e(e,t){if(t&&e?.length===1&&e[0].type.indexOf("image/")===0){let o=/<\s*img\b/gi;if(t.match(o)?.length!==1)return!0;let r=/<\s*img\b[^>]*\bsrc="file:\/\//i;if(t.match(r))return!0}return!1}var MD=Symbol("requiresWrapperOnCopy");function x1(e,t,o){let r=t,[n]=t;if(n&&o.select(Vi.store).getBlockType(n.name)[MD]){let{getBlockRootClientId:a,getBlockName:c,getBlockAttributes:u}=o.select(_),d=a(n.clientId),f=c(d);f&&(r=(0,Vi.createBlock)(f,u(d),r))}let i=(0,Vi.serialize)(r);e.clipboardData.setData("text/plain",c_e(i)),e.clipboardData.setData("text/html",i)}function bG(e,t){let{plainText:o,html:r,files:n}=Oh(e),i=[];if(n.length){let s=(0,Vi.getBlockTransforms)("from");i=n.reduce((a,c)=>{let u=(0,Vi.findTransform)(s,d=>d.type==="files"&&d.isMatch([c]));return u&&a.push(u.transform([c])),a},[]).flat()}else i=(0,Vi.pasteHandler)({HTML:r,plainText:o,mode:"BLOCKS",canUserUseUnfilteredHTML:t});return i}function c_e(e){return e=e.replace(/
/g,` + `}}),i&&f&&(p+=yu(t,s,"constrained",f)),p},getOrientation(){return"vertical"},getAlignments(e){let t=Jw(e);if(e.alignments!==void 0)return e.alignments.includes("none")||e.alignments.unshift("none"),e.alignments.map(i=>({name:i,info:t[i]}));let{contentSize:o,wideSize:r}=e,n=[{name:"left"},{name:"center"},{name:"right"}];return o&&n.unshift({name:"full"}),r&&n.unshift({name:"wide",info:t.wide}),n.unshift({name:"none",info:t.none}),n}},zve={placement:"bottom-start"};function jve({layout:e,onChange:t}){let{justifyContent:o="center"}=e;return(0,Qo.jsx)(ah,{allowedControls:["left","center","right"],value:o,onChange:i=>{t({...e,justifyContent:i})},popoverProps:zve})}var Fr=l(N(),1),rt=l(A(),1),rC=l(R(),1);var Ye=l(w(),1),Uve={px:600,"%":100,vw:100,vh:100,em:38,rem:38,svw:100,lvw:100,dvw:100,svh:100,lvh:100,dvh:100,vi:100,svi:100,lvi:100,dvi:100,vb:100,svb:100,lvb:100,dvb:100,vmin:100,svmin:100,lvmin:100,dvmin:100,vmax:100,svmax:100,lvmax:100,dvmax:100},Hve=[{value:"px",label:"px",default:0},{value:"rem",label:"rem",default:0},{value:"em",label:"em",default:0}],lH={name:"grid",label:(0,Fr.__)("Grid"),inspectorControls:function({layout:t={},onChange:o,layoutBlockSupport:r={}}){let{allowSizingOnChildren:n=!1}=r,i=!0,s=!t?.isManualPlacement||window.__experimentalEnableGridInteractivity;return(0,Ye.jsxs)(Ye.Fragment,{children:[window.__experimentalEnableGridInteractivity&&(0,Ye.jsx)($ve,{layout:t,onChange:o}),(0,Ye.jsxs)(rt.__experimentalVStack,{spacing:4,children:[i&&(0,Ye.jsx)(Wve,{layout:t,onChange:o,allowSizingOnChildren:n}),s&&(0,Ye.jsx)(Gve,{layout:t,onChange:o})]})]})},toolBarControls:function(){return null},getLayoutStyle:function({selector:t,layout:o,style:r,blockName:n,hasBlockGapSupport:i,globalBlockGapValue:s,layoutDefinitions:a=Un}){let{minimumColumnWidth:c=null,columnCount:u=null,rowCount:d=null}=o,f="1.2rem";if(s){let b=mr(s,"0.5em").split(" ");f=b.length>1?b[1]:b[0]}let m=r?.spacing?.blockGap&&!Ue(n,"spacing","blockGap")?mr(r?.spacing?.blockGap,f):void 0,h="",p=[];if(c&&u>0){let g=m||f;(g==="0"||g===0)&&(g="0px");let b=`max(min( ${c}, 100%), ( 100% - (${g}*${u-1}) ) / ${u})`;p.push(`grid-template-columns: repeat(auto-fill, minmax(${b}, 1fr))`,"container-type: inline-size"),d&&p.push(`grid-template-rows: repeat(${d}, minmax(1rem, auto))`)}else u?(p.push(`grid-template-columns: repeat(${u}, minmax(0, 1fr))`),d&&p.push(`grid-template-rows: repeat(${d}, minmax(1rem, auto))`)):p.push(`grid-template-columns: repeat(auto-fill, minmax(min(${c||"12rem"}, 100%), 1fr))`,"container-type: inline-size");return p.length&&(h=`${Hn(t)} { ${p.join("; ")}; }`),i&&m&&(h+=yu(t,a,"grid",m)),h},getOrientation(){return"horizontal"},getAlignments(){return[]}};function Gve({layout:e,onChange:t}){let{minimumColumnWidth:o,columnCount:r,isManualPlacement:n}=e,s=o||(n||r?null:"12rem"),[a,c="rem"]=(0,rt.__experimentalParseQuantityAndUnitFromRawValue)(s),u=f=>{t({...e,minimumColumnWidth:[f,c].join("")})},d=f=>{let m;["em","rem"].includes(f)&&c==="px"?m=(a/16).toFixed(2)+f:["em","rem"].includes(c)&&f==="px"&&(m=Math.round(a*16)+f),t({...e,minimumColumnWidth:m})};return(0,Ye.jsxs)("fieldset",{className:"block-editor-hooks__grid-layout-minimum-width-control",children:[(0,Ye.jsx)(rt.BaseControl.VisualLabel,{as:"legend",children:(0,Fr.__)("Min. column width")}),(0,Ye.jsxs)(rt.Flex,{gap:4,children:[(0,Ye.jsx)(rt.FlexItem,{isBlock:!0,children:(0,Ye.jsx)(rt.__experimentalUnitControl,{size:"__unstable-large",onChange:f=>{t({...e,minimumColumnWidth:f===""?void 0:f})},onUnitChange:d,value:s,units:Hve,min:0,label:(0,Fr.__)("Minimum column width"),hideLabelFromVision:!0})}),(0,Ye.jsx)(rt.FlexItem,{isBlock:!0,children:(0,Ye.jsx)(rt.RangeControl,{__next40pxDefaultSize:!0,onChange:u,value:a||0,min:0,max:Uve[c]||600,withInputField:!1,label:(0,Fr.__)("Minimum column width"),hideLabelFromVision:!0})})]}),(0,Ye.jsx)("p",{className:"components-base-control__help",children:(0,Fr.__)("Columns will wrap to fewer per row when they can no longer maintain the minimum width.")})]})}function Wve({layout:e,onChange:t,allowSizingOnChildren:o}){let{columnCount:n=void 0,rowCount:i,isManualPlacement:s}=e;return(0,Ye.jsx)(Ye.Fragment,{children:(0,Ye.jsxs)("fieldset",{className:"block-editor-hooks__grid-layout-columns-and-rows-controls",children:[!s&&(0,Ye.jsx)(rt.BaseControl.VisualLabel,{as:"legend",children:(0,Fr.__)("Max. columns")}),(0,Ye.jsxs)(rt.Flex,{gap:4,children:[(0,Ye.jsx)(rt.FlexItem,{isBlock:!0,children:(0,Ye.jsx)(rt.__experimentalNumberControl,{size:"__unstable-large",onChange:a=>{let u=a===""||a==="0"?s?1:void 0:parseInt(a,10);t({...e,columnCount:u})},value:n,min:1,label:(0,Fr.__)("Columns"),hideLabelFromVision:!s})}),(0,Ye.jsx)(rt.FlexItem,{isBlock:!0,children:o&&s?(0,Ye.jsx)(rt.__experimentalNumberControl,{size:"__unstable-large",onChange:a=>{let c=a===""||a==="0"?1:parseInt(a,10);t({...e,rowCount:c})},value:i,min:1,label:(0,Fr.__)("Rows")}):(0,Ye.jsx)(rt.RangeControl,{__next40pxDefaultSize:!0,value:n??1,onChange:a=>t({...e,columnCount:a===""||a==="0"?1:a}),min:1,max:16,withInputField:!1,label:(0,Fr.__)("Columns"),hideLabelFromVision:!0})})]})]})})}function $ve({layout:e,onChange:t}){let{columnCount:o,rowCount:r,minimumColumnWidth:n,isManualPlacement:i}=e,[s,a]=(0,rC.useState)(o||3),[c,u]=(0,rC.useState)(r),[d,f]=(0,rC.useState)(n||"12rem"),m=i?"manual":"auto",h=g=>{g==="manual"?f(n||"12rem"):(a(o||3),u(r)),t({...e,columnCount:s,rowCount:g==="manual"?c:void 0,isManualPlacement:g==="manual"?!0:void 0,minimumColumnWidth:g==="auto"?d:null})},p=m==="manual"?(0,Fr.__)("Grid items can be manually placed in any position on the grid."):(0,Fr.__)("Grid items are placed automatically depending on their order.");return(0,Ye.jsxs)(rt.__experimentalToggleGroupControl,{__next40pxDefaultSize:!0,label:(0,Fr.__)("Grid item position"),value:m,onChange:h,isBlock:!0,help:p,children:[(0,Ye.jsx)(rt.__experimentalToggleGroupControlOption,{value:"auto",label:(0,Fr.__)("Auto")},"auto"),(0,Ye.jsx)(rt.__experimentalToggleGroupControlOption,{value:"manual",label:(0,Fr.__)("Manual")},"manual")]})}var cH=[nH,oH,aH,lH];function xs(e="default"){return cH.find(t=>t.name===e)}function uH(){return cH}var SM=l(w(),1),_M={type:"default"},xM=(0,nC.createContext)(_M);xM.displayName="BlockLayoutContext";var dH=xM.Provider;function Uf(){return(0,nC.useContext)(xM)}function fH({layout:e={},css:t,...o}){let r=xs(e.type),[n]=me("spacing.blockGap"),i=n!==null;if(r){if(t)return(0,SM.jsx)("style",{children:t});let s=r.getLayoutStyle?.({hasBlockGapSupport:i,layout:e,...o});if(s)return(0,SM.jsx)("style",{children:s})}return null}var iC=[],mH=["none","left","center","right","wide","full"],Kve=["wide","full"];function Uv(e=mH){e.includes("none")||(e=["none",...e]);let t=e.length===1&&e[0]==="none",[o,r,n]=(0,pH.useSelect)(c=>{if(t)return[!1,!1,!1];let u=c(_).getSettings();return[u.alignWide??!1,u.supportsLayout,u.__unstableIsBlockBasedTheme]},[t]),i=Uf();if(t)return iC;let s=xs(i?.type);if(r){let u=s.getAlignments(i,n).filter(d=>e.includes(d.name));return u.length===1&&u[0].name==="none"?iC:u}if(s.name!=="default"&&s.name!=="constrained")return iC;let a=e.filter(c=>i.alignments?i.alignments.includes(c):!o&&Kve.includes(c)?!1:mH.includes(c)).map(c=>({name:c}));return a.length===1&&a[0].name==="none"?iC:a}var _u=l(N(),1);var Hv={none:{icon:_f,title:(0,_u._x)("None","Alignment option")},left:{icon:VL,title:(0,_u.__)("Align left")},center:{icon:ML,title:(0,_u.__)("Align center")},right:{icon:zL,title:(0,_u.__)("Align right")},wide:{icon:Lf,title:(0,_u.__)("Wide width")},full:{icon:Sv,title:(0,_u.__)("Full width")}},hH="none";var Hf=l(w(),1);function Yve({value:e,onChange:t,controls:o,isToolbar:r,isCollapsed:n=!0}){let i=Uv(o);if(!!!i.length)return null;function a(h){t([e,"none"].includes(h)?void 0:h)}let c=Hv[e],u=Hv[hH],d=r?xu.ToolbarGroup:xu.ToolbarDropdownMenu,f={icon:c?c.icon:u.icon,label:(0,wM.__)("Align")},m=r?{isCollapsed:n,controls:i.map(({name:h})=>({...Hv[h],isActive:e===h||!e&&h==="none",role:n?"menuitemradio":void 0,onClick:()=>a(h)}))}:{toggleProps:{description:(0,wM.__)("Change alignment")},children:({onClose:h})=>(0,Hf.jsx)(Hf.Fragment,{children:(0,Hf.jsx)(xu.MenuGroup,{className:"block-editor-block-alignment-control__menu-group",children:i.map(({name:p,info:g})=>{let{icon:b,title:v}=Hv[p],k=p===e||!e&&p==="none";return(0,Hf.jsx)(xu.MenuItem,{icon:b,iconPosition:"left",className:D("components-dropdown-menu__menu-item",{"is-active":k}),isSelected:k,onClick:()=>{a(p),h()},role:"menuitemradio",info:g,children:v},p)})})})};return(0,Hf.jsx)(d,{...f,...m})}var CM=Yve;var BM=l(w(),1),sC=e=>(0,BM.jsx)(CM,{...e,isToolbar:!1}),gH=e=>(0,BM.jsx)(CM,{...e,isToolbar:!0});var SH=l(yf(),1),uC=l(N(),1),dC=l($(),1),Cs=l(A(),1),IM=l(F(),1),_H=l(R(),1),xH=l(Z(),1);var TM=l(yf(),1),bH=l($(),1),kH=l(A(),1),vH=l(F(),1),lC=l(R(),1),yH=l(Z(),1);var aC=l(F(),1);function EM(e){return!e||Object.keys(e).length===0}function El(e){let{clientId:t}=Ie(),o=e||t,{updateBlockAttributes:r}=(0,aC.useDispatch)(_),{getBlockAttributes:n}=(0,aC.useRegistry)().select(_);return{updateBlockBindings:a=>{let{metadata:{bindings:c,...u}={}}=n(o),d={...c};Object.entries(a).forEach(([m,h])=>{if(!h&&d[m]){delete d[m];return}d[m]=h});let f={...u,bindings:d};EM(f.bindings)&&delete f.bindings,r(o,{metadata:EM(f)?void 0:f})},removeAllBlockBindings:()=>{let{metadata:{bindings:a,...c}={}}=n(o);r(o,{metadata:EM(c)?void 0:c})}}}var ws=l(w(),1),{Menu:wu}=M(kH.privateApis);function qve({args:e,attribute:t,field:o,source:r,sourceKey:n}){let i=(0,lC.useMemo)(()=>({source:n,args:o.args||{key:o.key}}),[o.args,o.key,n]),s=(0,lC.useContext)(xr),a=(0,vH.useSelect)(u=>r.getValues({select:u,context:s,bindings:{[t]:i}}),[t,s,i,r]),{updateBlockBindings:c}=El();return(0,ws.jsxs)(wu.CheckboxItem,{onChange:()=>{let u=(0,TM.default)(e,o.args)??o.key===e?.key;c(u?{[t]:void 0}:{[t]:i})},name:t+"-binding",value:a[t],checked:(0,TM.default)(e,o.args)??o.key===e?.key,children:[(0,ws.jsx)(wu.ItemLabel,{children:o.label}),(0,ws.jsx)(wu.ItemHelpText,{children:a[t]})]})}function Gv({args:e,attribute:t,sourceKey:o,fields:r}){let n=(0,yH.useViewportMatch)("medium","<");if(!r||r.length===0)return null;let i=(0,bH.getBlockBindingsSource)(o);return(0,ws.jsxs)(wu,{placement:n?"bottom-start":"left-start",children:[(0,ws.jsx)(wu.SubmenuTriggerItem,{children:(0,ws.jsx)(wu.ItemLabel,{children:i.label})}),(0,ws.jsx)(wu.Popover,{gutter:8,children:(0,ws.jsx)(wu.Group,{children:r.map(s=>(0,ws.jsx)(qve,{args:e,attribute:t,field:s,source:i,sourceKey:o},o+JSON.stringify(s.args)||s.key))})})]},o)}var Ri=l(w(),1),{Menu:cC}=M(Cs.privateApis);function Wv({attribute:e,binding:t,blockName:o}){let{updateBlockBindings:r}=El(),n=(0,xH.useViewportMatch)("medium","<"),i=(0,_H.useContext)(xr),s=(0,IM.useSelect)(g=>{let{getAllBlockBindingsSources:b,getBlockBindingsSourceFieldsList:v,getBlockType:k}=M(g(dC.store)),y=k(o).attributes?.[e];if(y?.enum)return{};let S=y?.type==="rich-text"?"string":y?.type,x={};return Object.entries(b()).forEach(([C,B])=>{let I=v(B,i);if(!I?.length)return;let P=I.filter(E=>E.type===S);P.length&&(x[C]=P)}),x},[e,o,i]),{canUpdateBlockBindings:a}=(0,IM.useSelect)(g=>({canUpdateBlockBindings:g(_).getSettings().canUpdateBlockBindings})),c=Object.keys(s).length>0,u=!a||!c,{source:d,args:f}=t||{},m=(0,dC.getBlockBindingsSource)(d),h,p=!0;return t===void 0?(c?h=(0,uC.__)("Not connected"):h=(0,uC.__)("No sources available"),p=!0):m?h=s?.[d]?.find(g=>(0,SH.default)(g.args,f))?.label||m?.label||d:(p=!1,h=(0,uC.__)("Source not registered")),(0,Ri.jsx)(Cs.__experimentalToolsPanelItem,{hasValue:()=>!!t,label:e,onDeselect:!!c&&(()=>{r({[e]:void 0})}),children:(0,Ri.jsxs)(cC,{placement:n?"bottom-start":"left-start",children:[(0,Ri.jsx)(cC.TriggerButton,{render:(0,Ri.jsx)(Cs.__experimentalItem,{}),disabled:!c,children:(0,Ri.jsxs)(Cs.__experimentalVStack,{className:"block-editor-bindings__item",spacing:0,children:[(0,Ri.jsx)(Cs.__experimentalText,{truncate:!0,children:e}),(0,Ri.jsx)(Cs.__experimentalText,{truncate:!0,variant:p?"muted":void 0,isDestructive:!p,children:h})]})}),!u&&(0,Ri.jsx)(cC.Popover,{gutter:n?8:36,children:(0,Ri.jsx)(cC,{placement:n?"bottom-start":"left-start",children:Object.entries(s).map(([g,b])=>(0,Ri.jsx)(Gv,{args:t?.args,attribute:e,sourceKey:g,fields:b},g))})})]})})}var wH=l(N(),1),CH=l(A(),1);var BH=l(w(),1);function Zve({isActive:e,label:t=(0,wH.__)("Full height"),onToggle:o,isDisabled:r}){return(0,BH.jsx)(CH.ToolbarButton,{isActive:e,icon:AA,label:t,onClick:()=>o(!e),disabled:r})}var EH=Zve;var IH=l(N(),1),PH=l(nt(),1),Gf=l(A(),1),$v=l(w(),1),Xve=()=>{};function Qve(e){let{label:t=(0,IH.__)("Change matrix alignment"),onChange:o=Xve,value:r="center",isDisabled:n}=e,i=(0,$v.jsx)(Gf.AlignmentMatrixControl.Icon,{value:r});return(0,$v.jsx)(Gf.Dropdown,{popoverProps:{placement:"bottom-start"},renderToggle:({onToggle:s,isOpen:a})=>(0,$v.jsx)(Gf.ToolbarButton,{onClick:s,"aria-haspopup":"true","aria-expanded":a,onKeyDown:u=>{!a&&u.keyCode===PH.DOWN&&(u.preventDefault(),s())},label:t,icon:i,showTooltip:!0,disabled:n}),renderContent:()=>(0,$v.jsx)(Gf.AlignmentMatrixControl,{onChange:o,value:r})})}var RH=Qve;var OM=l(A(),1),pC=l(F(),1),hC=l(N(),1);var VH=l(R(),1);var OH=l(F(),1),fC=l($(),1);function zr({clientId:e,maximumLength:t,context:o}){let r=(0,OH.useSelect)(n=>{if(!e)return null;let{getBlockName:i,getBlockAttributes:s}=n(_),{getBlockType:a,getActiveBlockVariation:c}=n(fC.store),u=i(e),d=a(u);if(!d)return null;let f=s(e),m=(0,fC.__experimentalGetBlockLabel)(d,f,o);return m!==d.title?m:c(u,f)?.title||d.title},[e,o]);return r?t&&t>0&&r.length>t?r.slice(0,t-3)+"...":r:null}function Kv({clientId:e,maximumLength:t,context:o}){return zr({clientId:e,maximumLength:t,context:o})}var Wf=l(R(),1),NH=l(Z(),1);var mC=l(R(),1),PM=l(Z(),1),AH=l(w(),1),Yv=(0,mC.createContext)({refsMap:(0,PM.observableMap)()});Yv.displayName="BlockRefsContext";function LH({children:e}){let t=(0,mC.useMemo)(()=>({refsMap:(0,PM.observableMap)()}),[]);return(0,AH.jsx)(Yv.Provider,{value:t,children:e})}function MH(e){let{refsMap:t}=(0,Wf.useContext)(Yv);return(0,NH.useRefEffect)(o=>(t.set(e,o),()=>t.delete(e)),[e])}function RM(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function $f(e,t){let{refsMap:o}=(0,Wf.useContext)(Yv);(0,Wf.useLayoutEffect)(()=>{RM(t,o.get(e));let r=o.subscribe(e,()=>RM(t,o.get(e)));return()=>{r(),RM(t,null)}},[o,e,t])}function ft(e){let[t,o]=(0,Wf.useState)(null);return $f(e,o),t}function DH(e){if(!e)return null;let t=Array.from(document.querySelectorAll('iframe[name="editor-canvas"]').values()).find(o=>(o.contentDocument||o.contentWindow.document)===e.ownerDocument)??e;return t?.closest('[role="region"]')??t}var Gn=l(w(),1);function Jve({rootLabelText:e}){let{selectBlock:t,clearSelectedBlock:o}=(0,pC.useDispatch)(_),{clientId:r,parents:n,hasSelection:i}=(0,pC.useSelect)(c=>{let{getSelectionStart:u,getSelectedBlockClientId:d,getEnabledBlockParents:f}=M(c(_)),m=d();return{parents:f(m),clientId:m,hasSelection:!!u().clientId}},[]),s=e||(0,hC._x)("Document","noun, breadcrumb"),a=(0,VH.useRef)();return $f(r,a),(0,Gn.jsxs)("ul",{className:"block-editor-block-breadcrumb",role:"list","aria-label":(0,hC.__)("Block breadcrumb"),children:[(0,Gn.jsxs)("li",{className:i?void 0:"block-editor-block-breadcrumb__current","aria-current":i?void 0:"true",children:[i&&(0,Gn.jsx)(OM.Button,{size:"small",className:"block-editor-block-breadcrumb__button",onClick:()=>{let c=a.current?.closest(".editor-styles-wrapper");o(),DH(c)?.focus()},children:s}),!i&&(0,Gn.jsx)("span",{children:s}),!!r&&(0,Gn.jsx)(we,{icon:tu,className:"block-editor-block-breadcrumb__separator"})]}),n.map(c=>(0,Gn.jsxs)("li",{children:[(0,Gn.jsx)(OM.Button,{size:"small",className:"block-editor-block-breadcrumb__button",onClick:()=>t(c),children:(0,Gn.jsx)(Kv,{clientId:c,maximumLength:35,context:"breadcrumb"})}),(0,Gn.jsx)(we,{icon:tu,className:"block-editor-block-breadcrumb__separator"})]},c)),!!r&&(0,Gn.jsx)("li",{className:"block-editor-block-breadcrumb__current","aria-current":"true",children:(0,Gn.jsx)(Kv,{clientId:r,maximumLength:35,context:"breadcrumb"})})]})}var FH=Jve;var zH=l(F(),1);function jH(e){return(0,zH.useSelect)(t=>{let{__unstableHasActiveBlockOverlayActive:o}=t(_);return o(e)},[e])}var _T=l(Z(),1),ZQ=l(R(),1),XQ=l(F(),1),QQ=l(A(),1);var Gi=l(F(),1),qB=l(Z(),1),td=l(R(),1),sq=l($(),1);var Nu=l(R(),1),He=l($(),1),f9=l(A(),1),a1=l(F(),1),l1=l(Z(),1),m9=l(je(),1);var Tl=l(N(),1),bC=l(A(),1),Kf=l(R(),1),ch=l($(),1),kC=l(F(),1);var ZH=l($H(),1),gC=l(N(),1),XH=l($(),1);var KH=l(A(),1),YH=l(R(),1),qH=l(je(),1),ga=l(w(),1);function LM({title:e,rawContent:t,renderedContent:o,action:r,actionText:n,className:i}){return(0,ga.jsxs)("div",{className:i,children:[(0,ga.jsxs)("div",{className:"block-editor-block-compare__content",children:[(0,ga.jsx)("h2",{className:"block-editor-block-compare__heading",children:e}),(0,ga.jsx)("div",{className:"block-editor-block-compare__html",children:t}),(0,ga.jsx)("div",{className:"block-editor-block-compare__preview edit-post-visual-editor",children:(0,ga.jsx)(YH.RawHTML,{children:(0,qH.safeHTML)(o)})})]}),(0,ga.jsx)("div",{className:"block-editor-block-compare__action",children:(0,ga.jsx)(KH.Button,{__next40pxDefaultSize:!0,variant:"secondary",tabIndex:"0",onClick:r,children:n})})]})}var lh=l(w(),1);function iye({block:e,onKeep:t,onConvert:o,convertor:r,convertButtonText:n}){function i(u,d){return(0,ZH.diffChars)(u,d).map((m,h)=>{let p=D({"block-editor-block-compare__added":m.added,"block-editor-block-compare__removed":m.removed});return(0,lh.jsx)("span",{className:p,children:m.value},h)})}function s(u){return(Array.isArray(u)?u:[u]).map(m=>(0,XH.getSaveContent)(m.name,m.attributes,m.innerBlocks)).join("")}let a=s(r(e)),c=i(e.originalContent,a);return(0,lh.jsxs)("div",{className:"block-editor-block-compare__wrapper",children:[(0,lh.jsx)(LM,{title:(0,gC.__)("Current"),className:"block-editor-block-compare__current",action:t,actionText:(0,gC.__)("Convert to HTML"),rawContent:e.originalContent,renderedContent:e.originalContent}),(0,lh.jsx)(LM,{title:(0,gC.__)("After Conversion"),className:"block-editor-block-compare__converted",action:o,actionText:n,rawContent:c,renderedContent:a})]})}var QH=iye;var Il=l(w(),1),JH=e=>(0,ch.rawHandler)({HTML:e.originalContent});function e8({clientId:e}){let{block:t,canInsertHTMLBlock:o,canInsertClassicBlock:r}=(0,kC.useSelect)(d=>{let{canInsertBlockType:f,getBlock:m,getBlockRootClientId:h}=d(_),p=h(e);return{block:m(e),canInsertHTMLBlock:f("core/html",p),canInsertClassicBlock:f("core/freeform",p)}},[e]),{replaceBlock:n}=(0,kC.useDispatch)(_),[i,s]=(0,Kf.useState)(!1),a=(0,Kf.useCallback)(()=>s(!1),[]),c=(0,Kf.useMemo)(()=>({toClassic(){let d=(0,ch.createBlock)("core/freeform",{content:t.originalContent});return n(t.clientId,d)},toHTML(){let d=(0,ch.createBlock)("core/html",{content:t.originalContent});return n(t.clientId,d)},toBlocks(){let d=JH(t);return n(t.clientId,d)},toRecoveredBlock(){let d=(0,ch.createBlock)(t.name,t.attributes,t.innerBlocks);return n(t.clientId,d)}}),[t,n]),u=(0,Kf.useMemo)(()=>[{title:(0,Tl._x)("Resolve","imperative verb"),onClick:()=>s(!0)},o&&{title:(0,Tl.__)("Convert to HTML"),onClick:c.toHTML},r&&{title:(0,Tl.__)("Convert to Classic Block"),onClick:c.toClassic}].filter(Boolean),[o,r,c]);return(0,Il.jsxs)(Il.Fragment,{children:[(0,Il.jsx)(pu,{actions:[(0,Il.jsx)(bC.Button,{__next40pxDefaultSize:!0,onClick:c.toRecoveredBlock,variant:"primary",children:(0,Tl.__)("Attempt recovery")},"recover")],secondaryActions:u,children:(0,Tl.__)("Block contains unexpected or invalid content.")}),i&&(0,Il.jsx)(bC.Modal,{title:(0,Tl.__)("Resolve Block"),onRequestClose:a,className:"block-editor-block-compare",children:(0,Il.jsx)(QH,{block:t,onKeep:c.toHTML,onConvert:c.toBlocks,convertor:JH,convertButtonText:(0,Tl.__)("Convert to Blocks")})})]})}var t8=l(N(),1);var o8=l(w(),1),sye=(0,o8.jsx)(pu,{className:"block-editor-block-list__block-crash-warning",children:(0,t8.__)("This block has encountered an error and cannot be previewed.")}),r8=()=>sye;var n8=l(R(),1),aye=class extends n8.Component{constructor(){super(...arguments),this.state={hasError:!1}}componentDidCatch(){this.setState({hasError:!0})}render(){return this.state.hasError?this.props.fallback:this.props.children}},i8=aye;var w8=l(DM(),1),_C=l(R(),1),xC=l(F(),1),ba=l($(),1);var C8=l(w(),1);function kye({clientId:e}){let[t,o]=(0,_C.useState)(""),r=(0,xC.useSelect)(s=>s(_).getBlock(e),[e]),{updateBlock:n}=(0,xC.useDispatch)(_),i=()=>{let s=(0,ba.getBlockType)(r.name);if(!s)return;let a=(0,ba.getBlockAttributes)(s,t,r.attributes),c=t||(0,ba.getSaveContent)(s,a),[u]=t?(0,ba.validateBlock)({...r,attributes:a,originalContent:c}):[!0];n(e,{attributes:a,originalContent:c,isValid:u}),t||o(c)};return(0,_C.useEffect)(()=>{o((0,ba.getBlockContent)(r))},[r]),(0,C8.jsx)(w8.default,{className:"block-editor-block-list__block-html-textarea",value:t,onBlur:i,onChange:s=>o(s.target.value)})}var B8=kye;var c9=l(R(),1),i1=l(N(),1),u9=l($(),1),wh=l(Z(),1),d9=l(Xv(),1);var FM=Jv(),Se=e=>Qv(e,FM),zM=Jv();Se.write=e=>Qv(e,zM);var wC=Jv();Se.onStart=e=>Qv(e,wC);var jM=Jv();Se.onFrame=e=>Qv(e,jM);var UM=Jv();Se.onFinish=e=>Qv(e,UM);var uh=[];Se.setTimeout=(e,t)=>{let o=Se.now()+t,r=()=>{let i=uh.findIndex(s=>s.cancel==r);~i&&uh.splice(i,1),Bu-=~i?1:0},n={time:o,handler:e,cancel:r};return uh.splice(T8(o),0,n),Bu+=1,I8(),n};var T8=e=>~(~uh.findIndex(t=>t.time>e)||~uh.length);Se.cancel=e=>{wC.delete(e),jM.delete(e),UM.delete(e),FM.delete(e),zM.delete(e)};Se.sync=e=>{VM=!0,Se.batchedUpdates(e),VM=!1};Se.throttle=e=>{let t;function o(){try{e(...t)}finally{t=null}}function r(...n){t=n,Se.onStart(o)}return r.handler=e,r.cancel=()=>{wC.delete(o),t=null},r};var HM=typeof window<"u"?window.requestAnimationFrame:()=>{};Se.use=e=>HM=e;Se.now=typeof performance<"u"?()=>performance.now():Date.now;Se.batchedUpdates=e=>e();Se.catch=console.error;Se.frameLoop="always";Se.advance=()=>{Se.frameLoop!=="demand"?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):R8()};var Cu=-1,Bu=0,VM=!1;function Qv(e,t){VM?(t.delete(e),e(0)):(t.add(e),I8())}function I8(){Cu<0&&(Cu=0,Se.frameLoop!=="demand"&&HM(P8))}function vye(){Cu=-1}function P8(){~Cu&&(HM(P8),Se.batchedUpdates(R8))}function R8(){let e=Cu;Cu=Se.now();let t=T8(Cu);if(t&&(O8(uh.splice(0,t),o=>o.handler()),Bu-=t),!Bu){vye();return}wC.flush(),FM.flush(e?Math.min(64,Cu-e):16.667),jM.flush(),zM.flush(),UM.flush()}function Jv(){let e=new Set,t=e;return{add(o){Bu+=t==e&&!e.has(o)?1:0,e.add(o)},delete(o){return Bu-=t==e&&e.has(o)?1:0,e.delete(o)},flush(o){t.size&&(e=new Set,Bu-=t.size,O8(t,r=>r(o)&&e.add(r)),Bu+=e.size,t=e)}}}function O8(e,t){e.forEach(o=>{try{t(o)}catch(r){Se.catch(r)}})}var Ai=l(jr());function IC(){}var V8=(e,t,o)=>Object.defineProperty(e,t,{value:o,writable:!0,configurable:!0}),ae={arr:Array.isArray,obj:e=>!!e&&e.constructor.name==="Object",fun:e=>typeof e=="function",str:e=>typeof e=="string",num:e=>typeof e=="number",und:e=>e===void 0};function ka(e,t){if(ae.arr(e)){if(!ae.arr(t)||e.length!==t.length)return!1;for(let o=0;oe.forEach(t);function Li(e,t,o){if(ae.arr(e)){for(let r=0;rae.und(e)?[]:ae.arr(e)?e:[e];function ph(e,t){if(e.size){let o=Array.from(e);e.clear(),bt(o,t)}}var hh=(e,...t)=>ph(e,o=>o(...t)),qM=()=>typeof window>"u"||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),ZM,F8,Eu=null,z8=!1,XM=IC,yye=e=>{e.to&&(F8=e.to),e.now&&(Se.now=e.now),e.colors!==void 0&&(Eu=e.colors),e.skipAnimation!=null&&(z8=e.skipAnimation),e.createStringInterpolator&&(ZM=e.createStringInterpolator),e.requestAnimationFrame&&Se.use(e.requestAnimationFrame),e.batchedUpdates&&(Se.batchedUpdates=e.batchedUpdates),e.willAdvance&&(XM=e.willAdvance),e.frameLoop&&(Se.frameLoop=e.frameLoop)},Wn=Object.freeze({__proto__:null,get createStringInterpolator(){return ZM},get to(){return F8},get colors(){return Eu},get skipAnimation(){return z8},get willAdvance(){return XM},assign:yye}),ey=new Set,Oi=[],GM=[],EC=0,gh={get idle(){return!ey.size&&!Oi.length},start(e){EC>e.priority?(ey.add(e),Se.onStart(Sye)):(j8(e),Se(KM))},advance:KM,sort(e){if(EC)Se.onFrame(()=>gh.sort(e));else{let t=Oi.indexOf(e);~t&&(Oi.splice(t,1),U8(e))}},clear(){Oi=[],ey.clear()}};function Sye(){ey.forEach(j8),ey.clear(),Se(KM)}function j8(e){Oi.includes(e)||U8(e)}function U8(e){Oi.splice(_ye(Oi,t=>t.priority>e.priority),0,e)}function KM(e){let t=GM;for(let o=0;o0}function _ye(e,t){let o=e.findIndex(t);return o<0?e.length:o}var H8={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},Bs="[-+]?\\d*\\.?\\d+",TC=Bs+"%";function PC(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}var xye=new RegExp("rgb"+PC(Bs,Bs,Bs)),wye=new RegExp("rgba"+PC(Bs,Bs,Bs,Bs)),Cye=new RegExp("hsl"+PC(Bs,TC,TC)),Bye=new RegExp("hsla"+PC(Bs,TC,TC,Bs)),Eye=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,Tye=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,Iye=/^#([0-9a-fA-F]{6})$/,Pye=/^#([0-9a-fA-F]{8})$/;function Rye(e){let t;return typeof e=="number"?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=Iye.exec(e))?parseInt(t[1]+"ff",16)>>>0:Eu&&Eu[e]!==void 0?Eu[e]:(t=xye.exec(e))?(dh(t[1])<<24|dh(t[2])<<16|dh(t[3])<<8|255)>>>0:(t=wye.exec(e))?(dh(t[1])<<24|dh(t[2])<<16|dh(t[3])<<8|N8(t[4]))>>>0:(t=Eye.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=Pye.exec(e))?parseInt(t[1],16)>>>0:(t=Tye.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=Cye.exec(e))?(A8(L8(t[1]),CC(t[2]),CC(t[3]))|255)>>>0:(t=Bye.exec(e))?(A8(L8(t[1]),CC(t[2]),CC(t[3]))|N8(t[4]))>>>0:null}function WM(e,t,o){return o<0&&(o+=1),o>1&&(o-=1),o<1/6?e+(t-e)*6*o:o<1/2?t:o<2/3?e+(t-e)*(2/3-o)*6:e}function A8(e,t,o){let r=o<.5?o*(1+t):o+t-o*t,n=2*o-r,i=WM(n,r,e+1/3),s=WM(n,r,e),a=WM(n,r,e-1/3);return Math.round(i*255)<<24|Math.round(s*255)<<16|Math.round(a*255)<<8}function dh(e){let t=parseInt(e,10);return t<0?0:t>255?255:t}function L8(e){return(parseFloat(e)%360+360)%360/360}function N8(e){let t=parseFloat(e);return t<0?0:t>1?255:Math.round(t*255)}function CC(e){let t=parseFloat(e);return t<0?0:t>100?1:t/100}function M8(e){let t=Rye(e);if(t===null)return e;t=t||0;let o=(t&4278190080)>>>24,r=(t&16711680)>>>16,n=(t&65280)>>>8,i=(t&255)/255;return`rgba(${o}, ${r}, ${n}, ${i})`}var Tu=(e,t,o)=>{if(ae.fun(e))return e;if(ae.arr(e))return Tu({range:e,output:t,extrapolate:o});if(ae.str(e.output[0]))return ZM(e);let r=e,n=r.output,i=r.range||[0,1],s=r.extrapolateLeft||r.extrapolate||"extend",a=r.extrapolateRight||r.extrapolate||"extend",c=r.easing||(u=>u);return u=>{let d=Aye(u,i);return Oye(u,i[d],i[d+1],n[d],n[d+1],c,s,a,r.map)}};function Oye(e,t,o,r,n,i,s,a,c){let u=c?c(e):e;if(uo){if(a==="identity")return u;a==="clamp"&&(u=o)}return r===n?r:t===o?e<=t?r:n:(t===-1/0?u=-u:o===1/0?u=u-t:u=(u-t)/(o-t),u=i(u),r===-1/0?u=-u:n===1/0?u=u+r:u=u*(n-r)+r,u)}function Aye(e,t){for(var o=1;o=e);++o);return o-1}function YM(){return YM=Object.assign?Object.assign.bind():function(e){for(var t=1;t!!(e&&e[fh]),pr=e=>e&&e[fh]?e[fh]():e,QM=e=>e[Yf]||null;function Lye(e,t){e.eventObserved?e.eventObserved(t):e(t)}function qf(e,t){let o=e[Yf];o&&o.forEach(r=>{Lye(r,t)})}var mh=class{constructor(t){if(this[fh]=void 0,this[Yf]=void 0,!t&&!(t=this.get))throw Error("Unknown getter");Nye(this,t)}},Nye=(e,t)=>G8(e,fh,t);function Iu(e,t){if(e[fh]){let o=e[Yf];o||G8(e,Yf,o=new Set),o.has(t)||(o.add(t),e.observerAdded&&e.observerAdded(o.size,t))}return t}function Pu(e,t){let o=e[Yf];if(o&&o.has(t)){let r=o.size-1;r?o.delete(t):e[Yf]=null,e.observerRemoved&&e.observerRemoved(r,t)}}var G8=(e,t,o)=>Object.defineProperty(e,t,{value:o,writable:!0,configurable:!0}),BC=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,Mye=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,D8=new RegExp(`(${BC.source})(%|[a-z]+)`,"i"),Dye=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,RC=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,W8=e=>{let[t,o]=Vye(e);if(!t||qM())return e;let r=window.getComputedStyle(document.documentElement).getPropertyValue(t);if(r)return r.trim();if(o&&o.startsWith("--")){let n=window.getComputedStyle(document.documentElement).getPropertyValue(o);return n||e}else{if(o&&RC.test(o))return W8(o);if(o)return o}return e},Vye=e=>{let t=RC.exec(e);if(!t)return[,];let[,o,r]=t;return[o,r]},$M,Fye=(e,t,o,r,n)=>`rgba(${Math.round(t)}, ${Math.round(o)}, ${Math.round(r)}, ${n})`,OC=e=>{$M||($M=Eu?new RegExp(`(${Object.keys(Eu).join("|")})(?!\\w)`,"g"):/^\b$/);let t=e.output.map(i=>pr(i).replace(RC,W8).replace(Mye,M8).replace($M,M8)),o=t.map(i=>i.match(BC).map(Number)),n=o[0].map((i,s)=>o.map(a=>{if(!(s in a))throw Error('The arity of each "output" value must be equal');return a[s]})).map(i=>Tu(YM({},e,{output:i})));return i=>{var s;let a=!D8.test(t[0])&&((s=t.find(u=>D8.test(u)))==null?void 0:s.replace(BC,"")),c=0;return t[0].replace(BC,()=>`${n[c++](i)}${a||""}`).replace(Dye,Fye)}},$8="react-spring: ",K8=e=>{let t=e,o=!1;if(typeof t!="function")throw new TypeError(`${$8}once requires a function parameter`);return(...r)=>{o||(t(...r),o=!0)}},zye=K8(console.warn);function Y8(){zye(`${$8}The "interpolate" function is deprecated in v9 (use "to" instead)`)}var Uze=K8(console.warn);function bh(e){return ae.str(e)&&(e[0]=="#"||/\d/.test(e)||!qM()&&RC.test(e)||e in(Eu||{}))}var ty=qM()?Ai.useEffect:Ai.useLayoutEffect,jye=()=>{let e=(0,Ai.useRef)(!1);return ty(()=>(e.current=!0,()=>{e.current=!1}),[]),e};function JM(){let e=(0,Ai.useState)()[1],t=jye();return()=>{t.current&&e(Math.random())}}function q8(e,t){let[o]=(0,Ai.useState)(()=>({inputs:t,result:e()})),r=(0,Ai.useRef)(),n=r.current,i=n;return i?t&&i.inputs&&Uye(t,i.inputs)||(i={inputs:t,result:e()}):i=o,(0,Ai.useEffect)(()=>{r.current=i,n==o&&(o.inputs=o.result=void 0)},[i]),i.result}function Uye(e,t){if(e.length!==t.length)return!1;for(let o=0;o(0,Ai.useEffect)(e,Hye),Hye=[];var dy=l(jr()),fy=l(jr());var J8=l(jr()),Rl=l(jr()),oy=Symbol.for("Animated:node"),Gye=e=>!!e&&e[oy]===e,Es=e=>e&&e[oy],MC=(e,t)=>V8(e,oy,t),ry=e=>e&&e[oy]&&e[oy].getPayload(),AC=class{constructor(){this.payload=void 0,MC(this,this)}getPayload(){return this.payload||[]}},Zf=class e extends AC{constructor(t){super(),this.done=!0,this.elapsedTime=void 0,this.lastPosition=void 0,this.lastVelocity=void 0,this.v0=void 0,this.durationProgress=0,this._value=t,ae.num(this._value)&&(this.lastPosition=this._value)}static create(t){return new e(t)}getPayload(){return[this]}getValue(){return this._value}setValue(t,o){return ae.num(t)&&(this.lastPosition=t,o&&(t=Math.round(t/o)*o,this.done&&(this.lastPosition=t))),this._value===t?!1:(this._value=t,!0)}reset(){let{done:t}=this;this.done=!1,ae.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,t&&(this.lastVelocity=null),this.v0=null)}},Xf=class e extends Zf{constructor(t){super(0),this._string=null,this._toString=void 0,this._toString=Tu({output:[t,t]})}static create(t){return new e(t)}getValue(){let t=this._string;return t??(this._string=this._toString(this._value))}setValue(t){if(ae.str(t)){if(t==this._string)return!1;this._string=t,this._value=1}else if(super.setValue(t))this._string=null;else return!1;return!0}reset(t){t&&(this._toString=Tu({output:[this.getValue(),t]})),this._value=0,super.reset()}},LC={dependencies:null},Qf=class extends AC{constructor(t){super(),this.source=t,this.setValue(t)}getValue(t){let o={};return Li(this.source,(r,n)=>{Gye(r)?o[n]=r.getValue(t):Ur(r)?o[n]=pr(r):t||(o[n]=r)}),o}setValue(t){this.source=t,this.payload=this._makePayload(t)}reset(){this.payload&&bt(this.payload,t=>t.reset())}_makePayload(t){if(t){let o=new Set;return Li(t,this._addToPayload,o),Array.from(o)}}_addToPayload(t){LC.dependencies&&Ur(t)&&LC.dependencies.add(t);let o=ry(t);o&&bt(o,r=>this.add(r))}},tD=class e extends Qf{constructor(t){super(t)}static create(t){return new e(t)}getValue(){return this.source.map(t=>t.getValue())}setValue(t){let o=this.getPayload();return t.length==o.length?o.map((r,n)=>r.setValue(t[n])).some(Boolean):(super.setValue(t.map(Wye)),!0)}};function Wye(e){return(bh(e)?Xf:Zf).create(e)}function DC(e){let t=Es(e);return t?t.constructor:ae.arr(e)?tD:bh(e)?Xf:Zf}function NC(){return NC=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let o=!ae.fun(e)||e.prototype&&e.prototype.isReactComponent;return(0,Rl.forwardRef)((r,n)=>{let i=(0,Rl.useRef)(null),s=o&&(0,Rl.useCallback)(p=>{i.current=Kye(n,p)},[n]),[a,c]=$ye(r,t),u=JM(),d=()=>{let p=i.current;if(o&&!p)return;(p?t.applyAnimatedValues(p,a.getValue(!0)):!1)===!1&&u()},f=new oD(d,c),m=(0,Rl.useRef)();ty(()=>(m.current=f,bt(c,p=>Iu(p,f)),()=>{m.current&&(bt(m.current.deps,p=>Pu(p,m.current)),Se.cancel(m.current.update))})),(0,Rl.useEffect)(d,[]),eD(()=>()=>{let p=m.current;bt(p.deps,g=>Pu(g,p))});let h=t.getComponentProps(a.getValue());return J8.createElement(e,NC({},h,{ref:s}))})},oD=class{constructor(t,o){this.update=t,this.deps=o}eventObserved(t){t.type=="change"&&Se.write(this.update)}};function $ye(e,t){let o=new Set;return LC.dependencies=o,e.style&&(e=NC({},e,{style:t.createAnimatedStyle(e.style)})),e=new Qf(e),LC.dependencies=null,[e,o]}function Kye(e,t){return e&&(ae.fun(e)?e(t):e.current=t),t}var X8=Symbol.for("AnimatedComponent"),e7=(e,{applyAnimatedValues:t=()=>!1,createAnimatedStyle:o=n=>new Qf(n),getComponentProps:r=n=>n}={})=>{let n={applyAnimatedValues:t,createAnimatedStyle:o,getComponentProps:r},i=s=>{let a=Q8(s)||"Anonymous";return ae.str(s)?s=i[s]||(i[s]=Z8(s,n)):s=s[X8]||(s[X8]=Z8(s,n)),s.displayName=`Animated(${a})`,s};return Li(e,(s,a)=>{ae.arr(e)&&(a=Q8(s)),i[a]=i(s)}),{animated:i}},Q8=e=>ae.str(e)?e:e&&ae.str(e.displayName)?e.displayName:ae.fun(e)&&e.name||null;function Hr(){return Hr=Object.assign?Object.assign.bind():function(e){for(var t=1;te===!0||!!(t&&e&&(ae.fun(e)?e(t):hn(e).includes(t))),f7=(e,t)=>ae.obj(e)?t&&e[t]:e,m7=(e,t)=>e.default===!0?e[t]:e.default?e.default[t]:void 0,Yye=e=>e,p7=(e,t=Yye)=>{let o=qye;e.default&&e.default!==!0&&(e=e.default,o=Object.keys(e));let r={};for(let n of o){let i=t(e[n],n);ae.und(i)||(r[n]=i)}return r},qye=["config","onProps","onStart","onChange","onPause","onResume","onRest"],Zye={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function Xye(e){let t={},o=0;if(Li(e,(r,n)=>{Zye[n]||(t[n]=r,o++)}),o)return t}function h7(e){let t=Xye(e);if(t){let o={to:t};return Li(e,(r,n)=>n in t||(o[n]=r)),o}return Hr({},e)}function ly(e){return e=pr(e),ae.arr(e)?e.map(ly):bh(e)?Wn.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function iD(e){return ae.fun(e)||ae.arr(e)&&ae.obj(e[0])}var Qye={default:{tension:170,friction:26},gentle:{tension:120,friction:14},wobbly:{tension:180,friction:12},stiff:{tension:210,friction:20},slow:{tension:280,friction:60},molasses:{tension:280,friction:120}},zC=1.70158,VC=zC*1.525,t7=zC+1,o7=2*Math.PI/3,r7=2*Math.PI/4.5,FC=e=>e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375,Jye={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>1-(1-e)*(1-e),easeInOutQuad:e=>e<.5?2*e*e:1-Math.pow(-2*e+2,2)/2,easeInCubic:e=>e*e*e,easeOutCubic:e=>1-Math.pow(1-e,3),easeInOutCubic:e=>e<.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2,easeInQuart:e=>e*e*e*e,easeOutQuart:e=>1-Math.pow(1-e,4),easeInOutQuart:e=>e<.5?8*e*e*e*e:1-Math.pow(-2*e+2,4)/2,easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>1-Math.pow(1-e,5),easeInOutQuint:e=>e<.5?16*e*e*e*e*e:1-Math.pow(-2*e+2,5)/2,easeInSine:e=>1-Math.cos(e*Math.PI/2),easeOutSine:e=>Math.sin(e*Math.PI/2),easeInOutSine:e=>-(Math.cos(Math.PI*e)-1)/2,easeInExpo:e=>e===0?0:Math.pow(2,10*e-10),easeOutExpo:e=>e===1?1:1-Math.pow(2,-10*e),easeInOutExpo:e=>e===0?0:e===1?1:e<.5?Math.pow(2,20*e-10)/2:(2-Math.pow(2,-20*e+10))/2,easeInCirc:e=>1-Math.sqrt(1-Math.pow(e,2)),easeOutCirc:e=>Math.sqrt(1-Math.pow(e-1,2)),easeInOutCirc:e=>e<.5?(1-Math.sqrt(1-Math.pow(2*e,2)))/2:(Math.sqrt(1-Math.pow(-2*e+2,2))+1)/2,easeInBack:e=>t7*e*e*e-zC*e*e,easeOutBack:e=>1+t7*Math.pow(e-1,3)+zC*Math.pow(e-1,2),easeInOutBack:e=>e<.5?Math.pow(2*e,2)*((VC+1)*2*e-VC)/2:(Math.pow(2*e-2,2)*((VC+1)*(e*2-2)+VC)+2)/2,easeInElastic:e=>e===0?0:e===1?1:-Math.pow(2,10*e-10)*Math.sin((e*10-10.75)*o7),easeOutElastic:e=>e===0?0:e===1?1:Math.pow(2,-10*e)*Math.sin((e*10-.75)*o7)+1,easeInOutElastic:e=>e===0?0:e===1?1:e<.5?-(Math.pow(2,20*e-10)*Math.sin((20*e-11.125)*r7))/2:Math.pow(2,-20*e+10)*Math.sin((20*e-11.125)*r7)/2+1,easeInBounce:e=>1-FC(1-e),easeOutBounce:FC,easeInOutBounce:e=>e<.5?(1-FC(1-2*e))/2:(1+FC(2*e-1))/2},sD=Hr({},Qye.default,{mass:1,damping:1,easing:Jye.linear,clamp:!1}),aD=class{constructor(){this.tension=void 0,this.friction=void 0,this.frequency=void 0,this.damping=void 0,this.mass=void 0,this.velocity=0,this.restVelocity=void 0,this.precision=void 0,this.progress=void 0,this.duration=void 0,this.easing=void 0,this.clamp=void 0,this.bounce=void 0,this.decay=void 0,this.round=void 0,Object.assign(this,sD)}};function eSe(e,t,o){o&&(o=Hr({},o),n7(o,t),t=Hr({},o,t)),n7(e,t),Object.assign(e,t);for(let s in sD)e[s]==null&&(e[s]=sD[s]);let{mass:r,frequency:n,damping:i}=e;return ae.und(n)||(n<.01&&(n=.01),i<0&&(i=0),e.tension=Math.pow(2*Math.PI/n,2)*r,e.friction=4*Math.PI*i*r/n),e}function n7(e,t){if(!ae.und(t.decay))e.duration=void 0;else{let o=!ae.und(t.tension)||!ae.und(t.friction);(o||!ae.und(t.frequency)||!ae.und(t.damping)||!ae.und(t.mass))&&(e.duration=void 0,e.decay=void 0),o&&(e.frequency=void 0)}}var i7=[],lD=class{constructor(){this.changed=!1,this.values=i7,this.toValues=null,this.fromValues=i7,this.to=void 0,this.from=void 0,this.config=new aD,this.immediate=!1}};function g7(e,{key:t,props:o,defaultProps:r,state:n,actions:i}){return new Promise((s,a)=>{var c;let u,d,f=ay((c=o.cancel)!=null?c:r?.cancel,t);if(f)p();else{ae.und(o.pause)||(n.paused=ay(o.pause,t));let g=r?.pause;g!==!0&&(g=n.paused||ay(g,t)),u=Jf(o.delay||0,t),g?(n.resumeQueue.add(h),i.pause()):(i.resume(),h())}function m(){n.resumeQueue.add(h),n.timeouts.delete(d),d.cancel(),u=d.time-Se.now()}function h(){u>0&&!Wn.skipAnimation?(n.delayed=!0,d=Se.setTimeout(p,u),n.pauseQueue.add(m),n.timeouts.add(d)):p()}function p(){n.delayed&&(n.delayed=!1),n.pauseQueue.delete(m),n.timeouts.delete(d),e<=(n.cancelId||0)&&(f=!0);try{i.start(Hr({},o,{callId:e,cancel:f}),s)}catch(g){a(g)}}})}var hD=(e,t)=>t.length==1?t[0]:t.some(o=>o.cancelled)?kh(e.get()):t.every(o=>o.noop)?b7(e.get()):Ts(e.get(),t.every(o=>o.finished)),b7=e=>({value:e,noop:!0,finished:!0,cancelled:!1}),Ts=(e,t,o=!1)=>({value:e,finished:t,cancelled:o}),kh=e=>({value:e,cancelled:!0,finished:!1});function k7(e,t,o,r){let{callId:n,parentId:i,onRest:s}=t,{asyncTo:a,promise:c}=o;return!i&&e===a&&!t.reset?c:o.promise=(async()=>{o.asyncId=n,o.asyncTo=e;let u=p7(t,(b,v)=>v==="onRest"?void 0:b),d,f,m=new Promise((b,v)=>(d=b,f=v)),h=b=>{let v=n<=(o.cancelId||0)&&kh(r)||n!==o.asyncId&&Ts(r,!1);if(v)throw b.result=v,f(b),b},p=(b,v)=>{let k=new jC,y=new UC;return(async()=>{if(Wn.skipAnimation)throw cy(o),y.result=Ts(r,!1),f(y),y;h(k);let S=ae.obj(b)?Hr({},b):Hr({},v,{to:b});S.parentId=n,Li(u,(C,B)=>{ae.und(S[B])&&(S[B]=C)});let x=await r.start(S);return h(k),o.paused&&await new Promise(C=>{o.resumeQueue.add(C)}),x})()},g;if(Wn.skipAnimation)return cy(o),Ts(r,!1);try{let b;ae.arr(e)?b=(async v=>{for(let k of v)await p(k)})(e):b=Promise.resolve(e(p,r.stop.bind(r))),await Promise.all([b.then(d),m]),g=Ts(r.get(),!0,!1)}catch(b){if(b instanceof jC)g=b.result;else if(b instanceof UC)g=b.result;else throw b}finally{n==o.asyncId&&(o.asyncId=i,o.asyncTo=i?a:void 0,o.promise=i?c:void 0)}return ae.fun(s)&&Se.batchedUpdates(()=>{s(g,r,r.item)}),g})()}function cy(e,t){ph(e.timeouts,o=>o.cancel()),e.pauseQueue.clear(),e.resumeQueue.clear(),e.asyncId=e.asyncTo=e.promise=void 0,t&&(e.cancelId=t)}var jC=class extends Error{constructor(){super("An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise."),this.result=void 0}},UC=class extends Error{constructor(){super("SkipAnimationSignal"),this.result=void 0}},cD=e=>e instanceof uy,tSe=1,uy=class extends mh{constructor(...t){super(...t),this.id=tSe++,this.key=void 0,this._priority=0}get priority(){return this._priority}set priority(t){this._priority!=t&&(this._priority=t,this._onPriorityChange(t))}get(){let t=Es(this);return t&&t.getValue()}to(...t){return Wn.to(this,t)}interpolate(...t){return Y8(),Wn.to(this,t)}toJSON(){return this.get()}observerAdded(t){t==1&&this._attach()}observerRemoved(t){t==0&&this._detach()}_attach(){}_detach(){}_onChange(t,o=!1){qf(this,{type:"change",parent:this,value:t,idle:o})}_onPriorityChange(t){this.idle||gh.sort(this),qf(this,{type:"priority",parent:this,priority:t})}},em=Symbol.for("SpringPhase"),v7=1,uD=2,dD=4,rD=e=>(e[em]&v7)>0,Ru=e=>(e[em]&uD)>0,ny=e=>(e[em]&dD)>0,s7=(e,t)=>t?e[em]|=uD|v7:e[em]&=~uD,a7=(e,t)=>t?e[em]|=dD:e[em]&=~dD,fD=class extends uy{constructor(t,o){if(super(),this.key=void 0,this.animation=new lD,this.queue=void 0,this.defaultProps={},this._state={paused:!1,delayed:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._pendingCalls=new Set,this._lastCallId=0,this._lastToId=0,this._memoizedDuration=0,!ae.und(t)||!ae.und(o)){let r=ae.obj(t)?Hr({},t):Hr({},o,{from:t});ae.und(r.default)&&(r.default=!0),this.start(r)}}get idle(){return!(Ru(this)||this._state.asyncTo)||ny(this)}get goal(){return pr(this.animation.to)}get velocity(){let t=Es(this);return t instanceof Zf?t.lastVelocity||0:t.getPayload().map(o=>o.lastVelocity||0)}get hasAnimated(){return rD(this)}get isAnimating(){return Ru(this)}get isPaused(){return ny(this)}get isDelayed(){return this._state.delayed}advance(t){let o=!0,r=!1,n=this.animation,{config:i,toValues:s}=n,a=ry(n.to);!a&&Ur(n.to)&&(s=hn(pr(n.to))),n.values.forEach((d,f)=>{if(d.done)return;let m=d.constructor==Xf?1:a?a[f].lastPosition:s[f],h=n.immediate,p=m;if(!h){if(p=d.lastPosition,i.tension<=0){d.done=!0;return}let g=d.elapsedTime+=t,b=n.fromValues[f],v=d.v0!=null?d.v0:d.v0=ae.arr(i.velocity)?i.velocity[f]:i.velocity,k,y=i.precision||(b==m?.005:Math.min(1,Math.abs(m-b)*.001));if(ae.und(i.duration))if(i.decay){let S=i.decay===!0?.998:i.decay,x=Math.exp(-(1-S)*g);p=b+v/(1-S)*(1-x),h=Math.abs(d.lastPosition-p)<=y,k=v*x}else{k=d.lastVelocity==null?v:d.lastVelocity;let S=i.restVelocity||y/10,x=i.clamp?0:i.bounce,C=!ae.und(x),B=b==m?d.v0>0:bS,!(!I&&(h=Math.abs(m-p)<=y,h)));++T){C&&(P=p==m||p>m==B,P&&(k=-k*x,p=m));let O=-i.tension*1e-6*(p-m),V=-i.friction*.001*k,U=(O+V)/i.mass;k=k+U*E,p=p+k*E}}else{let S=1;i.duration>0&&(this._memoizedDuration!==i.duration&&(this._memoizedDuration=i.duration,d.durationProgress>0&&(d.elapsedTime=i.duration*d.durationProgress,g=d.elapsedTime+=t)),S=(i.progress||0)+g/this._memoizedDuration,S=S>1?1:S<0?0:S,d.durationProgress=S),p=b+i.easing(S)*(m-b),k=(p-d.lastPosition)/t,h=S==1}d.lastVelocity=k,Number.isNaN(p)&&(console.warn("Got NaN while animating:",this),h=!0)}a&&!a[f].done&&(h=!1),h?d.done=!0:o=!1,d.setValue(p,i.round)&&(r=!0)});let c=Es(this),u=c.getValue();if(o){let d=pr(n.to);(u!==d||r)&&!i.decay?(c.setValue(d),this._onChange(d)):r&&i.decay&&this._onChange(u),this._stop()}else r&&this._onChange(u)}set(t){return Se.batchedUpdates(()=>{this._stop(),this._focus(t),this._set(t)}),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(Ru(this)){let{to:t,config:o}=this.animation;Se.batchedUpdates(()=>{this._onStart(),o.decay||this._set(t,!1),this._stop()})}return this}update(t){return(this.queue||(this.queue=[])).push(t),this}start(t,o){let r;return ae.und(t)?(r=this.queue||[],this.queue=[]):r=[ae.obj(t)?t:Hr({},o,{to:t})],Promise.all(r.map(n=>this._update(n))).then(n=>hD(this,n))}stop(t){let{to:o}=this.animation;return this._focus(this.get()),cy(this._state,t&&this._lastCallId),Se.batchedUpdates(()=>this._stop(o,t)),this}reset(){this._update({reset:!0})}eventObserved(t){t.type=="change"?this._start():t.type=="priority"&&(this.priority=t.priority+1)}_prepareNode(t){let o=this.key||"",{to:r,from:n}=t;r=ae.obj(r)?r[o]:r,(r==null||iD(r))&&(r=void 0),n=ae.obj(n)?n[o]:n,n==null&&(n=void 0);let i={to:r,from:n};return rD(this)||(t.reverse&&([r,n]=[n,r]),n=pr(n),ae.und(n)?Es(this)||this._set(r):this._set(n)),i}_update(t,o){let r=Hr({},t),{key:n,defaultProps:i}=this;r.default&&Object.assign(i,p7(r,(c,u)=>/^on/.test(u)?f7(c,n):c)),c7(this,r,"onProps"),sy(this,"onProps",r,this);let s=this._prepareNode(r);if(Object.isFrozen(this))throw Error("Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?");let a=this._state;return g7(++this._lastCallId,{key:n,props:r,defaultProps:i,state:a,actions:{pause:()=>{ny(this)||(a7(this,!0),hh(a.pauseQueue),sy(this,"onPause",Ts(this,iy(this,this.animation.to)),this))},resume:()=>{ny(this)&&(a7(this,!1),Ru(this)&&this._resume(),hh(a.resumeQueue),sy(this,"onResume",Ts(this,iy(this,this.animation.to)),this))},start:this._merge.bind(this,s)}}).then(c=>{if(r.loop&&c.finished&&!(o&&c.noop)){let u=y7(r);if(u)return this._update(u,!0)}return c})}_merge(t,o,r){if(o.cancel)return this.stop(!0),r(kh(this));let n=!ae.und(t.to),i=!ae.und(t.from);if(n||i)if(o.callId>this._lastToId)this._lastToId=o.callId;else return r(kh(this));let{key:s,defaultProps:a,animation:c}=this,{to:u,from:d}=c,{to:f=u,from:m=d}=t;i&&!n&&(!o.default||ae.und(f))&&(f=m),o.reverse&&([f,m]=[m,f]);let h=!ka(m,d);h&&(c.from=m),m=pr(m);let p=!ka(f,u);p&&this._focus(f);let g=iD(o.to),{config:b}=c,{decay:v,velocity:k}=b;(n||i)&&(b.velocity=0),o.config&&!g&&eSe(b,Jf(o.config,s),o.config!==a.config?Jf(a.config,s):void 0);let y=Es(this);if(!y||ae.und(f))return r(Ts(this,!0));let S=ae.und(o.reset)?i&&!o.default:!ae.und(m)&&ay(o.reset,s),x=S?m:this.get(),C=ly(f),B=ae.num(C)||ae.arr(C)||bh(C),I=!g&&(!B||ay(a.immediate||o.immediate,s));if(p){let T=DC(f);if(T!==y.constructor)if(I)y=this._set(C);else throw Error(`Cannot animate between ${y.constructor.name} and ${T.name}, as the "to" prop suggests`)}let P=y.constructor,E=Ur(f),L=!1;if(!E){let T=S||!rD(this)&&h;(p||T)&&(L=ka(ly(x),C),E=!L),(!ka(c.immediate,I)&&!I||!ka(b.decay,v)||!ka(b.velocity,k))&&(E=!0)}if(L&&Ru(this)&&(c.changed&&!S?E=!0:E||this._stop(u)),!g&&((E||Ur(u))&&(c.values=y.getPayload(),c.toValues=Ur(f)?null:P==Xf?[1]:hn(C)),c.immediate!=I&&(c.immediate=I,!I&&!S&&this._set(u)),E)){let{onRest:T}=c;bt(oSe,V=>c7(this,o,V));let O=Ts(this,iy(this,u));hh(this._pendingCalls,O),this._pendingCalls.add(r),c.changed&&Se.batchedUpdates(()=>{c.changed=!S,T?.(O,this),S?Jf(a.onRest,O):c.onStart==null||c.onStart(O,this)})}S&&this._set(x),g?r(k7(o.to,o,this._state,this)):E?this._start():Ru(this)&&!p?this._pendingCalls.add(r):r(b7(x))}_focus(t){let o=this.animation;t!==o.to&&(QM(this)&&this._detach(),o.to=t,QM(this)&&this._attach())}_attach(){let t=0,{to:o}=this.animation;Ur(o)&&(Iu(o,this),cD(o)&&(t=o.priority+1)),this.priority=t}_detach(){let{to:t}=this.animation;Ur(t)&&Pu(t,this)}_set(t,o=!0){let r=pr(t);if(!ae.und(r)){let n=Es(this);if(!n||!ka(r,n.getValue())){let i=DC(r);!n||n.constructor!=i?MC(this,i.create(r)):n.setValue(r),n&&Se.batchedUpdates(()=>{this._onChange(r,o)})}}return Es(this)}_onStart(){let t=this.animation;t.changed||(t.changed=!0,sy(this,"onStart",Ts(this,iy(this,t.to)),this))}_onChange(t,o){o||(this._onStart(),Jf(this.animation.onChange,t,this)),Jf(this.defaultProps.onChange,t,this),super._onChange(t,o)}_start(){let t=this.animation;Es(this).reset(pr(t.to)),t.immediate||(t.fromValues=t.values.map(o=>o.lastPosition)),Ru(this)||(s7(this,!0),ny(this)||this._resume())}_resume(){Wn.skipAnimation?this.finish():gh.start(this)}_stop(t,o){if(Ru(this)){s7(this,!1);let r=this.animation;bt(r.values,i=>{i.done=!0}),r.toValues&&(r.onChange=r.onPause=r.onResume=void 0),qf(this,{type:"idle",parent:this});let n=o?kh(this.get()):Ts(this.get(),iy(this,t??r.to));hh(this._pendingCalls,n),r.changed&&(r.changed=!1,sy(this,"onRest",n,this))}}};function iy(e,t){let o=ly(t),r=ly(e.get());return ka(r,o)}function y7(e,t=e.loop,o=e.to){let r=Jf(t);if(r){let n=r!==!0&&h7(r),i=(n||e).reverse,s=!n||n.reset;return mD(Hr({},e,{loop:t,default:!1,pause:void 0,to:!i||iD(o)?o:void 0,from:s?e.from:void 0,reset:s},n))}}function mD(e){let{to:t,from:o}=e=h7(e),r=new Set;return ae.obj(t)&&l7(t,r),ae.obj(o)&&l7(o,r),e.keys=r.size?Array.from(r):null,e}function l7(e,t){Li(e,(o,r)=>o!=null&&t.add(r))}var oSe=["onStart","onRest","onChange","onPause","onResume"];function c7(e,t,o){e.animation[o]=t[o]!==m7(t,o)?f7(t[o],e.key):void 0}function sy(e,t,...o){var r,n,i,s;(r=(n=e.animation)[t])==null||r.call(n,...o),(i=(s=e.defaultProps)[t])==null||i.call(s,...o)}var rSe=["onStart","onChange","onRest"],nSe=1,HC=class{constructor(t,o){this.id=nSe++,this.springs={},this.queue=[],this.ref=void 0,this._flush=void 0,this._initialProps=void 0,this._lastAsyncId=0,this._active=new Set,this._changed=new Set,this._started=!1,this._item=void 0,this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._events={onStart:new Map,onChange:new Map,onRest:new Map},this._onFrame=this._onFrame.bind(this),o&&(this._flush=o),t&&this.start(Hr({default:!0},t))}get idle(){return!this._state.asyncTo&&Object.values(this.springs).every(t=>t.idle&&!t.isDelayed&&!t.isPaused)}get item(){return this._item}set item(t){this._item=t}get(){let t={};return this.each((o,r)=>t[r]=o.get()),t}set(t){for(let o in t){let r=t[o];ae.und(r)||this.springs[o].set(r)}}update(t){return t&&this.queue.push(mD(t)),this}start(t){let{queue:o}=this;return t?o=hn(t).map(mD):this.queue=[],this._flush?this._flush(this,o):(_7(this,o),iSe(this,o))}stop(t,o){if(t!==!!t&&(o=t),o){let r=this.springs;bt(hn(o),n=>r[n].stop(!!t))}else cy(this._state,this._lastAsyncId),this.each(r=>r.stop(!!t));return this}pause(t){if(ae.und(t))this.start({pause:!0});else{let o=this.springs;bt(hn(t),r=>o[r].pause())}return this}resume(t){if(ae.und(t))this.start({pause:!1});else{let o=this.springs;bt(hn(t),r=>o[r].resume())}return this}each(t){Li(this.springs,t)}_onFrame(){let{onStart:t,onChange:o,onRest:r}=this._events,n=this._active.size>0,i=this._changed.size>0;(n&&!this._started||i&&!this._started)&&(this._started=!0,ph(t,([c,u])=>{u.value=this.get(),c(u,this,this._item)}));let s=!n&&this._started,a=i||s&&r.size?this.get():null;i&&o.size&&ph(o,([c,u])=>{u.value=a,c(u,this,this._item)}),s&&(this._started=!1,ph(r,([c,u])=>{u.value=a,c(u,this,this._item)}))}eventObserved(t){if(t.type=="change")this._changed.add(t.parent),t.idle||this._active.add(t.parent);else if(t.type=="idle")this._active.delete(t.parent);else return;Se.onFrame(this._onFrame)}};function iSe(e,t){return Promise.all(t.map(o=>S7(e,o))).then(o=>hD(e,o))}async function S7(e,t,o){let{keys:r,to:n,from:i,loop:s,onRest:a,onResolve:c}=t,u=ae.obj(t.default)&&t.default;s&&(t.loop=!1),n===!1&&(t.to=null),i===!1&&(t.from=null);let d=ae.arr(n)||ae.fun(n)?n:void 0;d?(t.to=void 0,t.onRest=void 0,u&&(u.onRest=void 0)):bt(rSe,g=>{let b=t[g];if(ae.fun(b)){let v=e._events[g];t[g]=({finished:k,cancelled:y})=>{let S=v.get(b);S?(k||(S.finished=!1),y&&(S.cancelled=!0)):v.set(b,{value:null,finished:k||!1,cancelled:y||!1})},u&&(u[g]=t[g])}});let f=e._state;t.pause===!f.paused?(f.paused=t.pause,hh(t.pause?f.pauseQueue:f.resumeQueue)):f.paused&&(t.pause=!0);let m=(r||Object.keys(e.springs)).map(g=>e.springs[g].start(t)),h=t.cancel===!0||m7(t,"cancel")===!0;(d||h&&f.asyncId)&&m.push(g7(++e._lastAsyncId,{props:t,state:f,actions:{pause:IC,resume:IC,start(g,b){h?(cy(f,e._lastAsyncId),b(kh(e))):(g.onRest=a,b(k7(d,g,f,e)))}}})),f.paused&&await new Promise(g=>{f.resumeQueue.add(g)});let p=hD(e,await Promise.all(m));if(s&&p.finished&&!(o&&p.noop)){let g=y7(t,s,n);if(g)return _7(e,[g]),S7(e,g,!0)}return c&&Se.batchedUpdates(()=>c(p,e,e.item)),p}function sSe(e,t){let o=new fD;return o.key=e,t&&Iu(o,t),o}function aSe(e,t,o){t.keys&&bt(t.keys,r=>{(e[r]||(e[r]=o(r)))._prepareNode(t)})}function _7(e,t){bt(t,o=>{aSe(e.springs,o,r=>sSe(r,e))})}function lSe(e,t){if(e==null)return{};var o={},r=Object.keys(e),n,i;for(i=0;i=0)&&(o[n]=e[n]);return o}var cSe=["children"],gD=e=>{let{children:t}=e,o=lSe(e,cSe),r=(0,fy.useContext)(GC),n=o.pause||!!r.pause,i=o.immediate||!!r.immediate;o=q8(()=>({pause:n,immediate:i}),[n,i]);let{Provider:s}=GC;return dy.createElement(s,{value:o},t)},GC=uSe(gD,{});gD.Provider=GC.Provider;gD.Consumer=GC.Consumer;function uSe(e,t){return Object.assign(e,dy.createContext(t)),e.Provider._context=e,e.Consumer._context=e,e}var u7;(function(e){e.MOUNT="mount",e.ENTER="enter",e.UPDATE="update",e.LEAVE="leave"})(u7||(u7={}));var pD=class extends uy{constructor(t,o){super(),this.key=void 0,this.idle=!0,this.calc=void 0,this._active=new Set,this.source=t,this.calc=Tu(...o);let r=this._get(),n=DC(r);MC(this,n.create(r))}advance(t){let o=this._get(),r=this.get();ka(o,r)||(Es(this).setValue(o),this._onChange(o,this.idle)),!this.idle&&d7(this._active)&&nD(this)}_get(){let t=ae.arr(this.source)?this.source.map(pr):hn(pr(this.source));return this.calc(...t)}_start(){this.idle&&!d7(this._active)&&(this.idle=!1,bt(ry(this),t=>{t.done=!1}),Wn.skipAnimation?(Se.batchedUpdates(()=>this.advance()),nD(this)):gh.start(this))}_attach(){let t=1;bt(hn(this.source),o=>{Ur(o)&&Iu(o,this),cD(o)&&(o.idle||this._active.add(o),t=Math.max(t,o.priority+1))}),this.priority=t,this._start()}_detach(){bt(hn(this.source),t=>{Ur(t)&&Pu(t,this)}),this._active.clear(),nD(this)}eventObserved(t){t.type=="change"?t.idle?this.advance():(this._active.add(t.parent),this._start()):t.type=="idle"?this._active.delete(t.parent):t.type=="priority"&&(this.priority=hn(this.source).reduce((o,r)=>Math.max(o,(cD(r)?r.priority:0)+1),0))}};function dSe(e){return e.idle!==!1}function d7(e){return!e.size||Array.from(e).every(dSe)}function nD(e){e.idle||(e.idle=!0,bt(ry(e),t=>{t.done=!0}),qf(e,{type:"idle",parent:e}))}Wn.assign({createStringInterpolator:OC,to:(e,t)=>new pD(e,t)});var Qze=gh.advance;var B7=l(w7());function yD(e,t){if(e==null)return{};var o={},r=Object.keys(e),n,i;for(i=0;i=0)&&(o[n]=e[n]);return o}var fSe=["style","children","scrollTop","scrollLeft"],E7=/^--/;function mSe(e,t){return t==null||typeof t=="boolean"||t===""?"":typeof t=="number"&&t!==0&&!E7.test(e)&&!(my.hasOwnProperty(e)&&my[e])?t+"px":(""+t).trim()}var C7={};function pSe(e,t){if(!e.nodeType||!e.setAttribute)return!1;let o=e.nodeName==="filter"||e.parentNode&&e.parentNode.nodeName==="filter",r=t,{style:n,children:i,scrollTop:s,scrollLeft:a}=r,c=yD(r,fSe),u=Object.values(c),d=Object.keys(c).map(f=>o||e.hasAttribute(f)?f:C7[f]||(C7[f]=f.replace(/([A-Z])/g,m=>"-"+m.toLowerCase())));i!==void 0&&(e.textContent=i);for(let f in n)if(n.hasOwnProperty(f)){let m=mSe(f,n[f]);E7.test(f)?e.style.setProperty(f,m):e.style[f]=m}d.forEach((f,m)=>{e.setAttribute(f,u[m])}),s!==void 0&&(e.scrollTop=s),a!==void 0&&(e.scrollLeft=a)}var my={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},hSe=(e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1),gSe=["Webkit","Ms","Moz","O"];my=Object.keys(my).reduce((e,t)=>(gSe.forEach(o=>e[hSe(o,t)]=e[t]),e),my);var bSe=["x","y","z"],kSe=/^(matrix|translate|scale|rotate|skew)/,vSe=/^(translate)/,ySe=/^(rotate|skew)/,bD=(e,t)=>ae.num(e)&&e!==0?e+t:e,WC=(e,t)=>ae.arr(e)?e.every(o=>WC(o,t)):ae.num(e)?e===t:parseFloat(e)===t,kD=class extends Qf{constructor(t){let{x:o,y:r,z:n}=t,i=yD(t,bSe),s=[],a=[];(o||r||n)&&(s.push([o||0,r||0,n||0]),a.push(c=>[`translate3d(${c.map(u=>bD(u,"px")).join(",")})`,WC(c,0)])),Li(i,(c,u)=>{if(u==="transform")s.push([c||""]),a.push(d=>[d,d===""]);else if(kSe.test(u)){if(delete i[u],ae.und(c))return;let d=vSe.test(u)?"px":ySe.test(u)?"deg":"";s.push(hn(c)),a.push(u==="rotate3d"?([f,m,h,p])=>[`rotate3d(${f},${m},${h},${bD(p,d)})`,WC(p,0)]:f=>[`${u}(${f.map(m=>bD(m,d)).join(",")})`,WC(f,u.startsWith("scale")?1:0)])}}),s.length&&(i.transform=new vD(s,a)),super(i)}},vD=class extends mh{constructor(t,o){super(),this._value=null,this.inputs=t,this.transforms=o}get(){return this._value||(this._value=this._get())}_get(){let t="",o=!0;return bt(this.inputs,(r,n)=>{let i=pr(r[0]),[s,a]=this.transforms[n](ae.arr(i)?i:r.map(pr));t+=" "+s,o=o&&a}),o?"none":t}observerAdded(t){t==1&&bt(this.inputs,o=>bt(o,r=>Ur(r)&&Iu(r,this)))}observerRemoved(t){t==0&&bt(this.inputs,o=>bt(o,r=>Ur(r)&&Pu(r,this)))}eventObserved(t){t.type=="change"&&(this._value=null),qf(this,t)}},SSe=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],_Se=["scrollTop","scrollLeft"];Wn.assign({batchedUpdates:B7.unstable_batchedUpdates,createStringInterpolator:OC,colors:H8});var xSe=e7(SSe,{applyAnimatedValues:pSe,createAnimatedStyle:e=>new kD(e),getComponentProps:e=>yD(e,_Se)}),T7=xSe.animated;var vh=l(R(),1),P7=l(je(),1),R7=l(F(),1);var wSe=200;function I7(e){return{top:e.offsetTop,left:e.offsetLeft}}function CSe({triggerAnimationOnChange:e,clientId:t}){let o=(0,vh.useRef)(),{isTyping:r,getGlobalBlockCount:n,isBlockSelected:i,isFirstMultiSelectedBlock:s,isBlockMultiSelected:a,isAncestorMultiSelected:c,isDraggingBlocks:u}=(0,R7.useSelect)(_),{previous:d,prevRect:f}=(0,vh.useMemo)(()=>({previous:o.current&&I7(o.current),prevRect:o.current&&o.current.getBoundingClientRect()}),[e]);return(0,vh.useLayoutEffect)(()=>{if(!d||!o.current)return;let m=(0,P7.getScrollContainer)(o.current),h=i(t),p=h||s(t),g=u();function b(){if(!g&&p&&f){let P=o.current.getBoundingClientRect().top-f.top;P&&(m.scrollTop+=P)}}if(window.matchMedia("(prefers-reduced-motion: reduce)").matches||r()||n()>wSe){b();return}let k=h||a(t)||c(t);if(k&&g)return;let y=k?"1":"",S=new HC({x:0,y:0,config:{mass:5,tension:2e3,friction:200},onChange({value:I}){if(!o.current)return;let{x:P,y:E}=I;P=Math.round(P),E=Math.round(E);let L=P===0&&E===0;o.current.style.transformOrigin="center center",o.current.style.transform=L?null:`translate3d(${P}px,${E}px,0)`,o.current.style.zIndex=y,b()}});o.current.style.transform=void 0;let x=I7(o.current),C=Math.round(d.left-x.left),B=Math.round(d.top-x.top);return S.start({x:0,y:0,from:{x:C,y:B}}),()=>{S.stop(),S.set({x:0,y:0})}},[d,f,t,r,n,i,s,a,c,u]),o}var $C=CSe;var YC=l(R(),1),Ol=l(je(),1),A7=l(F(),1);var KC=".block-editor-block-list__block",BSe=".block-list-appender",ESe=".block-editor-button-block-appender";function O7(e,t){return e.closest(KC)===t.closest(KC)}function va(e,t){return t.closest([KC,BSe,ESe].join(","))===e}function Ni(e){for(;e&&e.nodeType!==e.ELEMENT_NODE;)e=e.parentNode;if(!e)return;let o=e.closest(KC);if(o)return o.id.slice(6)}function SD(e,t){let o=Math.min(e.left,t.left),r=Math.max(e.right,t.right),n=Math.max(e.bottom,t.bottom),i=Math.min(e.top,t.top);return new window.DOMRectReadOnly(o,i,r-o,n-i)}function TSe(e){let t=e.ownerDocument.defaultView;if(!t||e.classList.contains("components-visually-hidden"))return!1;let o=e.getBoundingClientRect();if(o.width===0||o.height===0)return!1;if(e.checkVisibility)return e.checkVisibility?.({opacityProperty:!0,contentVisibilityAuto:!0,visibilityProperty:!0});let r=t.getComputedStyle(e);return!(r.display==="none"||r.visibility==="hidden"||r.opacity==="0")}function ISe(e){let t=window.getComputedStyle(e);return t.overflowX==="auto"||t.overflowX==="scroll"||t.overflowY==="auto"||t.overflowY==="scroll"}var PSe=["core/navigation"];function yh(e){let t=e.ownerDocument.defaultView;if(!t)return new window.DOMRectReadOnly;let o=e.getBoundingClientRect(),r=e.getAttribute("data-type");if(r&&PSe.includes(r)){let s=[e],a;for(;a=s.pop();)if(!ISe(a)){for(let c of a.children)if(TSe(c)){let u=c.getBoundingClientRect();o=SD(o,u),s.push(c)}}}let n=Math.max(o.left,0),i=Math.min(o.right,t.innerWidth);return o=new window.DOMRectReadOnly(n,o.top,i-n,o.height),o}function L7({clientId:e,initialPosition:t}){let o=(0,YC.useRef)(),{isBlockSelected:r,isMultiSelecting:n,isZoomOut:i}=M((0,A7.useSelect)(_));return(0,YC.useEffect)(()=>{if(!r(e)||n()||i()||t==null||!o.current)return;let{ownerDocument:s}=o.current;if(va(o.current,s.activeElement))return;let a=Ol.focus.tabbable.find(o.current).filter(d=>(0,Ol.isTextField)(d)),c=t===-1,u=a[c?a.length-1:0]||o.current;if(!va(o.current,u)){o.current.focus();return}if(!o.current.getAttribute("contenteditable")){let d=Ol.focus.tabbable.findNext(o.current);if(d&&va(o.current,d)&&(0,Ol.isFormElement)(d)){d.focus();return}}(0,Ol.placeCaretAtHorizontalEdge)(u,c)},[t,e]),o}var N7=l(Z(),1);function qC(e){e.defaultPrevented||(e.preventDefault(),e.currentTarget.classList.toggle("is-hovered",e.type==="mouseover"))}function M7({isEnabled:e=!0}={}){return(0,N7.useRefEffect)(t=>{if(e)return t.addEventListener("mouseout",qC),t.addEventListener("mouseover",qC),()=>{t.removeEventListener("mouseout",qC),t.removeEventListener("mouseover",qC),t.classList.remove("is-hovered")}},[e])}var ZC=l(F(),1),D7=l(Z(),1);function V7(e){let{isBlockSelected:t}=(0,ZC.useSelect)(_),{selectBlock:o,selectionChange:r}=(0,ZC.useDispatch)(_);return(0,D7.useRefEffect)(n=>{function i(s){if(!n.parentElement.closest('[contenteditable="true"]')){if(t(e)){s.target.isContentEditable||r(e);return}va(n,s.target)&&o(e)}}return n.addEventListener("focusin",i),()=>{n.removeEventListener("focusin",i)}},[t,o])}var Sh=l($(),1),z7=l(je(),1),Ou=l(nt(),1),XC=l(F(),1),j7=l(Z(),1);function F7(e){return!e||e==="transparent"||e==="rgba(0, 0, 0, 0)"}function U7({clientId:e,isSelected:t}){let{getBlockRootClientId:o,isZoomOut:r,hasMultiSelection:n,isSectionBlock:i,editedContentOnlySection:s,getBlock:a}=M((0,XC.useSelect)(_)),{insertAfterBlock:c,removeBlock:u,resetZoomLevel:d,startDraggingBlocks:f,stopDraggingBlocks:m,editContentOnlySection:h}=M((0,XC.useDispatch)(_));return(0,j7.useRefEffect)(p=>{if(!t)return;function g(k){let{keyCode:y,target:S}=k;y!==Ou.ENTER&&y!==Ou.BACKSPACE&&y!==Ou.DELETE||S!==p||(0,z7.isTextField)(S)||(k.preventDefault(),y===Ou.ENTER&&r()?d():y===Ou.ENTER?c(e):u(e))}function b(k){if(p!==k.target||p.isContentEditable||p.ownerDocument.activeElement!==p||n()){k.preventDefault();return}let y=JSON.stringify({type:"block",srcClientIds:[e],srcRootClientId:o(e)});k.dataTransfer.effectAllowed="move",k.dataTransfer.clearData(),k.dataTransfer.setData("wp-blocks",y);let{ownerDocument:S}=p,{defaultView:x}=S;x.getSelection().removeAllRanges();let B=S.createElement("div");B.style.width="1px",B.style.height="1px",B.style.position="fixed",B.style.visibility="hidden",S.body.appendChild(B),k.dataTransfer.setDragImage(B,0,0);let I=p.getBoundingClientRect(),P=p.id,E=p.cloneNode();E.style.display="none",p.id=null,p.after(E);let L=1;{let J=p;for(;J=J.parentElement;){let{scale:K}=x.getComputedStyle(J);if(K&&K!=="none"){L=parseFloat(K);break}}}let T=1/L,O={};for(let J of["transform","transformOrigin","transition","zIndex","position","top","left","pointerEvents","opacity","backgroundColor"])O[J]=p.style[J];let V=x.scrollY,U=x.scrollX,G=k.clientX,j=k.clientY;p.style.position="relative",p.style.top="0px",p.style.left="0px";let z=k.clientX-I.left,W=k.clientY-I.top,ee=I.height>200?200/I.height:1;if(p.style.zIndex="1000",p.style.transformOrigin=`${z*T}px ${W*T}px`,p.style.transition="transform 0.2s ease-out",p.style.transform=`scale(${ee})`,p.style.opacity="0.9",F7(x.getComputedStyle(p).backgroundColor)){let J="transparent",K=p;for(;K=K.parentElement;){let{backgroundColor:H}=x.getComputedStyle(K);if(!F7(H)){J=H;break}}p.style.backgroundColor=J}let se=!1,ce=G,ie=j;function re(J){J.clientX===ce&&J.clientY===ie||(ce=J.clientX,ie=J.clientY,Q())}function Q(){se||(se=!0,p.style.pointerEvents="none");let J=ie-j,K=ce-G,H=x.scrollY,X=x.scrollX,ne=H-V,le=X-U,ve=J+ne,he=K+le;p.style.top=`${ve*T}px`,p.style.left=`${he*T}px`}function Y(){S.removeEventListener("dragover",re),S.removeEventListener("dragend",Y),S.removeEventListener("drop",Y),S.removeEventListener("scroll",Q);for(let[J,K]of Object.entries(O))p.style[J]=K;E.remove(),p.id=P,B.remove(),m(),document.body.classList.remove("is-dragging-components-draggable"),S.documentElement.classList.remove("is-dragging")}S.addEventListener("dragover",re),S.addEventListener("dragend",Y),S.addEventListener("drop",Y),S.addEventListener("scroll",Q),f([e]),document.body.classList.add("is-dragging-components-draggable"),S.documentElement.classList.add("is-dragging")}p.addEventListener("keydown",g),p.addEventListener("dragstart",b);function v(k){let y=i(e),S=a(e),x=(0,Sh.isReusableBlock)(S),C=(0,Sh.isTemplatePart)(S);!y||s===e||x||C||(k.preventDefault(),h(e))}return p.addEventListener("dblclick",v),()=>{p.removeEventListener("keydown",g),p.removeEventListener("dragstart",b),p.removeEventListener("dblclick",v)}},[e,t,o,a,Sh.isReusableBlock,Sh.isTemplatePart,c,u,r,d,n,f,m,i,s,h])}var H7=l(Z(),1),G7=l(R(),1);function W7(){let e=(0,G7.useContext)(QC);return(0,H7.useRefEffect)(t=>{if(e)return e.observe(t),()=>{e.unobserve(t)}},[e])}var JC=l(Z(),1);function $7({isSelected:e}){let t=(0,JC.useReducedMotion)();return(0,JC.useRefEffect)(o=>{if(e){let{ownerDocument:r}=o,{defaultView:n}=r;if(!n.IntersectionObserver)return;let i=new n.IntersectionObserver(s=>{s[0].isIntersecting||o.scrollIntoView({behavior:t?"instant":"smooth"}),i.disconnect()});return i.observe(o),()=>{i.disconnect()}}},[e])}var K7=l(Z(),1),Y7=l(F(),1);function e1({clientId:e="",isEnabled:t=!0}={}){let{getEnabledClientIdsTree:o}=M((0,Y7.useSelect)(_));return(0,K7.useRefEffect)(r=>{if(!t)return;let n=()=>{o(e).forEach(({clientId:s})=>{let a=r.querySelector(`[data-block="${s}"]`);a&&(a.classList.remove("has-editable-outline"),a.offsetWidth,a.classList.add("has-editable-outline"))})},i=s=>{(s.target===r||s.target.classList.contains("is-root-container"))&&(s.defaultPrevented||(s.preventDefault(),n()))};return r.addEventListener("click",i),()=>r.removeEventListener("click",i)},[t])}var q7=l(Z(),1),py=new Map;function RSe(e,t){let o=py.get(e);o||(o=new Set,py.set(e,o),e.addEventListener("pointerdown",X7)),o.add(t)}function OSe(e,t){let o=py.get(e);o&&(o.delete(t),Z7(t),o.size===0&&(py.delete(e),e.removeEventListener("pointerdown",X7)))}function Z7(e){let t=e.getAttribute("data-draggable");t&&(e.removeAttribute("data-draggable"),t==="true"&&!e.getAttribute("draggable")&&e.setAttribute("draggable","true"))}function X7(e){let{target:t}=e,{ownerDocument:o,isContentEditable:r,tagName:n}=t,i=["INPUT","TEXTAREA"].includes(n),s=py.get(o);if(r||i)for(let a of s)a.getAttribute("draggable")==="true"&&a.contains(t)&&(a.removeAttribute("draggable"),a.setAttribute("data-draggable","true"));else for(let a of s)Z7(a)}function Q7(){return(0,q7.useRefEffect)(e=>(RSe(e.ownerDocument,e),()=>{OSe(e.ownerDocument,e)}),[])}var mo=l(N(),1),gn=l(R(),1),Gr=l(A(),1),_h=l(F(),1),o9=l(Is(),1),r9=l(Ii(),1);var hy=l(N(),1);function ASe(e,t){if(!e)return!1;let o=e.attributes?.metadata?.blockVisibility;if(o===!0||typeof o!="object")return!1;let r=o.viewport;return!r||typeof r!="object"||!iu.some(([,{key:n}])=>n===t)?!1:r[t]===!1}function e9(e,t){if(!e?.length)return!1;let o=e.filter(r=>ASe(r,t)).length;return o===0?!1:o===e.length?!0:null}function t9(e){if(!e?.length)return!1;let t=e.filter(o=>o&&o.attributes?.metadata?.blockVisibility===!1).length;return t===0?!1:t===e.length?!0:null}function gy(e){if(!e&&e!==!1)return null;if(e===!1)return(0,hy.__)("Block is hidden");if(e?.viewport){let t=iu.filter(([o])=>e.viewport?.[o]===!1).map(([,o])=>o.label);if(t.length>0)return(0,hy.sprintf)((0,hy.__)("Block is hidden on %s"),t.join(", "))}return null}var ro=l(w(),1);if(typeof document<"u"&&!document.head.querySelector("style[data-wp-hash='4334c7deb6']")){let e=document.createElement("style");e.setAttribute("data-wp-hash","4334c7deb6"),e.appendChild(document.createTextNode(".block-editor-block-visibility-modal{z-index:1000001}.block-editor-block-visibility-modal__options{border:0;list-style:none;margin:24px 0;padding:0}.block-editor-block-visibility-modal__options-item{align-items:center;display:flex;gap:24px;justify-content:space-between;margin:0 0 16px}.block-editor-block-visibility-modal__options-item:last-child{margin:0}.block-editor-block-visibility-modal__options-item--everywhere{align-items:start;flex-direction:column}.block-editor-block-visibility-modal__options-checkbox--everywhere{font-weight:600}.block-editor-block-visibility-modal__options-icon--checked{fill:#ddd}.block-editor-block-visibility-modal__sub-options{padding-inline-start:12px;width:100%}.block-editor-block-visibility-modal__description{color:#757575;font-size:12px}.block-editor-block-visibility-info{align-items:center;display:flex;justify-content:start;margin:0 16px 16px;padding-bottom:4px;padding-top:4px}")),document.head.appendChild(e)}var LSe={[Et.mobile.key]:!1,[Et.tablet.key]:!1,[Et.desktop.key]:!1},NSe=[];function _D({clientIds:e,onClose:t}){let{createSuccessNotice:o}=(0,_h.useDispatch)(r9.store),{updateBlockAttributes:r}=(0,_h.useDispatch)(_),n=(0,_h.useSelect)(k=>k(_).getBlocksByClientId(e)??NSe,[e]),i=(0,_h.useSelect)(k=>k(o9.store).getShortcutRepresentation("core/editor/toggle-list-view"),[]),s=(0,gn.useMemo)(()=>{if(n?.length===0)return{hideEverywhere:!1,viewportChecked:{}};let k={};return iu.forEach(([,{key:y}])=>{k[y]=e9(n,y)}),{hideEverywhere:t9(n),viewportChecked:k}},[n]),[a,c]=(0,gn.useState)(s?.viewportChecked??{}),[u,d]=(0,gn.useState)(s?.hideEverywhere??!1),f=(0,gn.useCallback)((k,y)=>{c({...a,[k]:y})},[a]),m=(0,gn.useMemo)(()=>{if(!u)return(0,mo.sprintf)((0,mo.__)("Block visibility settings updated. You can access them via the List View (%s)."),i);let k=n?.length>1?(0,mo.__)("Blocks hidden. You can access them via the List View (%s)."):(0,mo.__)("Block hidden. You can access it via the List View (%s).");return(0,mo.sprintf)(k,i)},[u,n?.length,i]),h=(0,gn.useMemo)(()=>Object.values(a).some(k=>k===!0||k===null),[a]),p=(0,gn.useMemo)(()=>u!==s.hideEverywhere?!0:iu.some(([,{key:k}])=>a[k]!==s.viewportChecked[k]),[u,a,s]),g=(0,gn.useMemo)(()=>u===null?!0:Object.values(a).some(k=>k===null),[u,a]),b=(0,gn.useCallback)(k=>{k.preventDefault();let y=u?!1:{viewport:iu.reduce((x,[,{key:C}])=>(a[C]&&(x[C]=!1),x),{})},S=Object.fromEntries(n.map(({clientId:x,attributes:C})=>[x,{metadata:Me({...C?.metadata,blockVisibility:y})}]));r(e,S,{uniqueByBlock:!0}),o(m,{id:u?"block-visibility-hidden":"block-visibility-viewports-updated",type:"snackbar"}),t()},[n,e,o,u,m,t,r,a]),v=n?.length>1;return(0,ro.jsx)(Gr.Modal,{title:e?.length>1?(0,mo.__)("Hide blocks"):(0,mo.__)("Hide block"),onRequestClose:t,overlayClassName:"block-editor-block-visibility-modal",size:"small",children:(0,ro.jsxs)("form",{onSubmit:b,children:[(0,ro.jsxs)("fieldset",{children:[(0,ro.jsx)("legend",{children:v?(0,mo.__)("Select the viewport sizes for which you want to hide the blocks. Changes will apply to all selected blocks."):(0,mo.__)("Select the viewport size for which you want to hide the block.")}),(0,ro.jsx)("ul",{className:"block-editor-block-visibility-modal__options",children:(0,ro.jsxs)("li",{className:"block-editor-block-visibility-modal__options-item block-editor-block-visibility-modal__options-item--everywhere",children:[(0,ro.jsx)(Gr.CheckboxControl,{className:"block-editor-block-visibility-modal__options-checkbox--everywhere",label:(0,mo.__)("Omit from published content"),checked:u===!0,indeterminate:u===null,onChange:k=>{d(k),c(LSe)}}),u!==!0&&(0,ro.jsx)("ul",{className:"block-editor-block-visibility-modal__sub-options",children:iu.map(([,{label:k,icon:y,key:S}])=>(0,ro.jsxs)("li",{className:"block-editor-block-visibility-modal__options-item",children:[(0,ro.jsx)(Gr.CheckboxControl,{label:(0,mo.sprintf)((0,mo.__)("Hide on %s"),k),checked:a[S]??!1,indeterminate:a[S]===null,onChange:x=>f(S,x)}),(0,ro.jsx)(Gr.Icon,{icon:y,className:D({"block-editor-block-visibility-modal__options-icon--checked":a[S]})})]},S))})]})}),v&&g&&(0,ro.jsx)("p",{className:"block-editor-block-visibility-modal__description",children:(0,mo.__)("Selected blocks have different visibility settings. The checkboxes show an indeterminate state when settings differ.")}),!v&&u===!0&&(0,ro.jsx)("p",{className:"block-editor-block-visibility-modal__description",children:(0,mo.sprintf)((0,mo.__)("Block will be hidden in the editor, and omitted from the published markup on the frontend. You can configure it again by selecting it in the List View (%s)."),i)}),!v&&!u&&h&&(0,ro.jsx)("p",{className:"block-editor-block-visibility-modal__description",children:(0,gn.createInterpolateElement)((0,mo.sprintf)((0,mo.__)("Block will be hidden according to the selected viewports. It will be included in the published markup on the frontend. You can configure it again by selecting it in the List View (%s)."),i),{strong:(0,ro.jsx)("strong",{})})})]}),(0,ro.jsxs)(Gr.Flex,{className:"block-editor-block-visibility-modal__actions",justify:"flex-end",expanded:!1,children:[(0,ro.jsx)(Gr.FlexItem,{children:(0,ro.jsx)(Gr.Button,{variant:"tertiary",onClick:t,__next40pxDefaultSize:!0,children:(0,mo.__)("Cancel")})}),(0,ro.jsx)(Gr.FlexItem,{children:(0,ro.jsx)(Gr.Button,{variant:"primary",type:"submit",disabled:!p,accessibleWhenDisabled:!0,__next40pxDefaultSize:!0,children:(0,mo.__)("Apply")})})]})]})})}var xD=l(Z(),1);function Mi(e={}){let{blockVisibility:t=void 0,deviceType:o=Et.desktop.key,view:r=window}=e,n=(0,xD.useViewportMatch)("mobile",">=",r),i=(0,xD.useViewportMatch)("medium",">=",r),s;return o===Et.mobile.key?s=Et.mobile.key:o===Et.tablet.key?s=Et.tablet.key:n?n&&!i?s=Et.tablet.key:s=Et.desktop.key:s=Et.mobile.key,{isBlockCurrentlyHidden:t===!1||t?.viewport?.[s]===!1,currentViewport:s}}var wD=l(N(),1),t1=l(A(),1),o1=l(R(),1);var n9=l($(),1),r1=l(F(),1);var CD=l(w(),1);function BD({clientIds:e}){let t=(0,o1.useRef)(!1),{canToggleBlockVisibility:o,areBlocksHiddenAnywhere:r}=(0,r1.useSelect)(s=>{let{getBlocksByClientId:a,getBlockName:c,isBlockHiddenAnywhere:u}=M(s(_));return{canToggleBlockVisibility:a(e).every(({clientId:f})=>(0,n9.hasBlockSupport)(c(f),"visibility",!0)),areBlocksHiddenAnywhere:e?.every(f=>u(f))}},[e]),n=(0,r1.useDispatch)(_);if((0,o1.useEffect)(()=>{r&&(t.current=!0)},[r]),!r&&!t.current)return null;let{showViewportModal:i}=M(n);return(0,CD.jsx)(t1.ToolbarGroup,{className:"block-editor-block-visibility-toolbar",children:(0,CD.jsx)(t1.ToolbarButton,{disabled:!o,icon:r?vs:Af,label:r?(0,wD.__)("Hidden"):(0,wD.__)("Visible"),onClick:()=>i(e),"aria-haspopup":"dialog"})})}var ED=l(N(),1),i9=l(A(),1),n1=l(F(),1),s9=l(Is(),1);var a9=l(w(),1);function TD({clientIds:e}){let{areBlocksHiddenAnywhere:t,shortcut:o}=(0,n1.useSelect)(n=>{let{isBlockHiddenAnywhere:i}=M(n(_));return{areBlocksHiddenAnywhere:e?.every(s=>i(s)),shortcut:n(s9.store).getShortcutRepresentation("core/block-editor/toggle-block-visibility")}},[e]),{showViewportModal:r}=M((0,n1.useDispatch)(_));return(0,a9.jsx)(i9.MenuItem,{onClick:()=>r(e),shortcut:o,children:t?(0,ED.__)("Show"):(0,ED.__)("Hide")})}var Lu=l(A(),1),ID=l(F(),1),Au=l(N(),1);var xh=l(w(),1),{Badge:MSe}=M(Lu.privateApis),DSe={currentBlockVisibility:void 0,hasParentHiddenEverywhere:!1,selectedDeviceType:Et.desktop.value};function l9({clientId:e}){let{currentBlockVisibility:t,selectedDeviceType:o,hasParentHiddenEverywhere:r}=(0,ID.useSelect)(c=>{if(!e)return DSe;let{getBlockAttributes:u,isBlockParentHiddenEverywhere:d,getSettings:f}=M(c(_));return{currentBlockVisibility:u(e)?.metadata?.blockVisibility,selectedDeviceType:f()?.[xi]?.toLowerCase()||Et.desktop.value,hasParentHiddenEverywhere:d(e)}},[e]),{isBlockCurrentlyHidden:n,currentViewport:i}=Mi({blockVisibility:t,deviceType:o}),s=(0,ID.useSelect)(c=>!e||!i?!1:M(c(_)).isBlockParentHiddenAtViewport(e,i),[e,i]);if(!(n||r||s))return null;let a;if(n)if(t===!1)a=(0,Au.__)("Block is hidden");else{let c=Et[i]?.label||i;a=(0,Au.sprintf)((0,Au.__)("Block is hidden on %s"),c)}if(r)a=(0,Au.__)("Parent block is hidden");else if(s){let c=Et[i]?.label||i;a=(0,Au.sprintf)((0,Au.__)("Parent block is hidden on %s"),c)}return(0,xh.jsx)(MSe,{className:"block-editor-block-visibility-info",children:(0,xh.jsxs)(Lu.__experimentalHStack,{spacing:2,justify:"start",children:[(0,xh.jsx)(Lu.Icon,{icon:vs}),(0,xh.jsx)(Lu.__experimentalText,{children:a})]})})}function by(e={},{__unstableIsHtml:t}={}){let{clientId:o,className:r,wrapperProps:n={},isAligned:i,index:s,mode:a,name:c,blockApiVersion:u,blockTitle:d,isSelected:f,isSubtreeDisabled:m,hasOverlay:h,initialPosition:p,blockEditingMode:g,isHighlighted:b,isMultiSelected:v,isPartiallySelected:k,isReusable:y,isDragging:S,hasChildSelected:x,isEditingDisabled:C,hasEditableOutline:B,isEditingContentOnlySection:I,defaultClassName:P,isSectionBlock:E,isWithinSectionBlock:L,canMove:T,blockVisibility:O,deviceType:V}=(0,c9.useContext)(ur),U=(0,wh.useRefEffect)(Y=>{if(Y){let{ownerDocument:J}=Y,{defaultView:K}=J;U.current=K}},[]),G=(0,i1.sprintf)((0,i1.__)("Block: %s"),d),j=a==="html"&&!t?"-visual":"",z=Q7(),W=!L,ee=(0,wh.useMergeRefs)([e.ref,U,L7({clientId:o,initialPosition:p}),MH(o),V7(o),U7({clientId:o,isSelected:f}),M7({isEnabled:W}),W7(),$C({triggerAnimationOnChange:s,clientId:o}),(0,wh.useDisabled)({isDisabled:!h}),e1({clientId:o,isEnabled:E}),$7({isSelected:f}),T?z:void 0]),se=Ie(),ie=!!se[Rp]?{"--wp-admin-theme-color":"var(--wp-block-synced-color)","--wp-admin-theme-color--rgb":"var(--wp-block-synced-color--rgb)"}:{},{isBlockCurrentlyHidden:re}=Mi({blockVisibility:O,deviceType:V,view:U.current});u<2&&o===se.clientId&&(0,d9.default)(`Block type "${c}" must support API version 2 or higher to work correctly with "useBlockProps" method.`);let Q=!1;return(n?.style?.marginTop?.charAt(0)==="-"||n?.style?.marginBottom?.charAt(0)==="-"||n?.style?.marginLeft?.charAt(0)==="-"||n?.style?.marginRight?.charAt(0)==="-")&&(Q=!0),{tabIndex:g==="disabled"?-1:0,draggable:T&&!x?!0:void 0,...n,...e,ref:ee,id:`block-${o}${j}`,role:"document","aria-label":G,"data-block":o,"data-type":c,"data-title":d,inert:m?"true":void 0,className:D("block-editor-block-list__block",{"wp-block":!i,"has-block-overlay":h,"is-selected":f,"is-highlighted":b,"is-multi-selected":v,"is-partially-selected":k,"is-reusable":y,"is-dragging":S,"has-child-selected":x,"is-editing-disabled":C,"has-editable-outline":B,"has-negative-margin":Q,"is-editing-content-only-section":I,"is-block-hidden":re},r,e.className,n.className,P),style:{...n.style,...e.style,...ie}}}by.save=u9.__unstableGetBlockProps;var po=l(w(),1);function VSe(e,t){let o={...e,...t};return e?.hasOwnProperty("className")&&t?.hasOwnProperty("className")&&(o.className=D(e.className,t.className)),e?.hasOwnProperty("style")&&t?.hasOwnProperty("style")&&(o.style={...e.style,...t.style}),o}function s1({children:e,isHtml:t,...o}){return(0,po.jsx)("div",{...by(o,{__unstableIsHtml:t}),children:e})}function PD({block:{__unstableBlockSource:e},mode:t,isLocked:o,canRemove:r,clientId:n,isSelected:i,isSelectionEnabled:s,className:a,__unstableLayoutClassNames:c,name:u,isValid:d,attributes:f,wrapperProps:m,setAttributes:h,onReplace:p,onRemove:g,onInsertBlocksAfter:b,onMerge:v,toggleSelection:k}){let{mayDisplayControls:y,mayDisplayParentControls:S,isSelectionWithinCurrentSection:x,themeSupportsLayout:C,...B}=(0,Nu.useContext)(ur),I=Uf()||{},P=(0,po.jsx)(Mw,{name:u,isSelected:i,attributes:f,setAttributes:h,insertBlocksAfter:o?void 0:b,onReplace:r?p:void 0,onRemove:r?g:void 0,mergeBlocks:r?v:void 0,clientId:n,isSelectionEnabled:s,toggleSelection:k,__unstableLayoutClassNames:c,__unstableParentLayout:Object.keys(I).length?I:void 0,mayDisplayControls:y,mayDisplayParentControls:S,mayDisplayPatternEditingControls:x,blockEditingMode:B.blockEditingMode,isPreviewMode:B.isPreviewMode}),E=(0,He.getBlockType)(u);E?.getEditWrapperProps&&(m=VSe(m,E.getEditWrapperProps(f)));let L=m&&!!m["data-align"]&&!C,T=a?.includes("is-position-sticky");L&&(P=(0,po.jsx)("div",{className:D("wp-block",T&&a),"data-align":m["data-align"],children:P}));let O;if(d)t==="html"?O=(0,po.jsxs)(po.Fragment,{children:[(0,po.jsx)("div",{style:{display:"none"},children:P}),(0,po.jsx)(s1,{isHtml:!0,children:(0,po.jsx)(B8,{clientId:n})})]}):E?.apiVersion>1?O=P:O=(0,po.jsx)(s1,{children:P});else{let j=e?(0,He.serializeRawBlock)(e):(0,He.getSaveContent)(E,f);O=(0,po.jsxs)(s1,{className:"has-warning",children:[(0,po.jsx)(e8,{clientId:n}),(0,po.jsx)(Nu.RawHTML,{children:(0,m9.safeHTML)(j)})]})}let{"data-align":V,...U}=m??{},G={...U,className:D(U.className,V&&C&&`align${V}`,!(V&&T)&&a)};return(0,po.jsx)(ur.Provider,{value:{wrapperProps:G,isAligned:L,isSelectionWithinCurrentSection:x,...B},children:(0,po.jsx)(i8,{fallback:(0,po.jsx)(s1,{className:"has-warning",children:(0,po.jsx)(r8,{})}),children:O})})}var FSe=(0,a1.withDispatch)((e,t,o)=>{let{updateBlockAttributes:r,insertBlocks:n,mergeBlocks:i,replaceBlocks:s,toggleSelection:a,__unstableMarkLastChangeAsPersistent:c,moveBlocksToPosition:u,removeBlock:d,selectBlock:f}=e(_);return{setAttributes(m){let{getMultiSelectedBlockClientIds:h}=o.select(_),p=h(),{clientId:g,attributes:b}=t,v=p.length?p:[g],k=typeof m=="function"?m(b):m;r(v,k)},onInsertBlocks(m,h){let{rootClientId:p}=t;n(m,h,p)},onInsertBlocksAfter(m){let{clientId:h,rootClientId:p}=t,{getBlockIndex:g}=o.select(_),b=g(h);n(m,b+1,p)},onMerge(m){let{clientId:h,rootClientId:p}=t,{getPreviousBlockClientId:g,getNextBlockClientId:b,getBlock:v,getBlockAttributes:k,getBlockName:y,getBlockOrder:S,getBlockIndex:x,getBlockRootClientId:C,canInsertBlockType:B}=o.select(_);function I(){let E=v(h),L=(0,He.getDefaultBlockName)(),T=(0,He.getBlockType)(L);if(y(h)!==L){let O=(0,He.switchToBlockType)(E,L);O&&O.length&&s(h,O)}else if((0,He.isUnmodifiedDefaultBlock)(E)){let O=b(h);O&&o.batch(()=>{d(h),f(O)})}else if(T.merge){let O=T.merge({},E.attributes);s([h],[(0,He.createBlock)(L,O)])}}function P(E,L=!0){let T=y(E),V=(0,He.getBlockType)(T).category==="text",U=C(E),G=S(E),[j]=G;G.length===1&&(0,He.isUnmodifiedBlock)(v(j))?d(E):V?o.batch(()=>{if(B(y(j),U))u([j],E,U,x(E));else{let z=(0,He.switchToBlockType)(v(j),(0,He.getDefaultBlockName)());z&&z.length&&z.every(W=>B(W.name,U))?(n(z,x(E),U,L),d(j,!1)):I()}!S(E).length&&(0,He.isUnmodifiedBlock)(v(E))&&d(E,!1)}):I()}if(m){if(p){let L=b(p);if(L)if(y(p)===y(L)){let T=k(p),O=k(L);if(Object.keys(T).every(V=>T[V]===O[V])){o.batch(()=>{u(S(L),L,p),d(L,!1)});return}}else{i(p,L);return}}let E=b(h);if(!E)return;S(E).length?P(E,!1):i(h,E)}else{let E=g(h);if(E)i(E,h);else if(p){let L=g(p);if(L&&y(p)===y(L)){let T=k(p),O=k(L);if(Object.keys(T).every(V=>T[V]===O[V])){o.batch(()=>{u(S(p),p,L),d(p,!1)});return}}P(p)}else I()}},onReplace(m,h,p){m.length&&!(0,He.isUnmodifiedDefaultBlock)(m[m.length-1])&&c();let g=m?.length===1&&Array.isArray(m[0])?m[0]:m;s([t.clientId],g,h,p)},onRemove(){d(t.clientId)},toggleSelection(m){a(m)}}});PD=(0,l1.compose)(FSe,(0,f9.withFilters)("editor.BlockListBlock"))(PD);function zSe(e){let{clientId:t,rootClientId:o}=e,r=(0,a1.useSelect)(ne=>{let{isBlockSelected:le,getBlockMode:ve,isSelectionEnabled:he,getTemplateLock:xe,isSectionBlock:Fe,getParentSectionBlock:tt,getBlockWithoutAttributes:Wt,getBlockAttributes:fo,canRemoveBlock:Do,canMoveBlock:ot,getSettings:ar,getEditedContentOnlySection:xt,getBlockEditingMode:At,getBlockName:Pe,isFirstMultiSelectedBlock:wt,getMultiSelectedBlockClientIds:qo,hasSelectedInnerBlock:$t,getBlocksByName:lr,getBlockIndex:ln,isBlockMultiSelected:ze,isBlockSubtreeDisabled:Eo,isBlockHighlighted:Ze,__unstableIsFullySelected:Ve,__unstableSelectionHasUnmergeableBlock:gt,isBlockBeingDragged:To,isDragging:cr,__unstableHasActiveBlockOverlayActive:ge,getSelectedBlocksInitialCaretPosition:Ct}=M(ne(_)),Io=Wt(t);if(!Io)return;let{hasBlockSupport:Ke,getActiveBlockVariation:te}=ne(He.store),Le=fo(t),{name:lt,isValid:Gc}=Io,ua=(0,He.getBlockType)(lt),Bp=ar(),{supportsLayout:zk,isPreviewMode:hf,__experimentalBlockBindingsSupportedAttributes:cn}=Bp,Ep=cn?.[lt],Tp=Le?.metadata?.blockVisibility,r0=Bp?.[xi]?.toLowerCase()||"desktop",n0=ua?.apiVersion>1,jk=ze(t),ue=At(t),to={isPreviewMode:hf,blockWithoutAttributes:Io,name:lt,attributes:Le,isValid:Gc,themeSupportsLayout:zk,index:ln(t),isReusable:(0,He.isReusableBlock)(ua),className:n0?Le.className:void 0,defaultClassName:n0?(0,He.getBlockDefaultClassName)(lt):void 0,blockTitle:ua?.title,bindableAttributes:Ep,blockVisibility:Tp,deviceType:r0,isMultiSelected:jk,blockEditingMode:ue,isEditingDisabled:ue==="disabled"};if(hf)return to;let ye=le(t),Lt=Do(t),un=ot(t),_r=te(lt,Le),Wc=!0,dO=$t(t,Wc),fO=Fe(t)?t:tt(t),mO=(0,He.hasBlockSupport)(lt,"multiple",!0)?[]:lr(lt),zme=mO.length&&mO[0]!==t;return{...to,mode:ve(t),isSelectionEnabled:he(),isLocked:!!xe(o),isSectionBlock:Fe(t),isWithinSectionBlock:!!fO,isSelectionWithinCurrentSection:le(fO)||$t(fO,Wc),blockType:ua,canRemove:Lt,canMove:un,isSelected:ye,isEditingContentOnlySection:xt()===t,blockEditingMode:ue,mayDisplayControls:ye||wt(t)&&qo().every(jme=>Pe(jme)===lt),mayDisplayParentControls:Ke(Pe(t),"__experimentalExposeControlsToChildren",!1)&&$t(t),blockApiVersion:ua?.apiVersion||1,blockTitle:_r?.title||ua?.title,isSubtreeDisabled:ue==="disabled"&&Eo(t),hasOverlay:ge(t)&&!cr(),initialPosition:ye?Ct():void 0,isHighlighted:Ze(t),isMultiSelected:jk,isPartiallySelected:jk&&!Ve()&&!gt(),isDragging:To(t),hasChildSelected:dO,isEditingDisabled:ue==="disabled",hasEditableOutline:ue!=="disabled"&&At(o)==="disabled",originalBlockClientId:zme?mO[0]:!1,blockVisibility:Tp,deviceType:r0}},[t,o]),n=(0,l1.useRefEffect)(ne=>{if(ne){let{ownerDocument:le}=ne,{defaultView:ve}=le;n.current=ve}},[]),{isBlockCurrentlyHidden:i}=Mi({blockVisibility:r?.blockVisibility,deviceType:r?.deviceType,view:n.current}),s=(0,Nu.useMemo)(()=>({...r?.blockWithoutAttributes,attributes:r?.attributes}),[r?.blockWithoutAttributes,r?.attributes]);if(!r)return null;let{isPreviewMode:a,mode:c="visual",isSelectionEnabled:u=!1,isLocked:d=!1,canRemove:f=!1,canMove:m=!1,name:h,attributes:p,isValid:g,isSelected:b=!1,themeSupportsLayout:v,isEditingContentOnlySection:k,blockEditingMode:y,mayDisplayControls:S,mayDisplayParentControls:x,index:C,blockApiVersion:B,blockType:I,blockTitle:P,isSubtreeDisabled:E,hasOverlay:L,initialPosition:T,isHighlighted:O,isMultiSelected:V,isPartiallySelected:U,isReusable:G,isDragging:j,hasChildSelected:z,isSectionBlock:W,isWithinSectionBlock:ee,isSelectionWithinCurrentSection:se,isEditingDisabled:ce,hasEditableOutline:ie,className:re,defaultClassName:Q,originalBlockClientId:Y,bindableAttributes:J,blockVisibility:K,deviceType:H}=r,X={isPreviewMode:a,clientId:t,className:re,index:C,mode:c,name:h,blockApiVersion:B,blockType:I,blockTitle:P,isSelected:b,isSubtreeDisabled:E,hasOverlay:L,initialPosition:T,blockEditingMode:y,isHighlighted:O,isMultiSelected:V,isPartiallySelected:U,isReusable:G,isDragging:j,hasChildSelected:z,isSectionBlock:W,isWithinSectionBlock:ee,isSelectionWithinCurrentSection:se,isEditingDisabled:ce,hasEditableOutline:ie,isEditingContentOnlySection:k,defaultClassName:Q,mayDisplayControls:S,mayDisplayParentControls:x,originalBlockClientId:Y,themeSupportsLayout:v,canMove:m,isBlockCurrentlyHidden:i,bindableAttributes:J,blockVisibility:K,deviceType:H};return i&&!b&&!V&&!z?null:(0,po.jsx)(ur.Provider,{value:X,children:(0,po.jsx)(PD,{...e,mode:c,isSelectionEnabled:u,isLocked:d,canRemove:f,canMove:m,block:s,name:h,attributes:p,isValid:g,isSelected:b})})}var p9=(0,Nu.memo)(zSe);var $5=l(F(),1),lY=l($(),1);var G5=l(N(),1),rY=l(vM(),1),RB=l(F(),1),OB=l(nt(),1);var tY=l(Xo(),1),Gl=l(N(),1),TB=l(A(),1),oY=l(R(),1),IB=l(F(),1),PB=l(Z(),1),Ky=l($(),1);var Ft=l(R(),1),ag=l(A(),1),Xu=l(N(),1),Gy=l(Z(),1),ZK=l(F(),1);var Ch=l(N(),1),Bh=l(R(),1),g9=l(A(),1),ky=l(w(),1),h9=[(0,Bh.createInterpolateElement)((0,Ch.__)("While writing, you can press / to quickly insert new blocks."),{kbd:(0,ky.jsx)("kbd",{})}),(0,Bh.createInterpolateElement)((0,Ch.__)("Indent a list by pressing space at the beginning of a line."),{kbd:(0,ky.jsx)("kbd",{})}),(0,Bh.createInterpolateElement)((0,Ch.__)("Outdent a list by pressing backspace at the beginning of a line."),{kbd:(0,ky.jsx)("kbd",{})}),(0,Ch.__)("Drag files into the editor to automatically insert media blocks."),(0,Ch.__)("Change a block's type by pressing the block icon on the toolbar.")];function jSe(){let[e]=(0,Bh.useState)(Math.floor(Math.random()*h9.length));return(0,ky.jsx)(g9.Tip,{children:h9[e]})}var b9=jSe;var Wh=l($(),1),A$=l(R(),1),L$=l(N(),1);var bn=l(A(),1),c1=l(F(),1),k9=l(Re(),1),Mu=l(N(),1);var u1=l($(),1);var Cr=l(w(),1),{Badge:USe}=M(bn.privateApis);function HSe({children:e,onClick:t}){return t?(0,Cr.jsx)(bn.Button,{__next40pxDefaultSize:!0,className:"block-editor-block-card__parent-select-button",onClick:t,children:e}):e}function GSe({title:e,icon:t,description:o,blockType:r,className:n,name:i,allowParentNavigation:s,parentClientId:a,isChild:c,children:u,clientId:d}){r&&((0,k9.default)("`blockType` property in `BlockCard component`",{since:"5.7",alternative:"`title, icon and description` properties"}),{title:e,icon:t,description:o}=r);let{parentBlockClientId:f,parentBlockName:m}=(0,c1.useSelect)(g=>{if(a||c||!s)return{};let{getBlockParents:b,getBlockName:v}=g(_),y=b(d,!1).find(S=>{let x=v(S);return x==="core/navigation"||(0,u1.hasBlockSupport)(x,"listView")});return{parentBlockClientId:y,parentBlockName:y?v(y):null}},[d,s,c,a]),{selectBlock:h}=(0,c1.useDispatch)(_),p=a?"div":"h2";return(0,Cr.jsx)("div",{className:D("block-editor-block-card",{"is-parent":a,"is-child":c},n),children:(0,Cr.jsxs)(bn.__experimentalVStack,{children:[(0,Cr.jsxs)(bn.__experimentalHStack,{justify:"flex-start",spacing:0,children:[f&&(0,Cr.jsx)(bn.Button,{onClick:()=>h(f),label:m?(0,Mu.sprintf)((0,Mu.__)('Go to "%s" block'),(0,u1.getBlockType)(m)?.title):(0,Mu.__)("Go to parent block"),style:{minWidth:24,padding:0},icon:(0,Mu.isRTL)()?Vo:Mr,size:"small"}),c&&(0,Cr.jsx)("span",{className:"block-editor-block-card__child-indicator-icon",children:(0,Cr.jsx)(bn.Icon,{icon:(0,Mu.isRTL)()?Zk:Xk})}),(0,Cr.jsxs)(HSe,{onClick:a?()=>{h(a)}:void 0,children:[(0,Cr.jsx)(Ae,{icon:t,showColors:!0}),(0,Cr.jsxs)(bn.__experimentalVStack,{spacing:1,children:[(0,Cr.jsxs)(p,{className:"block-editor-block-card__title",children:[(0,Cr.jsx)("span",{className:"block-editor-block-card__name",children:i?.length?i:e}),!a&&!c&&!!i?.length&&(0,Cr.jsx)(USe,{children:e})]}),u]})]})]}),!a&&!c&&o&&(0,Cr.jsx)(bn.__experimentalText,{className:"block-editor-block-card__description",children:o})]})})}var vy=GSe;var Y1=l(Z(),1),_5=l(F(),1),sm=l(R(),1),S5=l(Re(),1);var V9=l(F(),1),Du=l(R(),1),F9=l(A(),1),tm=l(y9(),1);var S9=l(R(),1),Eh=l(F(),1),_9=l(Z(),1);var d1=l(w(),1);function WSe(e,t,o){if(!o)return t;let r=e.get(t);return r||(r=(0,Eh.createRegistry)({},t),r.registerStore(Kt,Qp),e.set(t,r)),r}var $Se=(0,_9.createHigherOrderComponent)(e=>function({useSubRegistry:o=!0,...r}){let n=(0,Eh.useRegistry)(),[i]=(0,S9.useState)(()=>new WeakMap),s=WSe(i,n,o);return s===n?(0,d1.jsx)(e,{registry:n,...r}):(0,d1.jsx)(Eh.RegistryProvider,{value:s,children:(0,d1.jsx)(e,{registry:s,...r})})},"withRegistryProvider"),x9=$Se;var Wr=l(R(),1),E9=l(F(),1),T9=l($(),1);var w9=l(R(),1),KSe=()=>{},f1=(0,w9.createContext)({getSelection:()=>{},onChangeSelection:KSe});var C9=()=>{};function I9(e,t){let o=(0,T9.cloneBlock)(e);return t.externalToInternal.set(e.clientId,o.clientId),t.internalToExternal.set(o.clientId,e.clientId),e.innerBlocks?.length&&(o.innerBlocks=e.innerBlocks.map(r=>I9(r,t))),o}function P9(e,t){return e.map(o=>{let r=t.internalToExternal.get(o.clientId);return{...o,clientId:r??o.clientId,innerBlocks:P9(o.innerBlocks,t)}})}function B9(e,t){let{selectionStart:o,selectionEnd:r,initialPosition:n}=e,i=s=>{if(!s?.clientId)return s;let a=t.internalToExternal.get(s.clientId);return{...s,clientId:a??s.clientId}};return{selectionStart:i(o),selectionEnd:i(r),initialPosition:n}}function m1({clientId:e=null,value:t,onChange:o=C9,onInput:r=C9}){let n=(0,E9.useRegistry)(),{getSelection:i,onChangeSelection:s}=(0,Wr.useContext)(f1),{resetBlocks:a,resetSelection:c,replaceInnerBlocks:u,setHasControlledInnerBlocks:d,__unstableMarkNextChangeAsNotPersistent:f}=n.dispatch(_),{getBlockName:m,getBlocks:h,getSelectionStart:p,getSelectionEnd:g}=n.select(_),b=(0,Wr.useRef)({incoming:null,outgoing:[]}),v=(0,Wr.useRef)(!1),k=(0,Wr.useRef)({externalToInternal:new Map,internalToExternal:new Map}),y=(0,Wr.useRef)(null),S=(0,Wr.useRef)(!1),x=()=>{let E=i();if(!E?.selectionStart?.clientId||E===y.current)return;let L=E.selectionStart.clientId;if(e?k.current.externalToInternal.has(L):!!m(L)){y.current=E;let O=V=>!V?.clientId||!e?V:{...V,clientId:k.current.externalToInternal.get(V.clientId)??V.clientId};S.current=!0,c(O(E.selectionStart),O(E.selectionEnd),E.initialPosition),S.current=!1}},C=()=>{t&&(e?n.batch(()=>{k.current.externalToInternal.clear(),k.current.internalToExternal.clear();let E=t.map(L=>I9(L,k.current));d(e,!0),v.current&&(b.current.incoming=E),f(),u(e,E),y.current=null}):(v.current&&(b.current.incoming=t),f(),a(t)))},B=()=>{f(),e?(d(e,!1),f(),u(e,[])):a([])},I=(0,Wr.useRef)(r),P=(0,Wr.useRef)(o);(0,Wr.useEffect)(()=>{I.current=r,P.current=o},[r,o]),(0,Wr.useEffect)(()=>{let E=b.current.outgoing.includes(t),L=h(e)===t;E?b.current.outgoing[b.current.outgoing.length-1]===t&&(b.current.outgoing=[]):L||(b.current.outgoing=[],C(),x())},[t,e]),(0,Wr.useEffect)(()=>{let{getSelectedBlocksInitialCaretPosition:E,isLastBlockChangePersistent:L,__unstableIsLastBlockChangeIgnored:T,areInnerBlocksControlled:O,getBlockParents:V}=n.select(_),U=h(e),G=L(),j=!1,z=p(),W=g();v.current=!0;let ee=n.subscribe(()=>{if(e!==null&&m(e)===null)return;let se=L(),ce=h(e),ie=ce!==U;if(U=ce,ie&&(b.current.incoming||T())){b.current.incoming=null,G=se;return}let Q=ie||j&&!ie&&se&&!G,Y=p(),J=g(),K=Y!==z||J!==W;K&&(z=Y,W=J),(Q||K)&&n.batch(()=>{if(Q){G=se;let H=e?P9(U,k.current):U,X={selectionStart:Y,selectionEnd:J,initialPosition:E()},ne=e?B9(X,k.current):X;b.current.outgoing.push(H),(G?P.current:I.current)(H,{selection:ne})}if(K&&!Q&&Y?.clientId&&!S.current&&(e?k.current.internalToExternal.has(Y.clientId):!V(Y.clientId).some(X=>O(X)))){let X={selectionStart:Y,selectionEnd:J,initialPosition:E()};s(e?B9(X,k.current):X)}}),j=ie},_);return()=>{v.current=!1,ee()}},[n,e]),(0,Wr.useEffect)(()=>()=>{B()},[])}var R9=l(R(),1),O9=l(F(),1),A9=l(Is(),1),ho=l(N(),1);function L9(){return null}function YSe(){let{registerShortcut:e}=(0,O9.useDispatch)(A9.store);return(0,R9.useEffect)(()=>{e({name:"core/block-editor/copy",category:"block",description:(0,ho.__)("Copy the selected block(s)."),keyCombination:{modifier:"primary",character:"c"}}),e({name:"core/block-editor/cut",category:"block",description:(0,ho.__)("Cut the selected block(s)."),keyCombination:{modifier:"primary",character:"x"}}),e({name:"core/block-editor/paste",category:"block",description:(0,ho.__)("Paste the selected block(s)."),keyCombination:{modifier:"primary",character:"v"}}),e({name:"core/block-editor/duplicate",category:"block",description:(0,ho.__)("Duplicate the selected block(s)."),keyCombination:{modifier:"primaryShift",character:"d"}}),e({name:"core/block-editor/remove",category:"block",description:(0,ho.__)("Remove the selected block(s)."),keyCombination:{modifier:"access",character:"z"}}),e({name:"core/block-editor/paste-styles",category:"block",description:(0,ho.__)("Paste the copied style to the selected block(s)."),keyCombination:{modifier:"primaryAlt",character:"v"}}),e({name:"core/block-editor/insert-before",category:"block",description:(0,ho.__)("Insert a new block before the selected block(s)."),keyCombination:{modifier:"primaryAlt",character:"t"}}),e({name:"core/block-editor/insert-after",category:"block",description:(0,ho.__)("Insert a new block after the selected block(s)."),keyCombination:{modifier:"primaryAlt",character:"y"}}),e({name:"core/block-editor/delete-multi-selection",category:"block",description:(0,ho.__)("Delete selection."),keyCombination:{character:"del"},aliases:[{character:"backspace"}]}),e({name:"core/block-editor/stop-editing-as-blocks",category:"block",description:(0,ho.__)("Finish editing a design."),keyCombination:{character:"escape"}}),e({name:"core/block-editor/select-all",category:"selection",description:(0,ho.__)("Select all text when typing. Press again to select all blocks."),keyCombination:{modifier:"primary",character:"a"}}),e({name:"core/block-editor/unselect",category:"selection",description:(0,ho.__)("Clear selection."),keyCombination:{character:"escape"}}),e({name:"core/block-editor/multi-text-selection",category:"selection",description:(0,ho.__)("Select text across multiple blocks."),keyCombination:{modifier:"shift",character:"arrow"}}),e({name:"core/block-editor/focus-toolbar",category:"global",description:(0,ho.__)("Navigate to the nearest toolbar."),keyCombination:{modifier:"alt",character:"F10"}}),e({name:"core/block-editor/move-up",category:"block",description:(0,ho.__)("Move the selected block(s) up."),keyCombination:{modifier:"secondary",character:"t"}}),e({name:"core/block-editor/move-down",category:"block",description:(0,ho.__)("Move the selected block(s) down."),keyCombination:{modifier:"secondary",character:"y"}}),e({name:"core/block-editor/collapse-list-view",category:"list-view",description:(0,ho.__)("Collapse all other items."),keyCombination:{modifier:"alt",character:"l"}}),e({name:"core/block-editor/group",category:"block",description:(0,ho.__)("Create a group block from the selected multiple blocks."),keyCombination:{modifier:"primary",character:"g"}}),e({name:"core/block-editor/toggle-block-visibility",category:"block",description:(0,ho.__)("Show or hide the selected block(s)."),keyCombination:{modifier:"primaryShift",character:"h"}}),e({name:"core/block-editor/rename",category:"block",description:(0,ho.__)("Rename the selected block."),keyCombination:{modifier:"primaryAlt",character:"r"}})},[e]),null}L9.Register=YSe;var p1=L9;var N9=l(R(),1);function qSe(e={}){return(0,N9.useMemo)(()=>({mediaUpload:e.mediaUpload,mediaSideload:e.mediaSideload,mediaFinalize:e.mediaFinalize,maxUploadFileSize:e.maxUploadFileSize,allowedMimeTypes:e.allowedMimeTypes,allImageSizes:e.allImageSizes,bigImageSizeThreshold:e.bigImageSizeThreshold}),[e])}var M9=qSe;var Al=l(w(),1),RD=()=>{},D9=!1,Th=null;function ZSe(){if(Th!==null)return Th;if(!window.__clientSideMediaProcessing||typeof tm.detectClientSideMediaSupport!="function")return Th=!1,!1;let e=(0,tm.detectClientSideMediaSupport)();return!e||!e.supported?(D9||(console.info(`Client-side media processing unavailable: ${e.reason}. Using server-side processing.`),D9=!0),Th=!1,!1):(Th=!0,!0)}function XSe(e,t,{allowedTypes:o,additionalData:r={},filesList:n,onError:i=RD,onFileChange:s,onSuccess:a,onBatchSuccess:c}){e.dispatch(tm.store).addItems({files:Array.from(n),onChange:s,onSuccess:u=>{t?.[_0]?.(u),a?.(u)},onBatchSuccess:c,onError:u=>i(typeof u=="string"?u:u?.message??""),additionalData:r,allowedTypes:o})}function QSe(e){return m1(e),null}var Ih=x9(e=>{let{settings:t,registry:o,stripExperimentalSettings:r=!1}=e,n=M9(t),i=ZSe(),s=!!t?.mediaUpload?.__isMediaUploadInterceptor,a=(0,Du.useMemo)(()=>{if(i&&t?.mediaUpload&&!s){let p=XSe.bind(null,o,t);return p.__isMediaUploadInterceptor=!0,{...t,mediaUpload:p}}return t},[t,o,i,s]),{__experimentalUpdateSettings:c}=M((0,V9.useDispatch)(_));(0,Du.useEffect)(()=>{c({...a,__internalIsInitialized:!0},{stripExperimentalSettings:r,reset:!0})},[a,r,c]);let u=(0,Du.useRef)(e.selection);u.current=e.selection;let d=(0,Du.useRef)(e.onChangeSelection??RD);d.current=e.onChangeSelection??RD;let f=(0,Du.useMemo)(()=>({getSelection:()=>u.current,onChangeSelection:(...p)=>d.current(...p)}),[]),m=(0,Al.jsxs)(F9.SlotFillProvider,{passthrough:!0,children:[!a?.isPreviewMode&&(0,Al.jsx)(p1.Register,{}),(0,Al.jsx)(LH,{children:e.children})]}),h=(0,Al.jsxs)(f1.Provider,{value:f,children:[(0,Al.jsx)(QSe,{clientId:e.clientId,value:e.value,onChange:e.onChange,onInput:e.onInput}),m]});return i&&!s?(0,Al.jsx)(tm.MediaUploadProvider,{settings:n,useSubRegistry:!1,children:h}):h}),JSe=e=>(0,Al.jsx)(Ih,{...e,stripExperimentalSettings:!0,children:e.children}),z9=JSe;var My=l(Z(),1),x$=l(F(),1),K1=l(R(),1),w$=l(A(),1);var om=l(R(),1),BG=l(N(),1),Vu=l(Z(),1),EG=l(A(),1),VD=l(F(),1);var vG=l(F(),1),yG=l(N(),1),xy=l(Z(),1),SG=l(R(),1);var j9=l(Z(),1),U9=l(F(),1);function e_e(e){let{isMultiSelecting:t,getMultiSelectedBlockClientIds:o,hasMultiSelection:r,getSelectedBlockClientId:n,getSelectedBlocksInitialCaretPosition:i,__unstableIsFullySelected:s}=e(_);return{isMultiSelecting:t(),multiSelectedBlockClientIds:o(),hasMultiSelection:r(),selectedBlockClientId:n(),initialPosition:i(),isFullSelection:s()}}function H9(){let{initialPosition:e,isMultiSelecting:t,multiSelectedBlockClientIds:o,hasMultiSelection:r,selectedBlockClientId:n,isFullSelection:i}=(0,U9.useSelect)(e_e,[]);return(0,j9.useRefEffect)(s=>{let{ownerDocument:a}=s,{defaultView:c}=a;if(e==null||!r||t)return;let{length:u}=o;u<2||i&&(s.contentEditable=!0,s.focus(),c.getSelection().removeAllRanges())},[r,t,o,n,e,i])}var Ph=l(je(),1),OD=l(nt(),1),h1=l(F(),1),g1=l(Z(),1),yy=l(R(),1);var AD=l(w(),1);function G9(){let e=(0,yy.useRef)(),t=(0,yy.useRef)(),o=(0,yy.useRef)(),{hasMultiSelection:r,getSelectedBlockClientId:n,getBlockCount:i,getBlockOrder:s,getLastFocus:a,getSectionRootClientId:c,isZoomOut:u}=M((0,h1.useSelect)(_)),{setLastFocus:d}=M((0,h1.useDispatch)(_)),f=(0,yy.useRef)();function m(v){let k=e.current.ownerDocument===v.target.ownerDocument?e.current:e.current.ownerDocument.defaultView.frameElement;if(f.current)f.current=null;else if(r())e.current.focus();else if(n())a()?.current?a().current.focus():e.current.querySelector(`[data-block="${n()}"]`).focus();else if(u()){let y=c(),S=s(y);S.length?e.current.querySelector(`[data-block="${S[0]}"]`).focus():y?e.current.querySelector(`[data-block="${y}"]`).focus():k.focus()}else{let y=v.target.compareDocumentPosition(k)&v.target.DOCUMENT_POSITION_FOLLOWING,S=Ph.focus.tabbable.find(e.current);S.length&&(y?S[0]:S[S.length-1]).focus()}}let h=(0,AD.jsx)("div",{ref:t,tabIndex:"0",onFocus:m}),p=(0,AD.jsx)("div",{ref:o,tabIndex:"0",onFocus:m}),g=(0,g1.useRefEffect)(v=>{function k(B){if(B.defaultPrevented||B.keyCode!==OD.TAB||!o.current||!t.current)return;let{target:I,shiftKey:P}=B,E=P?"findPrevious":"findNext",L=Ph.focus.tabbable[E](I),T=I.closest("[data-block]"),O=T&&L&&(O7(T,L)||va(T,L));if((0,Ph.isFormElement)(L)&&O)return;let V=P?t:o;f.current=!0,V.current.focus({preventScroll:!0})}function y(B){d({...a(),current:B.target});let{ownerDocument:I}=v;!B.relatedTarget&&B.target.hasAttribute("data-block")&&I.activeElement===I.body&&i()===0&&v.focus()}function S(B){if(B.keyCode!==OD.TAB||B.target?.getAttribute("role")==="region"||e.current===B.target)return;let P=B.shiftKey?"findPrevious":"findNext",E=Ph.focus.tabbable[P](B.target);(E===t.current||E===o.current)&&(B.preventDefault(),E.focus({preventScroll:!0}))}let{ownerDocument:x}=v,{defaultView:C}=x;return C.addEventListener("keydown",S),v.addEventListener("keydown",k),v.addEventListener("focusout",y),()=>{C.removeEventListener("keydown",S),v.removeEventListener("keydown",k),v.removeEventListener("focusout",y)}},[]),b=(0,g1.useMergeRefs)([e,g]);return[h,b,p]}var go=l(je(),1),ya=l(nt(),1),b1=l(F(),1),W9=l(Z(),1);function t_e(e,t,o){let r=t===ya.UP||t===ya.DOWN,{tagName:n}=e,i=e.getAttribute("type");return r&&!o?n==="INPUT"?!["date","datetime-local","month","number","range","time","week"].includes(i):!0:n==="INPUT"?["button","checkbox","number","color","file","image","radio","reset","submit"].includes(i):n!=="TEXTAREA"}function LD(e,t,o,r){let n=go.focus.focusable.find(o);t&&n.reverse(),n=n.slice(n.indexOf(e)+1);let i;r&&(i=e.getBoundingClientRect());function s(a){if(Ni(a)&&go.focus.focusable.find(a).filter(c=>!(0,go.isFormElement)(c)).length!==0||!go.focus.tabbable.isTabbableIndex(a)||a.isContentEditable&&a.contentEditable!=="true")return!1;if(r){let c=a.getBoundingClientRect();if(c.left>=i.right||c.right<=i.left)return!1}return!0}return n.find(s)}function $9(){let{getMultiSelectedBlocksStartClientId:e,getMultiSelectedBlocksEndClientId:t,getSettings:o,hasMultiSelection:r,__unstableIsFullySelected:n}=(0,b1.useSelect)(_),{selectBlock:i}=(0,b1.useDispatch)(_);return(0,W9.useRefEffect)(s=>{let a;function c(){a=null}function u(f,m){let h=LD(f,m,s);return h&&Ni(h)}function d(f){if(f.defaultPrevented)return;let{keyCode:m,target:h,shiftKey:p,ctrlKey:g,altKey:b,metaKey:v}=f,k=m===ya.UP,y=m===ya.DOWN,S=m===ya.LEFT,x=m===ya.RIGHT,C=k||S,B=S||x,I=k||y,P=B||I,E=p||g||b||v,L=I?go.isVerticalEdge:go.isHorizontalEdge,{ownerDocument:T}=s,{defaultView:O}=T;if(!P||o().isPreviewMode)return;if(r()){if(p||!n())return;f.preventDefault(),C?i(e()):i(t(),-1);return}if(!t_e(h,m,E))return;I?a||(a=(0,go.computeCaretRect)(O)):a=null;let V=(0,go.isRTL)(h)?!C:C,{keepCaretInsideBlock:U}=o();if(p)u(h,C)&&L(h,C)&&(s.contentEditable=!0,s.focus());else if(I&&(0,go.isVerticalEdge)(h,C)&&(!b||(0,go.isHorizontalEdge)(h,V))&&!U){let G=LD(h,C,s,!0);G&&((0,go.placeCaretAtVerticalEdge)(G,b?!C:C,b?void 0:a),f.preventDefault())}else if(B&&O.getSelection().isCollapsed&&(0,go.isHorizontalEdge)(h,V)&&!U){let G=LD(h,V,s);(0,go.placeCaretAtHorizontalEdge)(G,C),f.preventDefault()}}return s.addEventListener("mousedown",c),s.addEventListener("keydown",d),()=>{s.removeEventListener("mousedown",c),s.removeEventListener("keydown",d)}},[])}var K9=l(Z(),1),Y9=l(F(),1),Sa=l(nt(),1);function q9(){let e=(0,Y9.useSelect)(t=>t(_).getSettings().isPreviewMode,[]);return(0,K9.useRefEffect)(t=>{if(!e)return;function o(r){let{keyCode:n,shiftKey:i,target:s}=r,a=n===Sa.TAB,c=n===Sa.UP,u=n===Sa.DOWN,d=n===Sa.LEFT;if(!a&&!(c||u||d||n===Sa.RIGHT))return;let h=a?i:c||d,p=Array.from(t.querySelectorAll("[data-block]"));if(!p.length)return;let g=s.closest("[data-block]"),b=g?p.indexOf(g):-1;if(b===-1||a&&(h&&b===0||!h&&b===p.length-1))return;let v;h?v=b<=0?p.length-1:b-1:v=b===-1||b>=p.length-1?0:b+1,r.preventDefault(),p[v].focus()}return t.addEventListener("keydown",o),()=>{t.removeEventListener("keydown",o)}},[e])}var Z9=l(je(),1),k1=l(F(),1),X9=l(Is(),1),Q9=l(Z(),1);function J9(){let{getBlockOrder:e,getSelectedBlockClientIds:t,getBlockRootClientId:o}=(0,k1.useSelect)(_),{multiSelect:r,selectBlock:n}=(0,k1.useDispatch)(_),i=(0,X9.__unstableUseShortcutEventMatch)();return(0,Q9.useRefEffect)(s=>{function a(c){if(!i("core/block-editor/select-all",c))return;let u=t();if(u.length<2&&!(0,Z9.isEntirelySelected)(c.target))return;c.preventDefault();let{ownerDocument:d}=c.target,[f]=u,m=Ni(d.activeElement);if(m&&m!==f&&!va(d.getElementById("block-"+f),d.activeElement)){n(m);return}let h=o(f),p=e(h);if(u.length===p.length){h&&(s.ownerDocument.defaultView.getSelection().removeAllRanges(),n(h));return}r(p[0],p[p.length-1])}return s.addEventListener("keydown",a),()=>{s.removeEventListener("keydown",a)}},[])}var v1=l(F(),1),tG=l(Z(),1);function eG(e,t){e.contentEditable=t,t&&e.focus()}function oG(){let{startMultiSelect:e,stopMultiSelect:t}=(0,v1.useDispatch)(_),{getSettings:o,isSelectionEnabled:r,hasSelectedBlock:n,isDraggingBlocks:i,isMultiSelecting:s}=(0,v1.useSelect)(_);return(0,tG.useRefEffect)(a=>{let{ownerDocument:c}=a,{defaultView:u}=c,d,f;function m(){t(),u.removeEventListener("mouseup",m),f=u.requestAnimationFrame(()=>{if(!n())return;eG(a,!1);let b=u.getSelection();if(b.rangeCount){let v=b.getRangeAt(0),{commonAncestorContainer:k}=v,y=v.cloneRange();d.contains(k)&&(d.focus(),b.removeAllRanges(),b.addRange(y))}})}let h;function p({target:b}){h=b}function g({buttons:b,target:v,relatedTarget:k}){v.contains(h)&&(v.contains(k)||i()||b===1&&(s()||a!==v&&(v.getAttribute("contenteditable")!=="true"&&!o().isPreviewMode||r()&&(d=v,e(),u.addEventListener("mouseup",m),eG(a,!0)))))}return a.addEventListener("mouseout",g),a.addEventListener("mousedown",p),()=>{a.removeEventListener("mouseout",g),u.removeEventListener("mouseup",m),u.cancelAnimationFrame(f)}},[e,t,r,n])}var y1=l(F(),1),iG=l(Z(),1),ND=l(dr(),1),sG=l(je(),1);function o_e(e){let{anchorNode:t,anchorOffset:o}=e;return t.nodeType===t.TEXT_NODE||o===0?t:t.childNodes[o-1]}function r_e(e){let{focusNode:t,focusOffset:o}=e;return t.nodeType===t.TEXT_NODE||o===t.childNodes.length?t:o===0&&(0,sG.isSelectionForward)(e)?t.previousSibling??t.parentElement:t.childNodes[o]}function n_e(e,t){let o=0;for(;e[o]===t[o];)o++;return o}function rG(e,t){e.contentEditable!==String(t)&&(e.contentEditable=t,t&&e.focus())}function nG(e){return(e.nodeType===e.ELEMENT_NODE?e:e.parentElement)?.closest("[data-wp-block-attribute-key]")}function aG(){let{multiSelect:e,selectBlock:t,selectionChange:o}=(0,y1.useDispatch)(_),{getBlockParents:r,getBlockSelectionStart:n,isMultiSelecting:i}=(0,y1.useSelect)(_);return(0,iG.useRefEffect)(s=>{let{ownerDocument:a}=s,{defaultView:c}=a;function u(d){let f=c.getSelection();if(!f.rangeCount)return;let m=o_e(f),h=r_e(f);if(!s.contains(m)||!s.contains(h))return;let p=d.shiftKey&&d.type==="mouseup";if(f.isCollapsed&&!p){if(s.contentEditable==="true"&&!i()){rG(s,!1);let k=m.nodeType===m.ELEMENT_NODE?m:m.parentElement;k=k?.closest("[contenteditable]"),k?.focus()}return}let g=Ni(m),b=Ni(h);if(p){let k=n(),y=Ni(d.target),S=y!==b;(g===b&&f.isCollapsed||!b||S)&&(b=y),g!==k&&(g=k)}if(g===void 0&&b===void 0){rG(s,!1);return}if(d.type==="mouseup"&&!d.shiftKey&&!i()&&g===b){let k=Ni(d.target);if(k&&k!==g){f.removeAllRanges();return}}if(g===b)i()?e(g,g):t(g);else{let k=[...r(g),g],y=[...r(b),b],S=n_e(k,y);if(k[S]!==g||y[S]!==b){e(k[S],y[S]);return}let x=nG(m),C=nG(h);if(x&&C){let B=f.getRangeAt(0),I=(0,ND.create)({element:x,range:B,__unstableIsEditableTree:!0}),P=(0,ND.create)({element:C,range:B,__unstableIsEditableTree:!0}),E=I.start??I.end,L=P.start??P.end;o({start:{clientId:g,attributeKey:x.dataset.wpBlockAttributeKey,offset:E},end:{clientId:b,attributeKey:C.dataset.wpBlockAttributeKey,offset:L}})}else e(g,b)}}return a.addEventListener("selectionchange",u),c.addEventListener("mouseup",u),()=>{a.removeEventListener("selectionchange",u),c.removeEventListener("mouseup",u)}},[e,t,o,r])}var S1=l(F(),1),lG=l(Z(),1);function cG(){let{selectBlock:e}=(0,S1.useDispatch)(_),{isSelectionEnabled:t,getBlockSelectionStart:o,hasMultiSelection:r}=(0,S1.useSelect)(_);return(0,lG.useRefEffect)(n=>{function i(s){if(!t()||s.button!==0)return;let a=o(),c=Ni(s.target);s.shiftKey?a&&a!==c&&(n.contentEditable=!0,n.focus()):r()&&e(c)}return n.addEventListener("mousedown",i),()=>{n.removeEventListener("mousedown",i)}},[e,t,o,r])}var _1=l(F(),1),uG=l(Z(),1),Ll=l(nt(),1),Ps=l($(),1);function dG(){let{__unstableIsFullySelected:e,getSelectedBlockClientIds:t,getSelectedBlockClientId:o,__unstableIsSelectionMergeable:r,hasMultiSelection:n,getBlockName:i,canInsertBlockType:s,getBlockRootClientId:a,getSelectionStart:c,getSelectionEnd:u,getBlockAttributes:d}=(0,_1.useSelect)(_),{replaceBlocks:f,__unstableSplitSelection:m,removeBlocks:h,__unstableDeleteSelection:p,__unstableExpandSelection:g,__unstableMarkAutomaticChange:b}=(0,_1.useDispatch)(_);return(0,uG.useRefEffect)(v=>{function k(x){v.contentEditable==="true"&&x.preventDefault()}function y(x){if(!x.defaultPrevented){if(!n()){if(x.keyCode===Ll.ENTER){if(x.shiftKey||e())return;let C=o(),B=i(C),I=c(),P=u();if(I.attributeKey===P.attributeKey){let E=d(C)[I.attributeKey],L=(0,Ps.getBlockTransforms)("from").filter(({type:O})=>O==="enter"),T=(0,Ps.findTransform)(L,O=>O.regExp.test(E));if(T){f(C,T.transform({content:E})),b();return}}if(!(0,Ps.hasBlockSupport)(B,"splitting",!1)&&!x.__deprecatedOnSplit)return;(s((0,Ps.getDefaultBlockName)(),a(C))||s(B,a(C)))&&(m(),x.preventDefault())}return}x.keyCode===Ll.ENTER?(v.contentEditable=!1,x.preventDefault(),e()?f(t(),(0,Ps.createBlock)((0,Ps.getDefaultBlockName)())):m()):x.keyCode===Ll.BACKSPACE||x.keyCode===Ll.DELETE?(v.contentEditable=!1,x.preventDefault(),e()?h(t()):r()?p(x.keyCode===Ll.DELETE):g()):x.key.length===1&&!(x.metaKey||x.ctrlKey)&&(v.contentEditable=!1,r()?p(x.keyCode===Ll.DELETE):(x.preventDefault(),v.ownerDocument.defaultView.getSelection().removeAllRanges()))}}function S(x){n()&&(v.contentEditable=!1,r()?p():(x.preventDefault(),v.ownerDocument.defaultView.getSelection().removeAllRanges()))}return v.addEventListener("beforeinput",k),v.addEventListener("keydown",y),v.addEventListener("compositionstart",S),()=>{v.removeEventListener("beforeinput",k),v.removeEventListener("keydown",y),v.removeEventListener("compositionstart",S)}},[])}var _a=l($(),1),w1=l(je(),1),Ah=l(F(),1),kG=l(Z(),1);var fG=l(R(),1),mG=l($(),1),Sy=l(F(),1),Di=l(N(),1),pG=l(Ii(),1);function Rh(){let{getBlockName:e}=(0,Sy.useSelect)(_),{getBlockType:t}=(0,Sy.useSelect)(mG.store),{createSuccessNotice:o}=(0,Sy.useDispatch)(pG.store);return(0,fG.useCallback)((r,n)=>{let i="";if(r==="copyStyles")i=(0,Di.__)("Styles copied to clipboard.");else if(n.length===1){let s=n[0],a=t(e(s))?.title;r==="copy"?i=(0,Di.sprintf)((0,Di.__)('Copied "%s" to clipboard.'),a):i=(0,Di.sprintf)((0,Di.__)('Moved "%s" to clipboard.'),a)}else r==="copy"?i=(0,Di.sprintf)((0,Di._n)("Copied %d block to clipboard.","Copied %d blocks to clipboard.",n.length),n.length):i=(0,Di.sprintf)((0,Di._n)("Moved %d block to clipboard.","Moved %d blocks to clipboard.",n.length),n.length);o(i,{type:"snackbar"})},[o,e,t])}var gG=l(je(),1),Vi=l($(),1);var hG=l(je(),1);function i_e(e){let t="",o=e.indexOf(t);if(o>-1)e=e.substring(o+t.length);else return e;let n=e.indexOf("");return n>-1&&(e=e.substring(0,n)),e}function s_e(e){let t="";return e.startsWith(t)?e.slice(t.length):e}function Oh({clipboardData:e}){let t="",o="";try{t=e.getData("text/plain"),o=e.getData("text/html")}catch{return}o=i_e(o),o=s_e(o);let r=(0,hG.getFilesFromDataTransfer)(e);return r.length&&!a_e(r,o)?{files:r}:{html:o,plainText:t,files:[]}}function a_e(e,t){if(t&&e?.length===1&&e[0].type.indexOf("image/")===0){let o=/<\s*img\b/gi;if(t.match(o)?.length!==1)return!0;let r=/<\s*img\b[^>]*\bsrc="file:\/\//i;if(t.match(r))return!0}return!1}var MD=Symbol("requiresWrapperOnCopy");function x1(e,t,o){let r=t,[n]=t;if(n&&o.select(Vi.store).getBlockType(n.name)[MD]){let{getBlockRootClientId:a,getBlockName:c,getBlockAttributes:u}=o.select(_),d=a(n.clientId),f=c(d);f&&(r=(0,Vi.createBlock)(f,u(d),r))}let i=(0,Vi.serialize)(r);e.clipboardData.setData("text/plain",l_e(i)),e.clipboardData.setData("text/html",i)}function bG(e,t){let{plainText:o,html:r,files:n}=Oh(e),i=[];if(n.length){let s=(0,Vi.getBlockTransforms)("from");i=n.reduce((a,c)=>{let u=(0,Vi.findTransform)(s,d=>d.type==="files"&&d.isMatch([c]));return u&&a.push(u.transform([c])),a},[]).flat()}else i=(0,Vi.pasteHandler)({HTML:r,plainText:o,mode:"BLOCKS",canUserUseUnfilteredHTML:t});return i}function l_e(e){return e=e.replace(/
/g,` `),(0,gG.__unstableStripHTML)(e).trim().replace(/\n\n+/g,` -`)}function _y(){let e=(0,Ah.useRegistry)(),{getBlocksByClientId:t,getSelectedBlockClientIds:o,hasMultiSelection:r,getSettings:n,getBlockName:i,__unstableIsFullySelected:s,__unstableIsSelectionCollapsed:a,__unstableIsSelectionMergeable:c,__unstableGetSelectedBlocksWithPartialSelection:u,canInsertBlockType:d,getBlockRootClientId:f}=(0,Ah.useSelect)(_),{flashBlock:m,removeBlocks:h,replaceBlocks:p,__unstableDeleteSelection:g,__unstableExpandSelection:b,__unstableSplitSelection:v}=(0,Ah.useDispatch)(_),k=Rh();return(0,kG.useRefEffect)(y=>{function S(x){if(x.defaultPrevented)return;let C=o();if(C.length===0)return;if(!r()){let{target:L}=x,{ownerDocument:T}=L;if(x.type==="copy"||x.type==="cut"?(0,w1.documentHasUncollapsedSelection)(T):(0,w1.documentHasSelection)(T)&&!T.activeElement.isContentEditable)return}let{activeElement:B}=x.target.ownerDocument;if(!y.contains(B))return;let I=c(),P=a()||s(),E=!P&&!I;if(x.type==="copy"||x.type==="cut")if(x.preventDefault(),C.length===1&&m(C[0]),E)b();else{k(x.type,C);let L;if(P)L=t(C);else{let[T,O]=u(),V=t(C.slice(1,C.length-1));L=[T,...V,O]}x1(x,L,e)}if(x.type==="cut")P&&!E?h(C):(x.target.ownerDocument.activeElement.contentEditable=!1,g());else if(x.type==="paste"){let{__experimentalCanUserUseUnfilteredHTML:L,mediaUpload:T}=n();if(x.clipboardData.getData("rich-text")==="true")return;let{plainText:V,html:U,files:G}=Oh(x),j=s(),z=[];if(G.length){if(!T){x.preventDefault();return}let ce=(0,_a.getBlockTransforms)("from");z=G.reduce((ie,re)=>{let Q=(0,_a.findTransform)(ce,Y=>Y.type==="files"&&Y.isMatch([re]));return Q&&ie.push(Q.transform([re])),ie},[]).flat()}else z=(0,_a.pasteHandler)({HTML:U,plainText:V,mode:j?"BLOCKS":"AUTO",canUserUseUnfilteredHTML:L});if(typeof z=="string")return;if(j){p(C,z,z.length-1,-1),x.preventDefault();return}if(!r()&&!(0,_a.hasBlockSupport)(i(C[0]),"splitting",!1)&&!x.__deprecatedOnSplit)return;let[W]=C,ee=f(W),se=[];for(let ce of z)if(d(ce.name,ee))se.push(ce);else{let ie=i(ee),re=ce.name!==ie?(0,_a.switchToBlockType)(ce,ie):[ce];if(!re)return;for(let Q of re)for(let Y of Q.innerBlocks)se.push(Y)}v(se),x.preventDefault()}}return y.ownerDocument.addEventListener("copy",S),y.ownerDocument.addEventListener("cut",S),y.ownerDocument.addEventListener("paste",S),()=>{y.ownerDocument.removeEventListener("copy",S),y.ownerDocument.removeEventListener("cut",S),y.ownerDocument.removeEventListener("paste",S)}},[])}var Lh=l(w(),1);function DD(){let[e,t,o]=G9(),r=(0,vG.useSelect)(n=>n(_).hasMultiSelection(),[]);return[e,(0,xy.useMergeRefs)([t,_y(),dG(),oG(),aG(),cG(),H9(),J9(),$9(),q9(),(0,xy.useRefEffect)(n=>(n.tabIndex=0,n.dataset.hasMultiSelection=r,r?(n.setAttribute("aria-label",(0,yG.__)("Multiple selected blocks")),()=>{delete n.dataset.hasMultiSelection,n.removeAttribute("aria-label")}):()=>{delete n.dataset.hasMultiSelection}),[r])]),o]}function u_e({children:e,...t},o){let[r,n,i]=DD();return(0,Lh.jsxs)(Lh.Fragment,{children:[r,(0,Lh.jsx)("div",{...t,ref:(0,xy.useMergeRefs)([n,o]),className:D(t.className,"block-editor-writing-flow"),children:e}),i]})}var C1=(0,SG.forwardRef)(u_e);var B1=null;function _G(){return B1||(B1=Array.from(document.styleSheets).reduce((e,t)=>{try{t.cssRules}catch{return e}let{ownerNode:o,cssRules:r}=t;if(o===null||!r||o.id.startsWith("wp-")||!o.id)return e;function n(i){return Array.from(i).find(({selectorText:s,conditionText:a,cssRules:c})=>a?n(c):s&&(s.includes(".editor-styles-wrapper")||s.includes(".wp-block")))}if(n(r)){let i=o.tagName==="STYLE";if(i){let s=o.id.replace("-inline-css","-css"),a=document.getElementById(s);a&&e.push(a.cloneNode(!0))}if(e.push(o.cloneNode(!0)),!i){let s=o.id.replace("-css","-inline-css"),a=document.getElementById(s);a&&e.push(a.cloneNode(!0))}}return e},[]),B1)}var kn=l(R(),1),wy=l(Z(),1);function xG({frameSize:e,containerWidth:t,maxContainerWidth:o,scaleContainerWidth:r}){return(Math.min(t,o)-e*2)/r}function d_e(e,t){let{scaleValue:o,scrollHeight:r}=e,{frameSize:n,scaleValue:i}=t;return r*(i/o)+n*2}function f_e(e,t){let{containerHeight:o,frameSize:r,scaleValue:n,scrollTop:i}=e,{containerHeight:s,frameSize:a,scaleValue:c,scrollHeight:u}=t,d=i;d=(d+o/2-r)/n-o/2,d=(d+s/2)*c+a-s/2,d=i<=r?0:d;let f=u-s;return Math.round(Math.min(Math.max(0,d),Math.max(0,f)))}function m_e(e,t){let{scaleValue:o,frameSize:r,scrollTop:n}=e,{scaleValue:i,frameSize:s,scrollTop:a}=t;return[{translate:"0 0",scale:o,paddingTop:`${r/o}px`,paddingBottom:`${r/o}px`},{translate:`0 ${n-a}px`,scale:i,paddingTop:`${s/i}px`,paddingBottom:`${s/i}px`}]}function wG({frameSize:e,iframeDocument:t,maxContainerWidth:o=750,scale:r}){let[n,{height:i}]=(0,wy.useResizeObserver)(),[s,{width:a,height:c}]=(0,wy.useResizeObserver)(),u=(0,kn.useRef)(0),d=r!==1,f=(0,wy.useReducedMotion)(),m=r==="auto-scaled",h=(0,kn.useRef)(!1),p=(0,kn.useRef)(null);(0,kn.useEffect)(()=>{d||(u.current=a)},[a,d]);let g=Math.max(u.current,a),b=m?xG({frameSize:e,containerWidth:a,maxContainerWidth:o,scaleContainerWidth:g}):r,v=(0,kn.useRef)({scaleValue:b,frameSize:e,containerHeight:0,scrollTop:0,scrollHeight:0}),k=(0,kn.useRef)({scaleValue:b,frameSize:e,containerHeight:0,scrollTop:0,scrollHeight:0}),y=(0,kn.useCallback)(()=>{let{scrollTop:C}=v.current,{scrollTop:B}=k.current;return t.documentElement.style.setProperty("--wp-block-editor-iframe-zoom-out-scroll-top",`${C}px`),t.documentElement.style.setProperty("--wp-block-editor-iframe-zoom-out-scroll-top-next",`${B}px`),t.documentElement.style.setProperty("--wp-block-editor-iframe-zoom-out-overflow-behavior",v.current.scrollHeight===v.current.containerHeight?"auto":"scroll"),t.documentElement.classList.add("zoom-out-animation"),t.documentElement.animate(m_e(v.current,k.current),{easing:"cubic-bezier(0.46, 0.03, 0.52, 0.96)",duration:400})},[t]),S=(0,kn.useCallback)(()=>{h.current=!1,p.current=null,t.documentElement.style.setProperty("--wp-block-editor-iframe-zoom-out-scale",k.current.scaleValue),t.documentElement.style.setProperty("--wp-block-editor-iframe-zoom-out-frame-size",`${k.current.frameSize}px`),t.documentElement.classList.remove("zoom-out-animation"),t.documentElement.scrollTop=k.current.scrollTop,t.documentElement.style.removeProperty("--wp-block-editor-iframe-zoom-out-scroll-top"),t.documentElement.style.removeProperty("--wp-block-editor-iframe-zoom-out-scroll-top-next"),t.documentElement.style.removeProperty("--wp-block-editor-iframe-zoom-out-overflow-behavior"),v.current=k.current},[t]),x=(0,kn.useRef)(!1);return(0,kn.useEffect)(()=>{let C=t&&x.current!==d;if(x.current=d,!!C&&(h.current=!0,!!d))return t.documentElement.classList.add("is-zoomed-out"),()=>{t.documentElement.classList.remove("is-zoomed-out")}},[t,d]),(0,kn.useEffect)(()=>{if(t&&(m&&v.current.scaleValue!==1&&(v.current.scaleValue=xG({frameSize:v.current.frameSize,containerWidth:a,maxContainerWidth:o,scaleContainerWidth:a})),b<1&&(h.current||(t.documentElement.style.setProperty("--wp-block-editor-iframe-zoom-out-scale",b),t.documentElement.style.setProperty("--wp-block-editor-iframe-zoom-out-frame-size",`${e}px`)),t.documentElement.style.setProperty("--wp-block-editor-iframe-zoom-out-content-height",`${i}px`),t.documentElement.style.setProperty("--wp-block-editor-iframe-zoom-out-inner-height",`${c}px`),t.documentElement.style.setProperty("--wp-block-editor-iframe-zoom-out-container-width",`${a}px`),t.documentElement.style.setProperty("--wp-block-editor-iframe-zoom-out-scale-container-width",`${g}px`)),h.current))if(h.current=!1,p.current){p.current.reverse();let C=v.current,B=k.current;v.current=B,k.current=C}else v.current.scrollTop=t.documentElement.scrollTop,v.current.scrollHeight=t.documentElement.scrollHeight,v.current.containerHeight=c,k.current={scaleValue:b,frameSize:e,containerHeight:t.documentElement.clientHeight},k.current.scrollHeight=d_e(v.current,k.current),k.current.scrollTop=f_e(v.current,k.current),p.current=y(),f?S():p.current.onfinish=S},[y,S,f,m,b,e,t,i,a,c,o,g]),{isZoomedOut:d,scaleContainerWidth:g,contentResizeListener:n,containerResizeListener:s}}var Rs=l(w(),1);function TG(e,t,o){let r={};for(let s in e)r[s]=e[s];if(e instanceof o.contentDocument.defaultView.MouseEvent){let s=o.getBoundingClientRect();r.clientX+=s.left,r.clientY+=s.top}let n=new t(e.type,r);r.defaultPrevented&&n.preventDefault(),!o.dispatchEvent(n)&&e.preventDefault()}function p_e(e){return(0,Vu.useRefEffect)(()=>{let{defaultView:t}=e;if(!t)return;let{frameElement:o}=t,r=e.documentElement,n=["dragover","mousemove"],i={};for(let s of n)i[s]=a=>{let u=Object.getPrototypeOf(a).constructor.name,d=window[u];TG(a,d,o)},r.addEventListener(s,i[s]);return()=>{for(let s of n)r.removeEventListener(s,i[s])}})}var CG=new WeakMap,h_e=globalThis.FinalizationRegistry?new globalThis.FinalizationRegistry(e=>URL.revokeObjectURL(e)):void 0;function g_e(e){let t=CG.get(e);if(t)return t;let o=` +`)}function _y(){let e=(0,Ah.useRegistry)(),{getBlocksByClientId:t,getSelectedBlockClientIds:o,hasMultiSelection:r,getSettings:n,getBlockName:i,__unstableIsFullySelected:s,__unstableIsSelectionCollapsed:a,__unstableIsSelectionMergeable:c,__unstableGetSelectedBlocksWithPartialSelection:u,canInsertBlockType:d,getBlockRootClientId:f}=(0,Ah.useSelect)(_),{flashBlock:m,removeBlocks:h,replaceBlocks:p,__unstableDeleteSelection:g,__unstableExpandSelection:b,__unstableSplitSelection:v}=(0,Ah.useDispatch)(_),k=Rh();return(0,kG.useRefEffect)(y=>{function S(x){if(x.defaultPrevented)return;let C=o();if(C.length===0)return;if(!r()){let{target:L}=x,{ownerDocument:T}=L;if(x.type==="copy"||x.type==="cut"?(0,w1.documentHasUncollapsedSelection)(T):(0,w1.documentHasSelection)(T)&&!T.activeElement.isContentEditable)return}let{activeElement:B}=x.target.ownerDocument;if(!y.contains(B))return;let I=c(),P=a()||s(),E=!P&&!I;if(x.type==="copy"||x.type==="cut")if(x.preventDefault(),C.length===1&&m(C[0]),E)b();else{k(x.type,C);let L;if(P)L=t(C);else{let[T,O]=u(),V=t(C.slice(1,C.length-1));L=[T,...V,O]}x1(x,L,e)}if(x.type==="cut")P&&!E?h(C):(x.target.ownerDocument.activeElement.contentEditable=!1,g());else if(x.type==="paste"){let{__experimentalCanUserUseUnfilteredHTML:L,mediaUpload:T}=n();if(x.clipboardData.getData("rich-text")==="true")return;let{plainText:V,html:U,files:G}=Oh(x),j=s(),z=[];if(G.length){if(!T){x.preventDefault();return}let ce=(0,_a.getBlockTransforms)("from");z=G.reduce((ie,re)=>{let Q=(0,_a.findTransform)(ce,Y=>Y.type==="files"&&Y.isMatch([re]));return Q&&ie.push(Q.transform([re])),ie},[]).flat()}else z=(0,_a.pasteHandler)({HTML:U,plainText:V,mode:j?"BLOCKS":"AUTO",canUserUseUnfilteredHTML:L});if(typeof z=="string")return;if(j){p(C,z,z.length-1,-1),x.preventDefault();return}if(!r()&&!(0,_a.hasBlockSupport)(i(C[0]),"splitting",!1)&&!x.__deprecatedOnSplit)return;let[W]=C,ee=f(W),se=[];for(let ce of z)if(d(ce.name,ee))se.push(ce);else{let ie=i(ee),re=ce.name!==ie?(0,_a.switchToBlockType)(ce,ie):[ce];if(!re)return;for(let Q of re)for(let Y of Q.innerBlocks)se.push(Y)}v(se),x.preventDefault()}}return y.ownerDocument.addEventListener("copy",S),y.ownerDocument.addEventListener("cut",S),y.ownerDocument.addEventListener("paste",S),()=>{y.ownerDocument.removeEventListener("copy",S),y.ownerDocument.removeEventListener("cut",S),y.ownerDocument.removeEventListener("paste",S)}},[])}var Lh=l(w(),1);function DD(){let[e,t,o]=G9(),r=(0,vG.useSelect)(n=>n(_).hasMultiSelection(),[]);return[e,(0,xy.useMergeRefs)([t,_y(),dG(),oG(),aG(),cG(),H9(),J9(),$9(),q9(),(0,xy.useRefEffect)(n=>(n.tabIndex=0,n.dataset.hasMultiSelection=r,r?(n.setAttribute("aria-label",(0,yG.__)("Multiple selected blocks")),()=>{delete n.dataset.hasMultiSelection,n.removeAttribute("aria-label")}):()=>{delete n.dataset.hasMultiSelection}),[r])]),o]}function c_e({children:e,...t},o){let[r,n,i]=DD();return(0,Lh.jsxs)(Lh.Fragment,{children:[r,(0,Lh.jsx)("div",{...t,ref:(0,xy.useMergeRefs)([n,o]),className:D(t.className,"block-editor-writing-flow"),children:e}),i]})}var C1=(0,SG.forwardRef)(c_e);var B1=null;function _G(){return B1||(B1=Array.from(document.styleSheets).reduce((e,t)=>{try{t.cssRules}catch{return e}let{ownerNode:o,cssRules:r}=t;if(o===null||!r||o.id.startsWith("wp-")||!o.id)return e;function n(i){return Array.from(i).find(({selectorText:s,conditionText:a,cssRules:c})=>a?n(c):s&&(s.includes(".editor-styles-wrapper")||s.includes(".wp-block")))}if(n(r)){let i=o.tagName==="STYLE";if(i){let s=o.id.replace("-inline-css","-css"),a=document.getElementById(s);a&&e.push(a.cloneNode(!0))}if(e.push(o.cloneNode(!0)),!i){let s=o.id.replace("-css","-inline-css"),a=document.getElementById(s);a&&e.push(a.cloneNode(!0))}}return e},[]),B1)}var kn=l(R(),1),wy=l(Z(),1);function xG({frameSize:e,containerWidth:t,maxContainerWidth:o,scaleContainerWidth:r}){return(Math.min(t,o)-e*2)/r}function u_e(e,t){let{scaleValue:o,scrollHeight:r}=e,{frameSize:n,scaleValue:i}=t;return r*(i/o)+n*2}function d_e(e,t){let{containerHeight:o,frameSize:r,scaleValue:n,scrollTop:i}=e,{containerHeight:s,frameSize:a,scaleValue:c,scrollHeight:u}=t,d=i;d=(d+o/2-r)/n-o/2,d=(d+s/2)*c+a-s/2,d=i<=r?0:d;let f=u-s;return Math.round(Math.min(Math.max(0,d),Math.max(0,f)))}function f_e(e,t){let{scaleValue:o,frameSize:r,scrollTop:n}=e,{scaleValue:i,frameSize:s,scrollTop:a}=t;return[{translate:"0 0",scale:o,paddingTop:`${r/o}px`,paddingBottom:`${r/o}px`},{translate:`0 ${n-a}px`,scale:i,paddingTop:`${s/i}px`,paddingBottom:`${s/i}px`}]}function wG({frameSize:e,iframeDocument:t,maxContainerWidth:o=750,scale:r}){let[n,{height:i}]=(0,wy.useResizeObserver)(),[s,{width:a,height:c}]=(0,wy.useResizeObserver)(),u=(0,kn.useRef)(0),d=r!==1,f=(0,wy.useReducedMotion)(),m=r==="auto-scaled",h=(0,kn.useRef)(!1),p=(0,kn.useRef)(null);(0,kn.useEffect)(()=>{d||(u.current=a)},[a,d]);let g=Math.max(u.current,a),b=m?xG({frameSize:e,containerWidth:a,maxContainerWidth:o,scaleContainerWidth:g}):r,v=(0,kn.useRef)({scaleValue:b,frameSize:e,containerHeight:0,scrollTop:0,scrollHeight:0}),k=(0,kn.useRef)({scaleValue:b,frameSize:e,containerHeight:0,scrollTop:0,scrollHeight:0}),y=(0,kn.useCallback)(()=>{let{scrollTop:C}=v.current,{scrollTop:B}=k.current;return t.documentElement.style.setProperty("--wp-block-editor-iframe-zoom-out-scroll-top",`${C}px`),t.documentElement.style.setProperty("--wp-block-editor-iframe-zoom-out-scroll-top-next",`${B}px`),t.documentElement.style.setProperty("--wp-block-editor-iframe-zoom-out-overflow-behavior",v.current.scrollHeight===v.current.containerHeight?"auto":"scroll"),t.documentElement.classList.add("zoom-out-animation"),t.documentElement.animate(f_e(v.current,k.current),{easing:"cubic-bezier(0.46, 0.03, 0.52, 0.96)",duration:400})},[t]),S=(0,kn.useCallback)(()=>{h.current=!1,p.current=null,t.documentElement.style.setProperty("--wp-block-editor-iframe-zoom-out-scale",k.current.scaleValue),t.documentElement.style.setProperty("--wp-block-editor-iframe-zoom-out-frame-size",`${k.current.frameSize}px`),t.documentElement.classList.remove("zoom-out-animation"),t.documentElement.scrollTop=k.current.scrollTop,t.documentElement.style.removeProperty("--wp-block-editor-iframe-zoom-out-scroll-top"),t.documentElement.style.removeProperty("--wp-block-editor-iframe-zoom-out-scroll-top-next"),t.documentElement.style.removeProperty("--wp-block-editor-iframe-zoom-out-overflow-behavior"),v.current=k.current},[t]),x=(0,kn.useRef)(!1);return(0,kn.useEffect)(()=>{let C=t&&x.current!==d;if(x.current=d,!!C&&(h.current=!0,!!d))return t.documentElement.classList.add("is-zoomed-out"),()=>{t.documentElement.classList.remove("is-zoomed-out")}},[t,d]),(0,kn.useEffect)(()=>{if(t&&(m&&v.current.scaleValue!==1&&(v.current.scaleValue=xG({frameSize:v.current.frameSize,containerWidth:a,maxContainerWidth:o,scaleContainerWidth:a})),b<1&&(h.current||(t.documentElement.style.setProperty("--wp-block-editor-iframe-zoom-out-scale",b),t.documentElement.style.setProperty("--wp-block-editor-iframe-zoom-out-frame-size",`${e}px`)),t.documentElement.style.setProperty("--wp-block-editor-iframe-zoom-out-content-height",`${i}px`),t.documentElement.style.setProperty("--wp-block-editor-iframe-zoom-out-inner-height",`${c}px`),t.documentElement.style.setProperty("--wp-block-editor-iframe-zoom-out-container-width",`${a}px`),t.documentElement.style.setProperty("--wp-block-editor-iframe-zoom-out-scale-container-width",`${g}px`)),h.current))if(h.current=!1,p.current){p.current.reverse();let C=v.current,B=k.current;v.current=B,k.current=C}else v.current.scrollTop=t.documentElement.scrollTop,v.current.scrollHeight=t.documentElement.scrollHeight,v.current.containerHeight=c,k.current={scaleValue:b,frameSize:e,containerHeight:t.documentElement.clientHeight},k.current.scrollHeight=u_e(v.current,k.current),k.current.scrollTop=d_e(v.current,k.current),p.current=y(),f?S():p.current.onfinish=S},[y,S,f,m,b,e,t,i,a,c,o,g]),{isZoomedOut:d,scaleContainerWidth:g,contentResizeListener:n,containerResizeListener:s}}var Rs=l(w(),1);function TG(e,t,o){let r={};for(let s in e)r[s]=e[s];if(e instanceof o.contentDocument.defaultView.MouseEvent){let s=o.getBoundingClientRect();r.clientX+=s.left,r.clientY+=s.top}let n=new t(e.type,r);r.defaultPrevented&&n.preventDefault(),!o.dispatchEvent(n)&&e.preventDefault()}function m_e(e){return(0,Vu.useRefEffect)(()=>{let{defaultView:t}=e;if(!t)return;let{frameElement:o}=t,r=e.documentElement,n=["dragover","mousemove"],i={};for(let s of n)i[s]=a=>{let u=Object.getPrototypeOf(a).constructor.name,d=window[u];TG(a,d,o)},r.addEventListener(s,i[s]);return()=>{for(let s of n)r.removeEventListener(s,i[s])}})}var CG=new WeakMap,p_e=globalThis.FinalizationRegistry?new globalThis.FinalizationRegistry(e=>URL.revokeObjectURL(e)):void 0;function h_e(e){let t=CG.get(e);if(t)return t;let o=` @@ -73,8 +73,8 @@