HEX
Server: nginx
System: Linux pool195-106-36.bur.atomicsites.net 6.12.57+deb12-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.57-1~bpo12+1 (2025-11-17) x86_64
User: (0)
PHP: 8.3.32
Disabled: pcntl_fork
Upload Files
File: //srv/wordpress/core/beta/wp-includes/js/dist/blocks.min.js
/*! This file is auto-generated */
"use strict";var wp;(wp||={}).blocks=(()=>{var pa=Object.create;var Ze=Object.defineProperty;var fa=Object.getOwnPropertyDescriptor;var da=Object.getOwnPropertyNames;var ha=Object.getPrototypeOf,ma=Object.prototype.hasOwnProperty;var E=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Be=(e,t)=>{for(var r in t)Ze(e,r,{get:t[r],enumerable:!0})},vn=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of da(t))!ma.call(e,o)&&o!==r&&Ze(e,o,{get:()=>t[o],enumerable:!(n=fa(t,o))||n.enumerable});return e};var h=(e,t,r)=>(r=e!=null?pa(ha(e)):{},vn(t||!e||!e.__esModule?Ze(r,"default",{value:e,enumerable:!0}):r,e)),ga=e=>vn(Ze({},"__esModule",{value:!0}),e);var se=E((Zu,xn)=>{xn.exports=window.wp.data});var Xe=E((lp,Cn)=>{Cn.exports=window.wp.i18n});var Se=E((fp,jn)=>{jn.exports=window.wp.element});var _=E((dp,Un)=>{Un.exports=window.wp.dom});var Ce=E((hp,Fn)=>{Fn.exports=window.wp.richText});var L=E((mp,Hn)=>{Hn.exports=window.wp.deprecated});var tt=E((bp,Wn)=>{Wn.exports=window.wp.warning});var Zn=E((yp,Yn)=>{Yn.exports=window.wp.privateApis});var Do=E((Dp,pt)=>{var Ro={\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"},Lo=Object.keys(Ro).join("|"),Ua=new RegExp(Lo,"g"),Fa=new RegExp(Lo,"");function Ha(e){return Ro[e]}var Oo=function(e){return e.replace(Ua,Ha)},Ga=function(e){return!!e.match(Fa)};pt.exports=Oo;pt.exports.has=Ga;pt.exports.remove=Oo});var br=E((qp,qo)=>{"use strict";qo.exports=function e(t,r){if(t===r)return!0;if(t&&r&&typeof t=="object"&&typeof r=="object"){if(t.constructor!==r.constructor)return!1;var n,o,i;if(Array.isArray(t)){if(n=t.length,n!=r.length)return!1;for(o=n;o--!==0;)if(!e(t[o],r[o]))return!1;return!0}if(t instanceof Map&&r instanceof Map){if(t.size!==r.size)return!1;for(o of t.entries())if(!r.has(o[0]))return!1;for(o of t.entries())if(!e(o[1],r.get(o[0])))return!1;return!0}if(t instanceof Set&&r instanceof Set){if(t.size!==r.size)return!1;for(o of t.entries())if(!r.has(o[0]))return!1;return!0}if(ArrayBuffer.isView(t)&&ArrayBuffer.isView(r)){if(n=t.length,n!=r.length)return!1;for(o=n;o--!==0;)if(t[o]!==r[o])return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===r.toString();if(i=Object.keys(t),n=i.length,n!==Object.keys(r).length)return!1;for(o=n;o--!==0;)if(!Object.prototype.hasOwnProperty.call(r,i[o]))return!1;for(o=n;o--!==0;){var s=i[o];if(!e(t[s],r[s]))return!1}return!0}return t!==t&&r!==r}});var Xo=E(y=>{"use strict";var Er=Symbol.for("react.element"),Br=Symbol.for("react.portal"),dt=Symbol.for("react.fragment"),ht=Symbol.for("react.strict_mode"),mt=Symbol.for("react.profiler"),gt=Symbol.for("react.provider"),bt=Symbol.for("react.context"),dl=Symbol.for("react.server_context"),kt=Symbol.for("react.forward_ref"),yt=Symbol.for("react.suspense"),wt=Symbol.for("react.suspense_list"),vt=Symbol.for("react.memo"),xt=Symbol.for("react.lazy"),hl=Symbol.for("react.offscreen"),Zo;Zo=Symbol.for("react.module.reference");function q(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Er:switch(e=e.type,e){case dt:case mt:case ht:case yt:case wt:return e;default:switch(e=e&&e.$$typeof,e){case dl:case bt:case kt:case xt:case vt:case gt:return e;default:return t}}case Br:return t}}}y.ContextConsumer=bt;y.ContextProvider=gt;y.Element=Er;y.ForwardRef=kt;y.Fragment=dt;y.Lazy=xt;y.Memo=vt;y.Portal=Br;y.Profiler=mt;y.StrictMode=ht;y.Suspense=yt;y.SuspenseList=wt;y.isAsyncMode=function(){return!1};y.isConcurrentMode=function(){return!1};y.isContextConsumer=function(e){return q(e)===bt};y.isContextProvider=function(e){return q(e)===gt};y.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Er};y.isForwardRef=function(e){return q(e)===kt};y.isFragment=function(e){return q(e)===dt};y.isLazy=function(e){return q(e)===xt};y.isMemo=function(e){return q(e)===vt};y.isPortal=function(e){return q(e)===Br};y.isProfiler=function(e){return q(e)===mt};y.isStrictMode=function(e){return q(e)===ht};y.isSuspense=function(e){return q(e)===yt};y.isSuspenseList=function(e){return q(e)===wt};y.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===dt||e===mt||e===ht||e===yt||e===wt||e===hl||typeof e=="object"&&e!==null&&(e.$$typeof===xt||e.$$typeof===vt||e.$$typeof===gt||e.$$typeof===bt||e.$$typeof===kt||e.$$typeof===Zo||e.getModuleId!==void 0)};y.typeOf=q});var Jo=E((Fp,Qo)=>{"use strict";Qo.exports=Xo()});var De=E((Hp,ei)=>{ei.exports=window.wp.hooks});var gi=E((mf,mi)=>{mi.exports=window.wp.blockSerializationDefaultParser});var qr=E((gf,bi)=>{bi.exports=window.wp.autop});var yi=E((bf,ki)=>{ki.exports=window.wp.isShallowEqual});var vi=E((wf,wi)=>{wi.exports=window.ReactJSXRuntime});var Di=E((Sf,Oi)=>{Oi.exports=window.wp.htmlEntities});var cs=E((Dd,ls)=>{ls.exports=window.wp.shortcode});var vs=E((Xd,ws)=>{ws.exports=window.wp.blob});var Wu={};Be(Wu,{__EXPERIMENTAL_ELEMENTS:()=>Gn,__EXPERIMENTAL_PATHS_WITH_OVERRIDE:()=>Kn,__EXPERIMENTAL_STYLE_PROPERTY:()=>et,__experimentalCloneSanitizedBlock:()=>pi,__experimentalGetAccessibleBlockLabel:()=>Bo,__experimentalGetBlockAttributesNamesByRole:()=>So,__experimentalGetBlockLabel:()=>fr,__experimentalSanitizeBlockAttributes:()=>Ao,__unstableGetBlockProps:()=>Mr,__unstableGetInnerBlocksProps:()=>_i,__unstableSerializeAndClean:()=>Ni,children:()=>Gi,cloneBlock:()=>Or,cloneSanitizedBlock:()=>At,createBlock:()=>S,createBlocksFromInnerBlocksTemplate:()=>Lr,doBlocksMatchTemplate:()=>yn,findTransform:()=>ee,getBlockAttributes:()=>H,getBlockAttributesNamesByRole:()=>mr,getBlockBindingsSource:()=>ur,getBlockBindingsSources:()=>xo,getBlockContent:()=>Pe,getBlockDefaultClassName:()=>Ai,getBlockFromExample:()=>Dr,getBlockMenuDefaultClassName:()=>Si,getBlockSupport:()=>lo,getBlockTransforms:()=>M,getBlockType:()=>x,getBlockTypes:()=>Ne,getBlockVariations:()=>bo,getCategories:()=>ra,getChildBlockNames:()=>po,getDefaultBlockName:()=>ot,getFreeformContentHandlerName:()=>D,getGroupingBlockName:()=>nt,getPhrasingContentSchema:()=>ta,getPossibleBlockTransformations:()=>di,getSaveContent:()=>Z,getSaveElement:()=>Vr,getUnregisteredTypeHandlerName:()=>Y,hasBlockSupport:()=>j,hasChildBlocks:()=>fo,hasChildBlocksWithInserterSupport:()=>ho,isReusableBlock:()=>co,isTemplatePart:()=>uo,isUnmodifiedBlock:()=>pr,isUnmodifiedDefaultBlock:()=>at,isValidBlockContent:()=>Ui,isValidIcon:()=>Le,node:()=>Ki,normalizeIconObject:()=>lt,parse:()=>ve,parseWithAttributeSchema:()=>ue,pasteHandler:()=>Xt,privateApis:()=>aa,rawHandler:()=>kn,registerBlockBindingsSource:()=>wo,registerBlockCollection:()=>ro,registerBlockStyle:()=>mo,registerBlockType:()=>to,registerBlockVariation:()=>ko,sanitizeBlockAttributes:()=>be,serialize:()=>St,serializeRawBlock:()=>te,setCategories:()=>na,setDefaultBlockName:()=>so,setFreeformContentHandlerName:()=>oo,setGroupingBlockName:()=>ao,setUnregisteredTypeHandlerName:()=>io,store:()=>m,switchToBlockType:()=>hi,synchronizeBlocksWithTemplate:()=>Qt,unregisterBlockBindingsSource:()=>vo,unregisterBlockStyle:()=>go,unregisterBlockType:()=>no,unregisterBlockVariation:()=>yo,unstable__bootstrapServerSideBlockDefinitions:()=>eo,updateCategory:()=>oa,validateBlock:()=>X,withBlockContentContext:()=>Ku});var Et=h(se(),1);var ge=function(){return ge=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},ge.apply(this,arguments)};function Tn(e){return e.toLowerCase()}var ba=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],ka=/[^A-Z0-9]+/gi;function Bn(e,t){t===void 0&&(t={});for(var r=t.splitRegexp,n=r===void 0?ba:r,o=t.stripRegexp,i=o===void 0?ka:o,s=t.transform,a=s===void 0?Tn:s,c=t.delimiter,l=c===void 0?" ":c,u=En(En(e,n,"$1\0$2"),i,"\0"),p=0,d=u.length;u.charAt(p)==="\0";)p++;for(;u.charAt(d-1)==="\0";)d--;return u.slice(p,d).split("\0").map(a).join(l)}function En(e,t,r){return t instanceof RegExp?e.replace(t,r):t.reduce(function(n,o){return n.replace(o,r)},e)}function er(e,t){var r=e.charAt(0),n=e.substr(1).toLowerCase();return t>0&&r>="0"&&r<="9"?"_"+r+n:""+r.toUpperCase()+n}function An(e,t){return t===void 0&&(t={}),Bn(e,ge({delimiter:"",transform:er},t))}function ya(e,t){return t===0?e.toLowerCase():er(e,t)}function Sn(e,t){return t===void 0&&(t={}),An(e,ge({transform:ya},t))}var _o=h(se(),1),J=h(Xe(),1);var wa={grad:.9,turn:360,rad:360/(2*Math.PI)},W=function(e){return typeof e=="string"?e.length>0:typeof e=="number"},B=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=Math.pow(10,t)),Math.round(r*e)/r+0},O=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=1),e>r?r:e>t?e:t},Pn=function(e){return(e=isFinite(e)?e%360:0)>0?e:e+360},_n=function(e){return{r:O(e.r,0,255),g:O(e.g,0,255),b:O(e.b,0,255),a:O(e.a)}},tr=function(e){return{r:B(e.r),g:B(e.g),b:B(e.b),a:B(e.a,3)}},va=/^#([0-9a-f]{3,8})$/i,Qe=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},In=function(e){var t=e.r,r=e.g,n=e.b,o=e.a,i=Math.max(t,r,n),s=i-Math.min(t,r,n),a=s?i===t?(r-n)/s:i===r?2+(n-t)/s:4+(t-r)/s:0;return{h:60*(a<0?a+6:a),s:i?s/i*100:0,v:i/255*100,a:o}},zn=function(e){var t=e.h,r=e.s,n=e.v,o=e.a;t=t/360*6,r/=100,n/=100;var i=Math.floor(t),s=n*(1-r),a=n*(1-(t-i)*r),c=n*(1-(1-t+i)*r),l=i%6;return{r:255*[n,a,s,s,c,n][l],g:255*[c,n,n,a,s,s][l],b:255*[s,s,c,n,n,a][l],a:o}},Nn=function(e){return{h:Pn(e.h),s:O(e.s,0,100),l:O(e.l,0,100),a:O(e.a)}},Rn=function(e){return{h:B(e.h),s:B(e.s),l:B(e.l),a:B(e.a,3)}},Ln=function(e){return zn((r=(t=e).s,{h:t.h,s:(r*=((n=t.l)<50?n:100-n)/100)>0?2*r/(n+r)*100:0,v:n+r,a:t.a}));var t,r,n},Ae=function(e){return{h:(t=In(e)).h,s:(o=(200-(r=t.s))*(n=t.v)/100)>0&&o<200?r*n/100/(o<=100?o:200-o)*100:0,l:o/2,a:t.a};var t,r,n,o},xa=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Ta=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Ea=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Ba=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,or={string:[[function(e){var t=va.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?B(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?B(parseInt(e.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(e){var t=Ea.exec(e)||Ba.exec(e);return t?t[2]!==t[4]||t[4]!==t[6]?null:_n({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=xa.exec(e)||Ta.exec(e);if(!t)return null;var r,n,o=Nn({h:(r=t[1],n=t[2],n===void 0&&(n="deg"),Number(r)*(wa[n]||1)),s:Number(t[3]),l:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)});return Ln(o)},"hsl"]],object:[[function(e){var t=e.r,r=e.g,n=e.b,o=e.a,i=o===void 0?1:o;return W(t)&&W(r)&&W(n)?_n({r:Number(t),g:Number(r),b:Number(n),a:Number(i)}):null},"rgb"],[function(e){var t=e.h,r=e.s,n=e.l,o=e.a,i=o===void 0?1:o;if(!W(t)||!W(r)||!W(n))return null;var s=Nn({h:Number(t),s:Number(r),l:Number(n),a:Number(i)});return Ln(s)},"hsl"],[function(e){var t=e.h,r=e.s,n=e.v,o=e.a,i=o===void 0?1:o;if(!W(t)||!W(r)||!W(n))return null;var s=(function(a){return{h:Pn(a.h),s:O(a.s,0,100),v:O(a.v,0,100),a:O(a.a)}})({h:Number(t),s:Number(r),v:Number(n),a:Number(i)});return zn(s)},"hsv"]]},On=function(e,t){for(var r=0;r<t.length;r++){var n=t[r][0](e);if(n)return[n,t[r][1]]}return[null,void 0]},Aa=function(e){return typeof e=="string"?On(e.trim(),or.string):typeof e=="object"&&e!==null?On(e,or.object):[null,void 0]};var rr=function(e,t){var r=Ae(e);return{h:r.h,s:O(r.s+100*t,0,100),l:r.l,a:r.a}},nr=function(e){return(299*e.r+587*e.g+114*e.b)/1e3/255},Dn=function(e,t){var r=Ae(e);return{h:r.h,s:r.s,l:O(r.l+100*t,0,100),a:r.a}},ir=(function(){function e(t){this.parsed=Aa(t)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return e.prototype.isValid=function(){return this.parsed!==null},e.prototype.brightness=function(){return B(nr(this.rgba),2)},e.prototype.isDark=function(){return nr(this.rgba)<.5},e.prototype.isLight=function(){return nr(this.rgba)>=.5},e.prototype.toHex=function(){return t=tr(this.rgba),r=t.r,n=t.g,o=t.b,s=(i=t.a)<1?Qe(B(255*i)):"","#"+Qe(r)+Qe(n)+Qe(o)+s;var t,r,n,o,i,s},e.prototype.toRgb=function(){return tr(this.rgba)},e.prototype.toRgbString=function(){return t=tr(this.rgba),r=t.r,n=t.g,o=t.b,(i=t.a)<1?"rgba("+r+", "+n+", "+o+", "+i+")":"rgb("+r+", "+n+", "+o+")";var t,r,n,o,i},e.prototype.toHsl=function(){return Rn(Ae(this.rgba))},e.prototype.toHslString=function(){return t=Rn(Ae(this.rgba)),r=t.h,n=t.s,o=t.l,(i=t.a)<1?"hsla("+r+", "+n+"%, "+o+"%, "+i+")":"hsl("+r+", "+n+"%, "+o+"%)";var t,r,n,o,i},e.prototype.toHsv=function(){return t=In(this.rgba),{h:B(t.h),s:B(t.s),v:B(t.v),a:B(t.a,3)};var t},e.prototype.invert=function(){return I({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),I(rr(this.rgba,t))},e.prototype.desaturate=function(t){return t===void 0&&(t=.1),I(rr(this.rgba,-t))},e.prototype.grayscale=function(){return I(rr(this.rgba,-1))},e.prototype.lighten=function(t){return t===void 0&&(t=.1),I(Dn(this.rgba,t))},e.prototype.darken=function(t){return t===void 0&&(t=.1),I(Dn(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"?I({r:(r=this.rgba).r,g:r.g,b:r.b,a:t}):B(this.rgba.a,3);var r},e.prototype.hue=function(t){var r=Ae(this.rgba);return typeof t=="number"?I({h:t,s:r.s,l:r.l,a:r.a}):B(r.h)},e.prototype.isEqual=function(t){return this.toHex()===I(t).toHex()},e})(),I=function(e){return e instanceof ir?e:new ir(e)},qn=[],Mn=function(e){e.forEach(function(t){qn.indexOf(t)<0&&(t(ir,or),qn.push(t))})};function Vn(e,t){var r={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"},n={};for(var o in r)n[r[o]]=o;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,l=n[this.toHex()];if(l)return l;if(s?.closest){var u=this.toRgb(),p=1/0,d="black";if(!i.length)for(var g in r)i[g]=new e(r[g]).toRgb();for(var f in r){var v=(a=u,c=i[f],Math.pow(a.r-c.r,2)+Math.pow(a.g-c.g,2)+Math.pow(a.b-c.b,2));v<p&&(p=v,d=f)}return d}},t.string.push([function(s){var a=s.toLowerCase(),c=a==="transparent"?"#0000":r[a];return c?new e(c).toRgb():null},"name"])}var sr=function(e){var t=e/255;return t<.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)},ar=function(e){return .2126*sr(e.r)+.7152*sr(e.g)+.0722*sr(e.b)};function $n(e){e.prototype.luminance=function(){return t=ar(this.rgba),(r=2)===void 0&&(r=0),n===void 0&&(n=Math.pow(10,r)),Math.round(n*t)/n+0;var t,r,n},e.prototype.contrast=function(t){t===void 0&&(t="#FFF");var r,n,o,i,s,a,c,l=t instanceof e?t:new e(t);return i=this.rgba,s=l.toRgb(),a=ar(i),c=ar(s),r=a>c?(a+.05)/(c+.05):(c+.05)/(a+.05),(n=2)===void 0&&(n=0),o===void 0&&(o=Math.pow(10,n)),Math.floor(o*r)/o+0},e.prototype.isReadable=function(t,r){return t===void 0&&(t="#FFF"),r===void 0&&(r={}),this.contrast(t)>=(a=(s=(n=r).size)===void 0?"normal":s,(i=(o=n.level)===void 0?"AA":o)==="AAA"&&a==="normal"?7:i==="AA"&&a==="large"?3:4.5);var n,o,i,s,a}}var it=h(Se(),1),N=h(Xe(),1),Eo=h(_(),1),Re=h(Ce(),1),st=h(L(),1);var Je="block-default",_e=["attributes","supports","save","migrate","isEligible","apiVersion"],et={"--wp--style--color--link":{value:["color","link"],support:["color","link"]},aspectRatio:{value:["dimensions","aspectRatio"],support:["dimensions","aspectRatio"],useEngine:!0},background:{value:["color","gradient"],support:["color","gradients"],useEngine:!0},backgroundColor:{value:["color","background"],support:["color","background"],requiresOptOut:!0,useEngine:!0},backgroundImage:{value:["background","backgroundImage"],support:["background","backgroundImage"],useEngine:!0},backgroundRepeat:{value:["background","backgroundRepeat"],support:["background","backgroundRepeat"],useEngine:!0},backgroundSize:{value:["background","backgroundSize"],support:["background","backgroundSize"],useEngine:!0},backgroundPosition:{value:["background","backgroundPosition"],support:["background","backgroundPosition"],useEngine:!0},backgroundGradient:{value:["background","gradient"],support:["background","gradient"],useEngine:!0},borderColor:{value:["border","color"],support:["__experimentalBorder","color"],useEngine:!0},borderRadius:{value:["border","radius"],support:["__experimentalBorder","radius"],properties:{borderTopLeftRadius:"topLeft",borderTopRightRadius:"topRight",borderBottomLeftRadius:"bottomLeft",borderBottomRightRadius:"bottomRight"},useEngine:!0},borderStyle:{value:["border","style"],support:["__experimentalBorder","style"],useEngine:!0},borderWidth:{value:["border","width"],support:["__experimentalBorder","width"],useEngine:!0},borderTopColor:{value:["border","top","color"],support:["__experimentalBorder","color"],useEngine:!0},borderTopStyle:{value:["border","top","style"],support:["__experimentalBorder","style"],useEngine:!0},borderTopWidth:{value:["border","top","width"],support:["__experimentalBorder","width"],useEngine:!0},borderRightColor:{value:["border","right","color"],support:["__experimentalBorder","color"],useEngine:!0},borderRightStyle:{value:["border","right","style"],support:["__experimentalBorder","style"],useEngine:!0},borderRightWidth:{value:["border","right","width"],support:["__experimentalBorder","width"],useEngine:!0},borderBottomColor:{value:["border","bottom","color"],support:["__experimentalBorder","color"],useEngine:!0},borderBottomStyle:{value:["border","bottom","style"],support:["__experimentalBorder","style"],useEngine:!0},borderBottomWidth:{value:["border","bottom","width"],support:["__experimentalBorder","width"],useEngine:!0},borderLeftColor:{value:["border","left","color"],support:["__experimentalBorder","color"],useEngine:!0},borderLeftStyle:{value:["border","left","style"],support:["__experimentalBorder","style"],useEngine:!0},borderLeftWidth:{value:["border","left","width"],support:["__experimentalBorder","width"],useEngine:!0},color:{value:["color","text"],support:["color","text"],requiresOptOut:!0,useEngine:!0},columnCount:{value:["typography","textColumns"],support:["typography","textColumns"],useEngine:!0},filter:{value:["filter","duotone"],support:["filter","duotone"]},linkColor:{value:["elements","link","color","text"],support:["color","link"]},captionColor:{value:["elements","caption","color","text"],support:["color","caption"]},buttonColor:{value:["elements","button","color","text"],support:["color","button"]},buttonBackgroundColor:{value:["elements","button","color","background"],support:["color","button"]},headingColor:{value:["elements","heading","color","text"],support:["color","heading"]},headingBackgroundColor:{value:["elements","heading","color","background"],support:["color","heading"]},fontFamily:{value:["typography","fontFamily"],support:["typography","__experimentalFontFamily"],useEngine:!0},fontSize:{value:["typography","fontSize"],support:["typography","fontSize"],useEngine:!0},fontStyle:{value:["typography","fontStyle"],support:["typography","__experimentalFontStyle"],useEngine:!0},fontWeight:{value:["typography","fontWeight"],support:["typography","__experimentalFontWeight"],useEngine:!0},lineHeight:{value:["typography","lineHeight"],support:["typography","lineHeight"],useEngine:!0},margin:{value:["spacing","margin"],support:["spacing","margin"],properties:{marginTop:"top",marginRight:"right",marginBottom:"bottom",marginLeft:"left"},useEngine:!0},minHeight:{value:["dimensions","minHeight"],support:["dimensions","minHeight"],useEngine:!0},minWidth:{value:["dimensions","minWidth"],support:["dimensions","minWidth"],useEngine:!0},height:{value:["dimensions","height"],support:["dimensions","height"],useEngine:!0},width:{value:["dimensions","width"],support:["dimensions","width"],useEngine:!0},padding:{value:["spacing","padding"],support:["spacing","padding"],properties:{paddingTop:"top",paddingRight:"right",paddingBottom:"bottom",paddingLeft:"left"},useEngine:!0},textAlign:{value:["typography","textAlign"],support:["typography","textAlign"],useEngine:!1},textDecoration:{value:["typography","textDecoration"],support:["typography","__experimentalTextDecoration"],useEngine:!0},textTransform:{value:["typography","textTransform"],support:["typography","__experimentalTextTransform"],useEngine:!0},letterSpacing:{value:["typography","letterSpacing"],support:["typography","__experimentalLetterSpacing"],useEngine:!0},textIndent:{value:["typography","textIndent"],support:["typography","textIndent"],useEngine:!0},writingMode:{value:["typography","writingMode"],support:["typography","__experimentalWritingMode"],useEngine:!0},"--wp--style--root--padding":{value:["spacing","padding"],support:["spacing","padding"],properties:{"--wp--style--root--padding-top":"top","--wp--style--root--padding-right":"right","--wp--style--root--padding-bottom":"bottom","--wp--style--root--padding-left":"left"},rootOnly:!0}},Gn={link:"a:where(:not(.wp-element-button))",heading:"h1, h2, h3, h4, h5, h6",h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",button:".wp-element-button, .wp-block-button__link",caption:".wp-element-caption, .wp-block-audio figcaption, .wp-block-embed figcaption, .wp-block-gallery figcaption, .wp-block-image figcaption, .wp-block-table figcaption, .wp-block-video figcaption",cite:"cite",select:"select",textInput:"textarea, input:where([type=email],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=url])"},Kn={"color.duotone":!0,"color.gradients":!0,"color.palette":!0,"dimensions.aspectRatios":!0,"typography.fontSizes":!0,"spacing.spacingSizes":!0};var b=h(se(),1),Jn=h(Xe(),1),T=h(tt(),1);var lr={title:"block title",description:"block description",keywords:["block keyword"],styles:[{label:"block style label"}],variations:[{title:"block variation title",description:"block variation description",keywords:["block variation keyword"]}]};var Xn=h(Zn(),1),{lock:Qn,unlock:z}=(0,Xn.__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/blocks");function rt(e){return e!==null&&typeof e=="object"}function eo(e){let{addBootstrappedBlockType:t}=z((0,b.dispatch)(m));for(let[r,n]of Object.entries(e))t(r,n)}function Ca({textdomain:e,...t}){let r=["apiVersion","title","category","parent","ancestor","icon","description","keywords","attributes","providesContext","usesContext","selectors","supports","styles","example","variations","blockHooks","allowedBlocks"],n=Object.fromEntries(Object.entries(t).filter(([o])=>r.includes(o)));return e&&Object.keys(lr).forEach(o=>{n[o]&&(n[o]=cr(lr[o],n[o],e))}),n}function to(e,t){let r=rt(e)?e.name:e;if(typeof r!="string"){(0,T.default)("Block names must be strings.");return}if(!/^[a-z][a-z0-9-]*\/[a-z][a-z0-9-]*$/.test(r)){(0,T.default)("Block names must contain a namespace prefix, include only lowercase alphanumeric characters or dashes, and start with a letter. Example: my-plugin/my-custom-block");return}if((0,b.select)(m).getBlockType(r)){(0,T.default)('Block "'+r+'" is already registered.');return}let{addBootstrappedBlockType:n,addUnprocessedBlockType:o}=z((0,b.dispatch)(m));if(rt(e)){let i=Ca(e);n(r,i)}return o(r,t),(0,b.select)(m).getBlockType(r)}function cr(e,t,r){return typeof e=="string"&&typeof t=="string"?(0,Jn._x)(t,e,r):Array.isArray(e)&&e.length&&Array.isArray(t)?t.map(n=>cr(e[0],n,r)):rt(e)&&Object.entries(e).length&&rt(t)?Object.keys(t).reduce((n,o)=>e[o]?(n[o]=cr(e[o],t[o],r),n):(n[o]=t[o],n),{}):t}function ro(e,{title:t,icon:r}){(0,b.dispatch)(m).addBlockCollection(e,t,r)}function no(e){let t=(0,b.select)(m).getBlockType(e);if(!t){(0,T.default)('Block "'+e+'" is not registered.');return}return(0,b.dispatch)(m).removeBlockTypes(e),t}function oo(e){(0,b.dispatch)(m).setFreeformFallbackBlockName(e)}function D(){return(0,b.select)(m).getFreeformFallbackBlockName()}function nt(){return(0,b.select)(m).getGroupingBlockName()}function io(e){(0,b.dispatch)(m).setUnregisteredFallbackBlockName(e)}function Y(){return(0,b.select)(m).getUnregisteredFallbackBlockName()}function so(e){(0,b.dispatch)(m).setDefaultBlockName(e)}function ao(e){(0,b.dispatch)(m).setGroupingBlockName(e)}function ot(){return(0,b.select)(m).getDefaultBlockName()}function x(e){return(0,b.select)(m)?.getBlockType(e)}function Ne(){return(0,b.select)(m).getBlockTypes()}function lo(e,t,r){return(0,b.select)(m).getBlockSupport(e,t,r)}function j(e,t,r){return(0,b.select)(m).hasBlockSupport(e,t,r)}function co(e){return e?.name==="core/block"}function uo(e){return e?.name==="core/template-part"}var po=e=>(0,b.select)(m).getChildBlockNames(e),fo=e=>(0,b.select)(m).hasChildBlocks(e),ho=e=>(0,b.select)(m).hasChildBlocksWithInserterSupport(e),mo=(e,t)=>{(0,b.dispatch)(m).addBlockStyles(e,t)},go=(e,t)=>{(0,b.dispatch)(m).removeBlockStyles(e,t)},bo=(e,t)=>(0,b.select)(m).getBlockVariations(e,t),ko=(e,t)=>{if(Array.isArray(t))for(let r of t)typeof r.name!="string"&&(0,T.default)("Variation names must be unique strings.");else typeof t.name!="string"&&(0,T.default)("Variation names must be unique strings.");(0,b.dispatch)(m).addBlockVariations(e,t)},yo=(e,t)=>{(0,b.dispatch)(m).removeBlockVariations(e,t)},wo=e=>{let{name:t,label:r,usesContext:n,getValues:o,setValues:i,canUserEditValue:s,getFieldsList:a}=e,c=z((0,b.select)(m)).getBlockBindingsSource(t),l=["label","usesContext"];for(let u in c)if(!l.includes(u)&&c[u]){(0,T.default)('Block bindings source "'+t+'" is already registered.');return}if(!t){(0,T.default)("Block bindings source must contain a name.");return}if(typeof t!="string"){(0,T.default)("Block bindings source name must be a string.");return}if(/[A-Z]+/.test(t)){(0,T.default)("Block bindings source name must not contain uppercase characters.");return}if(!/^[a-z0-9/-]+$/.test(t)){(0,T.default)("Block bindings source name must contain only valid characters: lowercase characters, hyphens, or digits. Example: my-plugin/my-custom-source.");return}if(!/^[a-z0-9-]+\/[a-z0-9-]+$/.test(t)){(0,T.default)("Block bindings source name must contain a namespace and valid characters. Example: my-plugin/my-custom-source.");return}if(!r&&!c?.label){(0,T.default)("Block bindings source must contain a label.");return}if(r&&typeof r!="string"){(0,T.default)("Block bindings source label must be a string.");return}if(r&&c?.label&&r!==c?.label&&(0,T.default)('Block bindings "'+t+'" source label was overridden.'),n&&!Array.isArray(n)){(0,T.default)("Block bindings source usesContext must be an array.");return}if(o&&typeof o!="function"){(0,T.default)("Block bindings source getValues must be a function.");return}if(i&&typeof i!="function"){(0,T.default)("Block bindings source setValues must be a function.");return}if(s&&typeof s!="function"){(0,T.default)("Block bindings source canUserEditValue must be a function.");return}if(a&&typeof a!="function"){(0,T.default)("Block bindings source getFieldsList must be a function.");return}return z((0,b.dispatch)(m)).addBlockBindingsSource(e)};function vo(e){if(!ur(e)){(0,T.default)('Block bindings source "'+e+'" is not registered.');return}z((0,b.dispatch)(m)).removeBlockBindingsSource(e)}function ur(e){return z((0,b.select)(m)).getBlockBindingsSource(e)}function xo(){return z((0,b.select)(m)).getAllBlockBindingsSources()}Mn([Vn,$n]);var To=["#191e23","#f8f9f9"];function pr(e,t){let r=x(e.name)?.attributes??{},n=t?Object.entries(r).filter(([i,s])=>t==="content"&&i==="metadata"?Object.keys(e.attributes[i]?.bindings??{}).length>0:s.role===t||s.__experimentalRole===t):[];return(n.length?n:Object.entries(r)).every(([i,s])=>{let a=e.attributes[i];return s.hasOwnProperty("default")?a===s.default:s.type==="rich-text"?!a?.length:a===void 0})}function at(e,t){return e.name===ot()&&pr(e,t)}function Le(e){return!!e&&(typeof e=="string"||(0,it.isValidElement)(e)||typeof e=="function"||e instanceof it.Component)}function lt(e){let t=e||Je;if(Le(t))return{src:t};let r=t;if("background"in r){let n=I(r.background),o=s=>n.contrast(s),i=Math.max(...To.map(o));return{...r,foreground:r.foreground?r.foreground:To.find(s=>o(s)===i),shadowColor:n.alpha(.3).toRgbString()}}return r}function U(e){return typeof e=="string"?x(e):e}function fr(e,t,r="visual"){let{__experimentalLabel:n,title:o}=e,i=n&&n(t,{context:r});return i?i.toPlainText?i.toPlainText():(0,Eo.__unstableStripHTML)(i):o}function Bo(e,t,r,n="vertical"){let o=e?.title??"",i=e?fr(e,t,"accessibility"):"",s=r!==void 0,a=i&&i!==o;return s&&n==="vertical"?a?(0,N.sprintf)((0,N.__)("%1$s Block. Row %2$d. %3$s"),o,r,i):(0,N.sprintf)((0,N.__)("%1$s Block. Row %2$d"),o,r):s&&n==="horizontal"?a?(0,N.sprintf)((0,N.__)("%1$s Block. Column %2$d. %3$s"),o,r,i):(0,N.sprintf)((0,N.__)("%1$s Block. Column %2$d"),o,r):a?(0,N.sprintf)((0,N.__)("%1$s Block. %2$s"),o,i):(0,N.sprintf)((0,N.__)("%s Block"),o)}function dr(e){if(e.default!==void 0)return e.default;if(e.type==="rich-text")return new Re.RichTextData}function hr(e){return x(e)!==void 0}function be(e,t){let r=x(e);if(r===void 0)throw new Error(`Block type '${e}' is not registered.`);return Object.entries(r.attributes).reduce((n,[o,i])=>{let s=t[o];if(s!==void 0)i.type==="rich-text"?s instanceof Re.RichTextData?n[o]=s:typeof s=="string"&&(n[o]=Re.RichTextData.fromHTMLString(s)):i.type==="string"&&s instanceof Re.RichTextData?n[o]=s.toHTMLString():n[o]=s;else{let a=dr(i);a!==void 0&&(n[o]=a)}return["node","children"].indexOf(i.source??"")!==-1&&(typeof n[o]=="string"?n[o]=[n[o]]:Array.isArray(n[o])||(n[o]=[])),n},{})}function Ao(e,t){return(0,st.default)("__experimentalSanitizeBlockAttributes",{since:"7.1",alternative:"sanitizeBlockAttributes"}),be(e,t)}function mr(e,t){let r=x(e)?.attributes;if(!r)return[];let n=Object.keys(r);return t?n.filter(o=>{let i=r[o];return i?.role===t?!0:i?.__experimentalRole===t?((0,st.default)("__experimentalRole attribute",{since:"6.7",version:"6.8",alternative:"role attribute",hint:`Check the block.json of the ${e} block.`}),!0):!1}):n}var So=(...e)=>((0,st.default)("__experimentalGetBlockAttributesNamesByRole",{since:"6.7",version:"6.8",alternative:"getBlockAttributesNamesByRole"}),mr(...e));function Co(e){let t=x(e),r=t?.attributes;return t?.supports?.contentRole?!0:r?!!Object.keys(r)?.some(o=>{let i=r[o];return i?.role==="content"||i?.__experimentalRole==="content"}):!1}function F(e,t){let r=Array.isArray(t)?t:[t];return Object.fromEntries(Object.entries(e).filter(([n])=>!r.includes(n)))}var _a=[{slug:"text",title:(0,J.__)("Text")},{slug:"media",title:(0,J.__)("Media")},{slug:"design",title:(0,J.__)("Design")},{slug:"widgets",title:(0,J.__)("Widgets")},{slug:"theme",title:(0,J.__)("Theme")},{slug:"embed",title:(0,J.__)("Embeds")},{slug:"reusable",title:(0,J.__)("Reusable blocks")}];function gr(e){return e.reduce((t,r)=>({...t,[r.name]:r}),{})}function ct(e){return e.reduce((t,r)=>(t.some(n=>n.name===r.name)||t.push(r),t),[])}function Na(e={},t){switch(t.type){case"ADD_BOOTSTRAPPED_BLOCK_TYPE":let{name:r,blockType:n}=t;if(e[r])return e;let i=Object.fromEntries(Object.entries(n).filter(([,s])=>s!=null).map(([s,a])=>[Sn(s),a]));return i.name=r,{...e,[r]:i};case"REMOVE_BLOCK_TYPES":return F(e,t.names)}return e}function Ra(e={},t){switch(t.type){case"ADD_UNPROCESSED_BLOCK_TYPE":return{...e,[t.name]:t.blockType};case"REMOVE_BLOCK_TYPES":return F(e,t.names)}return e}function La(e={},t){switch(t.type){case"ADD_BLOCK_TYPES":return{...e,...gr(t.blockTypes)};case"REMOVE_BLOCK_TYPES":return F(e,t.names)}return e}function Oa(e={},t){switch(t.type){case"ADD_BLOCK_TYPES":return{...e,...Object.fromEntries(Object.entries(gr(t.blockTypes)).map(([n,o])=>[n,ct([...(o.styles??[]).map(i=>({...i,source:"block"})),...(e[o.name]??[]).filter(({source:i})=>i!=="block")])]))};case"ADD_BLOCK_STYLES":let r={};return t.blockNames.forEach(n=>{r[n]=ct([...e[n]??[],...t.styles])}),{...e,...r};case"REMOVE_BLOCK_STYLES":return{...e,[t.blockName]:(e[t.blockName]??[]).filter(n=>t.styleNames.indexOf(n.name)===-1)}}return e}function Da(e={},t){switch(t.type){case"ADD_BLOCK_TYPES":return{...e,...Object.fromEntries(Object.entries(gr(t.blockTypes)).map(([r,n])=>[r,ct([...(n.variations??[]).map(o=>({...o,source:"block"})),...(e[n.name]??[]).filter(({source:o})=>o!=="block")])]))};case"ADD_BLOCK_VARIATIONS":return{...e,[t.blockName]:ct([...e[t.blockName]??[],...t.variations])};case"REMOVE_BLOCK_VARIATIONS":return{...e,[t.blockName]:(e[t.blockName]??[]).filter(r=>t.variationNames.indexOf(r.name)===-1)}}return e}function ut(e){return(t=null,r)=>{switch(r.type){case"REMOVE_BLOCK_TYPES":return r.names.indexOf(t)!==-1?null:t;case e:return r.name||null}return t}}var qa=ut("SET_DEFAULT_BLOCK_NAME"),Pa=ut("SET_FREEFORM_FALLBACK_BLOCK_NAME"),Ia=ut("SET_UNREGISTERED_FALLBACK_BLOCK_NAME"),za=ut("SET_GROUPING_BLOCK_NAME");function Ma(e=_a,t){switch(t.type){case"SET_CATEGORIES":let r=new Map;return(t.categories||[]).forEach(n=>{r.set(n.slug,n)}),[...r.values()];case"UPDATE_CATEGORY":{if(!t.category||!Object.keys(t.category).length)return e;if(e.find(({slug:o})=>o===t.slug))return e.map(o=>o.slug===t.slug?{...o,...t.category}:o)}}return e}function Va(e={},t){switch(t.type){case"ADD_BLOCK_COLLECTION":return{...e,[t.namespace]:{title:t.title,icon:t.icon}};case"REMOVE_BLOCK_COLLECTION":return F(e,t.namespace)}return e}function $a(e=[],t=[]){let r=Array.from(new Set(e.concat(t)));return r.length>0?r:void 0}function ja(e={},t){switch(t.type){case"ADD_BLOCK_BINDINGS_SOURCE":return{...e,[t.name]:{label:t.label||e[t.name]?.label,usesContext:$a(e[t.name]?.usesContext,t.usesContext),getValues:t.getValues,setValues:t.setValues,canUserEditValue:t.setValues&&t.canUserEditValue,getFieldsList:t.getFieldsList}};case"REMOVE_BLOCK_BINDINGS_SOURCE":return F(e,t.name)}return e}var No=(0,_o.combineReducers)({bootstrappedBlockTypes:Na,unprocessedBlockTypes:Ra,blockTypes:La,blockStyles:Oa,blockVariations:Da,defaultBlockName:qa,freeformFallbackBlockName:Pa,unregisteredFallbackBlockName:Ia,groupingBlockName:za,categories:Ma,collections:Va,blockBindingsSources:ja});var Tr={};Be(Tr,{__experimentalHasContentRoleAttribute:()=>fl,getActiveBlockVariation:()=>tl,getBlockStyles:()=>el,getBlockSupport:()=>Go,getBlockType:()=>ke,getBlockTypes:()=>Ho,getBlockVariations:()=>vr,getCategories:()=>nl,getChildBlockNames:()=>xr,getCollections:()=>ol,getDefaultBlockName:()=>il,getDefaultBlockVariation:()=>rl,getFreeformFallbackBlockName:()=>sl,getGroupingBlockName:()=>ll,getUnregisteredFallbackBlockName:()=>al,hasBlockSupport:()=>Ko,hasChildBlocks:()=>ul,hasChildBlocksWithInserterSupport:()=>pl,isMatchingSearchTerm:()=>cl});var Vo=h(Do(),1),$o=h(br(),1),ft=h(se(),1),jo=h(Ce(),1),Uo=h(L(),1);var ae=(e,t,r)=>{let n=Array.isArray(t)?t:t.split("."),o=e;return n.forEach(i=>{o=o?.[i]}),o??r};function Po(e){return typeof e=="object"&&e!==null&&e.constructor===Object}function kr(e,t){return Po(e)&&Po(t)?Object.entries(t).every(([r,n])=>kr(e?.[r],n)):e===t}var wr={};Be(wr,{getAllBlockBindingsSources:()=>Xa,getBlockBindingsSource:()=>Qa,getBlockBindingsSourceFieldsList:()=>Ja,getBootstrappedBlockType:()=>Ya,getSupportedStyles:()=>Wa,getUnprocessedBlockTypes:()=>Za,hasContentRoleAttribute:()=>yr});var Oe=h(se(),1),zo=h(L(),1);var Ka=["background","backgroundColor","color","linkColor","captionColor","buttonColor","headingColor","fontFamily","fontSize","fontStyle","fontWeight","lineHeight","padding","contentSize","wideSize","blockGap","textAlign","textDecoration","textIndent","textTransform","letterSpacing"];function Io(e,t,r){return e.filter(n=>!(n==="fontSize"&&r==="heading"||n==="textDecoration"&&!t&&r!=="link"||n==="textTransform"&&!t&&!(["heading","h1","h2","h3","h4","h5","h6"].includes(r)||r==="button"||r==="caption"||r==="text")||n==="letterSpacing"&&!t&&!(["heading","h1","h2","h3","h4","h5","h6"].includes(r)||r==="button"||r==="caption"||r==="text")||n==="textIndent"&&!t||n==="textColumns"&&!t))}var Wa=(0,Oe.createSelector)((e,t,r)=>{if(!t)return Io(Ka,t,r);let n=ke(e,t);if(!n)return[];let o=[],i=n?.supports;i?.spacing?.blockGap&&o.push("blockGap"),i?.shadow&&o.push("shadow");let s=et;return Object.keys(s).forEach(a=>{if(s[a].support){if(s[a].requiresOptOut&&i&&s[a].support[0]in i&&ae(i,s[a].support)!==!1){o.push(a);return}i&&ae(i,s[a].support,!1)&&o.push(a)}}),Io(o,t,r)},(e,t)=>[e.blockTypes[t]]);function Ya(e,t){return e.bootstrappedBlockTypes[t]}function Za(e){return e.unprocessedBlockTypes}function Xa(e){return e.blockBindingsSources}function Qa(e,t){return e.blockBindingsSources[t]}var Ja=(0,Oe.createRegistrySelector)(e=>(0,Oe.createSelector)((t,r,n)=>{if(!r.getFieldsList)return[];let o={};if(r?.usesContext?.length)for(let i of r.usesContext)o[i]=n[i];return r.getFieldsList({select:e,context:o})},(t,r,n)=>[r.getFieldsList,r.usesContext,n])),yr=(e,t)=>{let r=ke(e,t);return r?Object.values(r.attributes).some(({role:n,__experimentalRole:o})=>n==="content"?!0:o==="content"?((0,zo.default)("__experimentalRole attribute",{since:"6.7",version:"6.8",alternative:"role attribute",hint:`Check the block.json of the ${t} block.`}),!0):!1):!1};var Fo=(e,t)=>typeof t=="string"?ke(e,t):t,Ho=(0,ft.createSelector)(e=>Object.values(e.blockTypes),e=>[e.blockTypes]);function ke(e,t){return e.blockTypes[t]}function el(e,t){return e.blockStyles[t]}var vr=(0,ft.createSelector)((e,t,r)=>{let n=e.blockVariations[t];return!n||!r?n:n.filter(o=>(o.scope||["block","inserter"]).includes(r))},(e,t)=>[e.blockVariations[t]]);function tl(e,t,r,n,o){let i=vr(e,t,n);if(!i)return i;if(o){let u=i.find(p=>p.innerContent&&(0,$o.default)(p.innerContent,o));if(u)return u}let s=ke(e,t),a=Object.keys(s?.attributes||{}),c,l=0;for(let u of i)if(!u.innerContent){if(Array.isArray(u.isActive)){let p=u.isActive.filter(f=>{let v=f.split(".")[0];return a.includes(v)}),d=p.length;if(d===0)continue;p.every(f=>{let v=ae(u.attributes,f);if(v===void 0)return!1;let R=ae(r,f);return R instanceof jo.RichTextData&&(R=R.toHTMLString()),kr(R,v)})&&d>l&&(c=u,l=d)}else if(u.isActive?.(r,u.attributes))return c||u}return!c&&["block","transform"].includes(n)&&(c=i.find(u=>u?.isDefault&&!Object.hasOwn(u,"isActive"))),c}function rl(e,t,r){let n=vr(e,t,r);return[...n||[]].reverse().find(({isDefault:i})=>!!i)||n?.[0]}function nl(e){return e.categories}function ol(e){return e.collections}function il(e){return e.defaultBlockName}function sl(e){return e.freeformFallbackBlockName}function al(e){return e.unregisteredFallbackBlockName}function ll(e){return e.groupingBlockName}var xr=(0,ft.createSelector)((e,t)=>Ho(e).filter(r=>r.parent?.includes(t)).map(({name:r})=>r),e=>[e.blockTypes]),Go=(e,t,r,n)=>{let o=Fo(e,t);return o?.supports?ae(o.supports,r,n):n};function Ko(e,t,r,n){return!!Go(e,t,r,n)}function Mo(e){return(0,Vo.default)(e??"").toLowerCase().trim()}function cl(e,t,r=""){let n=Fo(e,t),o=Mo(r),i=s=>Mo(s).includes(o);return i(n?.title)||n?.keywords?.some(i)||i(n?.category)||typeof n?.description=="string"&&i(n.description)}var ul=(e,t)=>xr(e,t).length>0,pl=(e,t)=>xr(e,t).some(r=>Ko(e,r,"inserter",!0)),fl=(...e)=>((0,Uo.default)("__experimentalHasContentRoleAttribute",{since:"6.7",version:"6.8",hint:"This is a private selector."}),yr(...e));var Cr={};Be(Cr,{__experimentalReapplyBlockFilters:()=>bl,addBlockCollection:()=>_l,addBlockStyles:()=>yl,addBlockTypes:()=>gl,addBlockVariations:()=>vl,reapplyBlockTypeFilters:()=>oi,removeBlockCollection:()=>Nl,removeBlockStyles:()=>wl,removeBlockTypes:()=>kl,removeBlockVariations:()=>xl,setCategories:()=>Sl,setDefaultBlockName:()=>Tl,setFreeformFallbackBlockName:()=>El,setGroupingBlockName:()=>Al,setUnregisteredFallbackBlockName:()=>Bl,updateCategory:()=>Cl});var ni=h(L(),1);function Wo(e){return Object.prototype.toString.call(e)==="[object Object]"}function Yo(e){var t,r;return Wo(e)===!1?!1:(t=e.constructor,t===void 0?!0:(r=t.prototype,!(Wo(r)===!1||r.hasOwnProperty("isPrototypeOf")===!1)))}var ri=h(Jo(),1),Ar=h(L(),1),Sr=h(De(),1),P=h(tt(),1);var ti={common:"text",formatting:"text",layout:"design"};function ml(e=[],t=[]){let r=[...e];return t.forEach(n=>{let o=r.findIndex(i=>i.name===n.name);o!==-1?r[o]={...r[o],...n}:r.push(n)}),r}var Tt=(e,t)=>({select:r})=>{let n=r.getBootstrappedBlockType(e),o={apiVersion:1,name:e,icon:Je,keywords:[],attributes:{},providesContext:{},usesContext:[],selectors:{},supports:{},styles:[],blockHooks:{},save:()=>null,...n,...t,variations:ml(Array.isArray(n?.variations)?n.variations:[],Array.isArray(t?.variations)?t.variations:[])};(!o.attributes||typeof o.attributes!="object")&&((0,P.default)('The block "'+e+'" is registering attributes as `null` or `undefined`. Use an empty object (`attributes: {}`) or exclude the `attributes` key.'),o.attributes={});let i=(0,Sr.applyFilters)("blocks.registerBlockType",o,e,null);if(i.apiVersion<=2&&(0,Ar.default)("Block with API version 2 or lower",{since:"6.9",hint:`The block "${e}" is registered with API version ${i.apiVersion}. This means that the post editor may work as a non-iframe editor. Since all editors are planned to work as iframes in the future, set the \`apiVersion\` field to 3 and test the block inside the iframe editor.`,link:"https://developer.wordpress.org/block-editor/reference-guides/block-api/block-api-versions/block-migration-for-iframe-editor-compatibility/"}),i.description&&typeof i.description!="string"&&(0,Ar.default)("Declaring non-string block descriptions",{since:"6.2"}),i.deprecated&&(i.deprecated=i.deprecated.map(s=>Object.fromEntries(Object.entries((0,Sr.applyFilters)("blocks.registerBlockType",{...F(o,_e),...s},o.name,s)).filter(([a])=>_e.includes(a))))),!Yo(i)){(0,P.default)("Block settings must be a valid object.");return}if(typeof i.save!="function"){(0,P.default)('The "save" property must be a valid function.');return}if("edit"in i&&!(0,ri.isValidElementType)(i.edit)){(0,P.default)('The "edit" property must be a valid component.');return}if(ti.hasOwnProperty(i.category)&&(i.category=ti[i.category]),"category"in i&&!r.getCategories().some(({slug:s})=>s===i.category)&&((0,P.default)('The block "'+e+'" is registered with an invalid category "'+i.category+'".'),delete i.category),!("title"in i)||i.title===""){(0,P.default)('The block "'+e+'" must have a title.');return}if(typeof i.title!="string"){(0,P.default)("Block titles must be strings.");return}if(i.icon=lt(i.icon),!Le(i.icon.src)){(0,P.default)("The icon passed is invalid. The icon should be a string, an element, a function, or an object following the specifications documented in https://developer.wordpress.org/block-editor/developers/block-api/block-registration/#icon-optional");return}if((typeof i?.parent=="string"||i?.parent instanceof String)&&(i.parent=[i.parent],(0,P.default)("Parent must be undefined or an array of strings (block types), but it is a string.")),!Array.isArray(i?.parent)&&i?.parent!==void 0){(0,P.default)("Parent must be undefined or an array of block types, but it is "+i.parent);return}if(i?.parent?.length===1&&e===i.parent[0]){(0,P.default)('Block "'+e+'" cannot be a parent of itself. Please remove the block name from the parent list.');return}return i};function gl(e){return{type:"ADD_BLOCK_TYPES",blockTypes:Array.isArray(e)?e:[e]}}function oi(){return({dispatch:e,select:t})=>{let r=[];for(let[n,o]of Object.entries(t.getUnprocessedBlockTypes())){let i=e(Tt(n,o));i&&r.push(i)}r.length&&e.addBlockTypes(r)}}function bl(){return(0,ni.default)('wp.data.dispatch( "core/blocks" ).__experimentalReapplyBlockFilters',{since:"6.4",alternative:"reapplyBlockFilters"}),oi()}function kl(e){return{type:"REMOVE_BLOCK_TYPES",names:Array.isArray(e)?e:[e]}}function yl(e,t){return{type:"ADD_BLOCK_STYLES",styles:Array.isArray(t)?t:[t],blockNames:Array.isArray(e)?e:[e]}}function wl(e,t){return{type:"REMOVE_BLOCK_STYLES",styleNames:Array.isArray(t)?t:[t],blockName:e}}function vl(e,t){return{type:"ADD_BLOCK_VARIATIONS",variations:Array.isArray(t)?t:[t],blockName:e}}function xl(e,t){return{type:"REMOVE_BLOCK_VARIATIONS",variationNames:Array.isArray(t)?t:[t],blockName:e}}function Tl(e){return{type:"SET_DEFAULT_BLOCK_NAME",name:e}}function El(e){return{type:"SET_FREEFORM_FALLBACK_BLOCK_NAME",name:e}}function Bl(e){return{type:"SET_UNREGISTERED_FALLBACK_BLOCK_NAME",name:e}}function Al(e){return{type:"SET_GROUPING_BLOCK_NAME",name:e}}function Sl(e){return{type:"SET_CATEGORIES",categories:e}}function Cl(e,t){return{type:"UPDATE_CATEGORY",slug:e,category:t}}function _l(e,t,r){return{type:"ADD_BLOCK_COLLECTION",namespace:e,title:t,icon:r}}function Nl(e){return{type:"REMOVE_BLOCK_COLLECTION",namespace:e}}var _r={};Be(_r,{addBlockBindingsSource:()=>Ol,addBootstrappedBlockType:()=>Rl,addUnprocessedBlockType:()=>Ll,removeBlockBindingsSource:()=>Dl});function Rl(e,t){return{type:"ADD_BOOTSTRAPPED_BLOCK_TYPE",name:e,blockType:t}}function Ll(e,t){return({dispatch:r})=>{r({type:"ADD_UNPROCESSED_BLOCK_TYPE",name:e,blockType:t});let n=r(Tt(e,t));n&&r.addBlockTypes(n)}}function Ol(e){return{type:"ADD_BLOCK_BINDINGS_SOURCE",name:e.name,label:e.label,usesContext:e.usesContext,getValues:e.getValues,setValues:e.setValues,canUserEditValue:e.canUserEditValue,getFieldsList:e.getFieldsList}}function Dl(e){return{type:"REMOVE_BLOCK_BINDINGS_SOURCE",name:e}}var ii="core/blocks";var m=(0,Et.createReduxStore)(ii,{reducer:No,selectors:Tr,actions:Cr});(0,Et.register)(m);z(m).registerPrivateSelectors(wr);z(m).registerPrivateActions(_r);var A=[];for(let e=0;e<256;++e)A.push((e+256).toString(16).slice(1));function si(e,t=0){return(A[e[t+0]]+A[e[t+1]]+A[e[t+2]]+A[e[t+3]]+"-"+A[e[t+4]]+A[e[t+5]]+"-"+A[e[t+6]]+A[e[t+7]]+"-"+A[e[t+8]]+A[e[t+9]]+"-"+A[e[t+10]]+A[e[t+11]]+A[e[t+12]]+A[e[t+13]]+A[e[t+14]]+A[e[t+15]]).toLowerCase()}var ql=new Uint8Array(16);function Nr(){return crypto.getRandomValues(ql)}function Pl(e,t,r){return!t&&!e&&crypto.randomUUID?crypto.randomUUID():Il(e,t,r)}function Il(e,t,r){e=e||{};let n=e.random??e.rng?.()??Nr();if(n.length<16)throw new Error("Random bytes length must be >= 16");if(n[6]=n[6]&15|64,n[8]=n[8]&63|128,t){if(r=r||0,r<0||r+16>t.length)throw new RangeError(`UUID byte range ${r}:${r+15} is out of buffer bounds`);for(let o=0;o<16;++o)t[r+o]=n[o];return t}return si(n)}var qe=Pl;var Bt=h(De(),1),li=h(L(),1),ci=h(tt(),1);var ui=(e,t)=>t.variationName?{...e,variationName:t.variationName}:e;function S(e,t={},r=[],n){if(!hr(e))return S("core/missing",{originalName:e,originalContent:"",originalUndelimitedContent:""});let o=be(e,t),s={clientId:qe(),name:e,isValid:!0,attributes:o,innerBlocks:r};return n&&(e==="core/html"?s.innerContent=n:(0,ci.default)(`The innerContent argument passed to createBlock for the "${e}" block was ignored. Only the Custom HTML block stores static inner content.`)),s}function Lr(e=[]){return e.map(t=>{let r=Array.isArray(t)?t:[t.name,t.attributes,t.innerBlocks,t.innerContent],[n,o,i=[],s]=r;return S(n,o,Lr(i),s)})}function At(e,t={},r){let{name:n}=e;if(!hr(n))return S("core/missing",{originalName:n,originalContent:"",originalUndelimitedContent:""});let o=qe(),i=be(n,{...e.attributes,...t});return{...e,clientId:o,attributes:i,innerBlocks:r||e.innerBlocks.map(s=>At(s))}}function pi(e,t={},r){return(0,li.default)("__experimentalCloneSanitizedBlock",{since:"7.1",alternative:"cloneSanitizedBlock"}),At(e,t,r)}function Or(e,t={},r){let n=qe();return{...e,clientId:n,attributes:{...e.attributes,...t},innerBlocks:r||e.innerBlocks.map(o=>Or(o))}}var fi=(e,t,r)=>{if(!r.length)return!1;let n=r.length>1,o=r[0].name;if(!(ye(e)||!n||e.isMultiBlock)||!ye(e)&&!r.every(l=>l.name===o)||!(e.type==="block"))return!1;let a=r[0];return!(!(t!=="from"||e.blocks.indexOf(a.name)!==-1||ye(e))||!n&&t==="from"&&ai(a.name)&&ai(e.blockName)||!Rr(e,r))},zl=e=>e.length?Ne().flatMap(n=>M("from",n.name).filter(i=>fi(i,"from",e)).map(i=>ui(n,i))):[],Ml=e=>{if(!e.length)return[];let t=e[0],r=x(t.name);return(r?M("to",r.name):[]).filter(i=>i&&fi(i,"to",e)).flatMap(i=>(i.blocks||[]).map(s=>{let a=x(s);return a?ui(a,i):void 0})).filter(i=>!!i)},ye=e=>!!e&&e.type==="block"&&Array.isArray(e.blocks)&&e.blocks.includes("*"),ai=e=>e===nt();function di(e){if(!e.length)return[];let t=zl(e),r=Ml(e),n=new Map;for(let o of[...t,...r]){let i=o.variationName?`${o.name}/${o.variationName}`:o.name;n.has(i)||n.set(i,o)}return[...n.values()]}function ee(e,t){let r=(0,Bt.createHooks)();for(let n=0;n<e.length;n++){let o=e[n];t(o)&&r.addFilter("transform","transform/"+n.toString(),i=>i||o,o.priority)}return r.applyFilters("transform",null)}function M(e,t){if(t===void 0)return Ne().map(({name:c})=>M(e,c)).flat();let r=U(t),{name:n,transforms:o}=r||{},i=o?.[e];if(!o||!Array.isArray(i))return[];let s=o.supportedMobileTransforms&&Array.isArray(o.supportedMobileTransforms);return(s?i.filter(c=>c.type==="raw"||c.type==="prefix"?!0:!c.blocks||!c.blocks.length?!1:ye(c)?!0:c.blocks.every(l=>o.supportedMobileTransforms.includes(l))):i).map(c=>({...c,blockName:n,usingMobileTransformations:s}))}function Rr(e,t){if(typeof e.isMatch!="function")return!0;let r=t[0],n=e.isMultiBlock?t.map(i=>i.attributes):r.attributes,o=e.isMultiBlock?t:r;return e.isMatch(n,o)}function hi(e,t,r){let n=Array.isArray(e)?e:[e],o=n.length>1,i=n[0],s=i.name,a=M("from",t),c=M("to",s),l=f=>r?f.variationName===r:!f.variationName,u=ee(c,f=>f.type==="block"&&l(f)&&(ye(f)||f.blocks.indexOf(t)!==-1)&&(!o||!!f.isMultiBlock)&&Rr(f,n))||ee(a,f=>f.type==="block"&&l(f)&&(ye(f)||f.blocks.indexOf(s)!==-1)&&(!o||!!f.isMultiBlock)&&Rr(f,n));if(!u)return null;let p;return u.isMultiBlock?"__experimentalConvert"in u?p=u.__experimentalConvert(n):p=u.transform(n.map(f=>f.attributes),n.map(f=>f.innerBlocks)):"__experimentalConvert"in u?p=u.__experimentalConvert(i):p=u.transform(i.attributes,i.innerBlocks),p===null||typeof p!="object"||(p=Array.isArray(p)?p:[p],p.some(f=>!x(f.name)))||!p.some(f=>f.name===t)?null:p.map((f,v,R)=>(0,Bt.applyFilters)("blocks.switchToBlockType.transformedBlock",f,e,v,R))}var Dr=(e,t)=>S(e,t.attributes,(t.innerBlocks??[]).map(r=>Dr(r.name,r)),t.innerContent);var ns=h(gi(),1),os=h(qr(),1);var ne=h(Se(),1),re=h(De(),1),xi=h(yi(),1),Ti=h(qr(),1),Ei=h(L(),1);function te(e,t={}){let{isCommentDelimited:r=!0}=t,{blockName:n,attrs:o={},innerBlocks:i=[],innerContent:s=[]}=e,a=0,c=s.map(l=>l!==null?l:te(i[a++],t)).join(`
`).replace(/\n+/g,`
`).trim();return r?Pr(n??void 0,o,c):c}var Bi=h(vi(),1);function Ai(e){let t="wp-block-"+e.replace(/\//,"-").replace(/^core-/,"");return(0,re.applyFilters)("blocks.getBlockDefaultClassName",t,e)}function Si(e){let t="editor-block-list-item-"+e.replace(/\//,"-").replace(/^core-/,"");return(0,re.applyFilters)("blocks.getBlockMenuDefaultClassName",t,e)}var Ir={},Ci={};function Mr(e={}){let{blockType:t,attributes:r}=Ir;return Mr.skipFilters?e:(0,re.applyFilters)("blocks.getSaveContent.extraProps",{...e},t,r)}function _i(e={}){let{innerBlocks:t}=Ci;if(!Array.isArray(t))return{...e,children:t};let r=St(t,{isInnerBlocks:!0});return{...e,children:(0,Bi.jsx)(ne.RawHTML,{children:r})}}function Vr(e,t,r=[]){let n=U(e);if(!n?.save)return null;let o=n.save;if(o.prototype instanceof ne.Component){let s=o,a=new s({attributes:t});o=a.render.bind(a)}Ir.blockType=n,Ir.attributes=t,Ci.innerBlocks=r;let i=o({attributes:t,innerBlocks:r});if(i!==null&&typeof i=="object"&&(0,re.hasFilter)("blocks.getSaveContent.extraProps")&&!((n.apiVersion??0)>1)){let s=(0,re.applyFilters)("blocks.getSaveContent.extraProps",{...i.props},n,t);(0,xi.isShallowEqual)(s,i.props)||(i=(0,ne.cloneElement)(i,s))}return(0,re.applyFilters)("blocks.getSaveElement",i,n,t)}function Z(e,t,r){let n=U(e);return n?(0,ne.renderToString)(Vr(n,t,r)):""}function Vl(e,t){return Object.entries(e.attributes??{}).reduce((r,[n,o])=>{let i=t[n];return i===void 0||o.source!==void 0||o.role==="local"?r:o.__experimentalRole==="local"?((0,Ei.default)("__experimentalRole attribute",{since:"6.7",version:"6.8",alternative:"role attribute",hint:`Check the block.json of the ${e?.name} block.`}),r):("default"in o&&JSON.stringify(o.default)===JSON.stringify(i)||(r[n]=i),r)},{})}function $l(e){return JSON.stringify(e).replaceAll("\\\\","\\u005c").replaceAll("--","\\u002d\\u002d").replaceAll("<","\\u003c").replaceAll(">","\\u003e").replaceAll("&","\\u0026").replaceAll('\\"',"\\u0022")}function jl(e,t){let r=0,n=e.map(o=>{if(o!==null)return o;let i=t[r++];return i?zr(i,{isInnerBlocks:!0}):""});for(;r<t.length;r++)n.push(zr(t[r],{isInnerBlocks:!0}));return n.join("").trim()}function Pe(e){if(e.innerContent&&e.name==="core/html")return jl(e.innerContent,e.innerBlocks);let t=e.originalContent??"";if(e.isValid||e.innerBlocks.length)try{t=Z(e.name,e.attributes,e.innerBlocks)}catch{}return t}function Pr(e,t,r){let n=t&&Object.entries(t).length?$l(t)+" ":"",o=e?.startsWith("core/")?e.slice(5):e;return r?`<!-- wp:${o} ${n}-->
`+r+`
<!-- /wp:${o} -->`:`<!-- wp:${o} ${n}/-->`}function zr(e,{isInnerBlocks:t=!1}={}){if(!e.isValid&&e.__unstableBlockSource)return te(e.__unstableBlockSource);let r=e.name,n=Pe(e);if(r===Y()||!t&&r===D())return n;let o=x(r);if(!o)return n;let i=Vl(o,e.attributes);return Pr(r,i,n)}var Ni=(()=>{let e=new WeakMap;return t=>{let r=e.get(t);if(r!==void 0)return r;let n=t;n.length===1&&at(n[0])&&(n=[]);let o=St(n);return n.length===1&&n[0].name===D()&&n[0].name==="core/freeform"&&(o=(0,Ti.removep)(o)),e.set(t,o),o}})();function St(e,t){return(Array.isArray(e)?e:[e]).map(n=>zr(n,t)).join(`

`)}var Ul=/^#[xX]([A-Fa-f0-9]+)$/,Fl=/^#([0-9]+)$/,Hl=/^([A-Za-z0-9]+)$/,Bf=(function(){function e(t){this.named=t}return e.prototype.parse=function(t){if(t){var r=t.match(Ul);if(r)return String.fromCharCode(parseInt(r[1],16));if(r=t.match(Fl),r)return String.fromCharCode(parseInt(r[1],10));if(r=t.match(Hl),r)return this.named[r[1]]}},e})(),Gl=/[\t\n\f ]/,Kl=/[A-Za-z]/,Wl=/\r\n?/g;function le(e){return Gl.test(e)}function Ri(e){return Kl.test(e)}function Yl(e){return e.replace(Wl,`
`)}var Zl=(function(){function e(t,r){this.delegate=t,this.entityParser=r,this.state="beforeData",this.line=-1,this.column=-1,this.input="",this.index=-1,this.tagNameBuffer="",this.states={beforeData:function(){var n=this.peek();if(n==="<")this.transitionTo("tagOpen"),this.markTagStart(),this.consume();else{if(n===`
`){var o=this.tagNameBuffer.toLowerCase();(o==="pre"||o==="textarea")&&this.consume()}this.transitionTo("data"),this.delegate.beginData()}},data:function(){var n=this.peek();n==="<"?(this.delegate.finishData(),this.transitionTo("tagOpen"),this.markTagStart(),this.consume()):n==="&"?(this.consume(),this.delegate.appendToData(this.consumeCharRef()||"&")):(this.consume(),this.delegate.appendToData(n))},tagOpen:function(){var n=this.consume();n==="!"?this.transitionTo("markupDeclarationOpen"):n==="/"?this.transitionTo("endTagOpen"):(n==="@"||n===":"||Ri(n))&&(this.transitionTo("tagName"),this.tagNameBuffer="",this.delegate.beginStartTag(),this.appendToTagName(n))},markupDeclarationOpen:function(){var n=this.consume();n==="-"&&this.input.charAt(this.index)==="-"&&(this.consume(),this.transitionTo("commentStart"),this.delegate.beginComment())},commentStart:function(){var n=this.consume();n==="-"?this.transitionTo("commentStartDash"):n===">"?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData(n),this.transitionTo("comment"))},commentStartDash:function(){var n=this.consume();n==="-"?this.transitionTo("commentEnd"):n===">"?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData("-"),this.transitionTo("comment"))},comment:function(){var n=this.consume();n==="-"?this.transitionTo("commentEndDash"):this.delegate.appendToCommentData(n)},commentEndDash:function(){var n=this.consume();n==="-"?this.transitionTo("commentEnd"):(this.delegate.appendToCommentData("-"+n),this.transitionTo("comment"))},commentEnd:function(){var n=this.consume();n===">"?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData("--"+n),this.transitionTo("comment"))},tagName:function(){var n=this.consume();le(n)?this.transitionTo("beforeAttributeName"):n==="/"?this.transitionTo("selfClosingStartTag"):n===">"?(this.delegate.finishTag(),this.transitionTo("beforeData")):this.appendToTagName(n)},beforeAttributeName:function(){var n=this.peek();if(le(n)){this.consume();return}else n==="/"?(this.transitionTo("selfClosingStartTag"),this.consume()):n===">"?(this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):n==="="?(this.delegate.reportSyntaxError("attribute name cannot start with equals sign"),this.transitionTo("attributeName"),this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(n)):(this.transitionTo("attributeName"),this.delegate.beginAttribute())},attributeName:function(){var n=this.peek();le(n)?(this.transitionTo("afterAttributeName"),this.consume()):n==="/"?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):n==="="?(this.transitionTo("beforeAttributeValue"),this.consume()):n===">"?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):n==='"'||n==="'"||n==="<"?(this.delegate.reportSyntaxError(n+" is not a valid character within attribute names"),this.consume(),this.delegate.appendToAttributeName(n)):(this.consume(),this.delegate.appendToAttributeName(n))},afterAttributeName:function(){var n=this.peek();if(le(n)){this.consume();return}else n==="/"?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):n==="="?(this.consume(),this.transitionTo("beforeAttributeValue")):n===">"?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.transitionTo("attributeName"),this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(n))},beforeAttributeValue:function(){var n=this.peek();le(n)?this.consume():n==='"'?(this.transitionTo("attributeValueDoubleQuoted"),this.delegate.beginAttributeValue(!0),this.consume()):n==="'"?(this.transitionTo("attributeValueSingleQuoted"),this.delegate.beginAttributeValue(!0),this.consume()):n===">"?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.transitionTo("attributeValueUnquoted"),this.delegate.beginAttributeValue(!1),this.consume(),this.delegate.appendToAttributeValue(n))},attributeValueDoubleQuoted:function(){var n=this.consume();n==='"'?(this.delegate.finishAttributeValue(),this.transitionTo("afterAttributeValueQuoted")):n==="&"?this.delegate.appendToAttributeValue(this.consumeCharRef()||"&"):this.delegate.appendToAttributeValue(n)},attributeValueSingleQuoted:function(){var n=this.consume();n==="'"?(this.delegate.finishAttributeValue(),this.transitionTo("afterAttributeValueQuoted")):n==="&"?this.delegate.appendToAttributeValue(this.consumeCharRef()||"&"):this.delegate.appendToAttributeValue(n)},attributeValueUnquoted:function(){var n=this.peek();le(n)?(this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("beforeAttributeName")):n==="/"?(this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):n==="&"?(this.consume(),this.delegate.appendToAttributeValue(this.consumeCharRef()||"&")):n===">"?(this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.consume(),this.delegate.appendToAttributeValue(n))},afterAttributeValueQuoted:function(){var n=this.peek();le(n)?(this.consume(),this.transitionTo("beforeAttributeName")):n==="/"?(this.consume(),this.transitionTo("selfClosingStartTag")):n===">"?(this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):this.transitionTo("beforeAttributeName")},selfClosingStartTag:function(){var n=this.peek();n===">"?(this.consume(),this.delegate.markTagAsSelfClosing(),this.delegate.finishTag(),this.transitionTo("beforeData")):this.transitionTo("beforeAttributeName")},endTagOpen:function(){var n=this.consume();(n==="@"||n===":"||Ri(n))&&(this.transitionTo("tagName"),this.tagNameBuffer="",this.delegate.beginEndTag(),this.appendToTagName(n))}},this.reset()}return e.prototype.reset=function(){this.transitionTo("beforeData"),this.input="",this.index=0,this.line=1,this.column=0,this.delegate.reset()},e.prototype.transitionTo=function(t){this.state=t},e.prototype.tokenize=function(t){this.reset(),this.tokenizePart(t),this.tokenizeEOF()},e.prototype.tokenizePart=function(t){for(this.input+=Yl(t);this.index<this.input.length;){var r=this.states[this.state];if(r!==void 0)r.call(this);else throw new Error("unhandled state "+this.state)}},e.prototype.tokenizeEOF=function(){this.flushData()},e.prototype.flushData=function(){this.state==="data"&&(this.delegate.finishData(),this.transitionTo("beforeData"))},e.prototype.peek=function(){return this.input.charAt(this.index)},e.prototype.consume=function(){var t=this.peek();return this.index++,t===`
`?(this.line++,this.column=0):this.column++,t},e.prototype.consumeCharRef=function(){var t=this.input.indexOf(";",this.index);if(t!==-1){var r=this.input.slice(this.index,t),n=this.entityParser.parse(r);if(n){for(var o=r.length;o;)this.consume(),o--;return this.consume(),n}}},e.prototype.markTagStart=function(){this.delegate.tagOpen()},e.prototype.appendToTagName=function(t){this.tagNameBuffer+=t,this.delegate.appendToTagName(t)},e})(),Li=(function(){function e(t,r){r===void 0&&(r={}),this.options=r,this.token=null,this.startLine=1,this.startColumn=0,this.tokens=[],this.tokenizer=new Zl(this,t),this._currentAttribute=void 0}return e.prototype.tokenize=function(t){return this.tokens=[],this.tokenizer.tokenize(t),this.tokens},e.prototype.tokenizePart=function(t){return this.tokens=[],this.tokenizer.tokenizePart(t),this.tokens},e.prototype.tokenizeEOF=function(){return this.tokens=[],this.tokenizer.tokenizeEOF(),this.tokens[0]},e.prototype.reset=function(){this.token=null,this.startLine=1,this.startColumn=0},e.prototype.current=function(){var t=this.token;if(t===null)throw new Error("token was unexpectedly null");if(arguments.length===0)return t;for(var r=0;r<arguments.length;r++)if(t.type===arguments[r])return t;throw new Error("token type was unexpectedly "+t.type)},e.prototype.push=function(t){this.token=t,this.tokens.push(t)},e.prototype.currentAttribute=function(){return this._currentAttribute},e.prototype.addLocInfo=function(){this.options.loc&&(this.current().loc={start:{line:this.startLine,column:this.startColumn},end:{line:this.tokenizer.line,column:this.tokenizer.column}}),this.startLine=this.tokenizer.line,this.startColumn=this.tokenizer.column},e.prototype.beginData=function(){this.push({type:"Chars",chars:""})},e.prototype.appendToData=function(t){this.current("Chars").chars+=t},e.prototype.finishData=function(){this.addLocInfo()},e.prototype.beginComment=function(){this.push({type:"Comment",chars:""})},e.prototype.appendToCommentData=function(t){this.current("Comment").chars+=t},e.prototype.finishComment=function(){this.addLocInfo()},e.prototype.tagOpen=function(){},e.prototype.beginStartTag=function(){this.push({type:"StartTag",tagName:"",attributes:[],selfClosing:!1})},e.prototype.beginEndTag=function(){this.push({type:"EndTag",tagName:""})},e.prototype.finishTag=function(){this.addLocInfo()},e.prototype.markTagAsSelfClosing=function(){this.current("StartTag").selfClosing=!0},e.prototype.appendToTagName=function(t){this.current("StartTag","EndTag").tagName+=t},e.prototype.beginAttribute=function(){this._currentAttribute=["","",!1]},e.prototype.appendToAttributeName=function(t){this.currentAttribute()[0]+=t},e.prototype.beginAttributeValue=function(t){this.currentAttribute()[2]=t},e.prototype.appendToAttributeValue=function(t){this.currentAttribute()[1]+=t},e.prototype.finishAttributeValue=function(){this.current("StartTag").attributes.push(this._currentAttribute)},e.prototype.reportSyntaxError=function(t){this.current().syntaxError=t},e})();var Mi=h(br(),1),Vi=h(L(),1),$i=h(Di(),1);function ce(){function e(t){return(r,...n)=>t("Block validation: "+r,...n)}return{error:e(console.error),warning:e(console.warn),getItems(){return[]}}}function qi(){let e=[],t=ce();return{error(...r){e.push({log:t.error,args:r})},warning(...r){e.push({log:t.warning,args:r})},getItems(){return e}}}var Xl=e=>e,Ql=/[\t\n\r\v\f ]+/g,Jl=/^[\t\n\r\v\f ]*$/,ec=/^url\s*\(['"\s]*(.*?)['"\s]*\)$/,ji=["allowfullscreen","allowpaymentrequest","allowusermedia","async","autofocus","autoplay","checked","controls","default","defer","disabled","download","formnovalidate","hidden","ismap","itemscope","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected","typemustmatch"],tc=["autocapitalize","autocomplete","charset","contenteditable","crossorigin","decoding","dir","draggable","enctype","formenctype","formmethod","http-equiv","inputmode","kind","method","preload","scope","shape","spellcheck","translate","type","wrap"],rc=[...ji,...tc],Pi=[Xl,lc],nc=/^[\da-z]+$/i,oc=/^#\d+$/,ic=/^#x[\da-f]+$/i;function sc(e){return nc.test(e)||oc.test(e)||ic.test(e)}var ac=class{parse(e){if(sc(e))return(0,$i.decodeEntities)("&"+e+";")}};function $r(e){return e.trim().split(Ql)}function lc(e){return $r(e).join(" ")}function cc(e){return(e.attributes??[]).filter(t=>{let[r,n]=t;return n||r.indexOf("data-")===0||rc.includes(r)})}function Ii(e,t,r=ce()){let n=e.chars,o=t.chars;for(let i=0;i<Pi.length;i++){let s=Pi[i];if(n=s(n),o=s(o),n===o)return!0}return r.warning("Expected text `%s`, saw `%s`.",t.chars,e.chars),!1}function uc(e){return parseFloat(e)===0?"0":e.indexOf(".")===0?"0"+e:e}function pc(e){return $r(e).map(uc).join(" ").replace(ec,"url($1)")}function fc(e){let t=e.replace(/;?\s*$/,"").split(";").map(r=>{let[n,...o]=r.split(":"),i=o.join(":");return[n.trim(),pc(i.trim())]});return Object.fromEntries(t)}var dc={class:(e,t)=>{let[r,n]=[e,t].map($r),o=r.filter(s=>!n.includes(s)),i=n.filter(s=>!r.includes(s));return o.length===0&&i.length===0},style:(e,t)=>(0,Mi.default)(...[e,t].map(fc)),...Object.fromEntries(ji.map(e=>[e,()=>!0]))};function hc(e,t,r=ce()){if(e.length!==t.length)return r.warning("Expected attributes %o, instead saw %o.",t,e),!1;let n={};for(let o=0;o<t.length;o++)n[t[o][0].toLowerCase()]=t[o][1];for(let o=0;o<e.length;o++){let[i,s]=e[o],a=i.toLowerCase();if(!n.hasOwnProperty(a))return r.warning("Encountered unexpected attribute `%s`.",i),!1;let c=n[a],l=dc[a];if(l){if(!l(s,c))return r.warning("Expected attribute `%s` of value `%s`, saw `%s`.",i,c,s),!1}else if(s!==c)return r.warning("Expected attribute `%s` of value `%s`, saw `%s`.",i,c,s),!1}return!0}var mc={StartTag:(e,t,r=ce())=>e.tagName!==t.tagName&&e.tagName.toLowerCase()!==t.tagName.toLowerCase()?(r.warning("Expected tag name `%s`, instead saw `%s`.",t.tagName,e.tagName),!1):hc(...[e,t].map(cc),r),Chars:Ii,Comment:Ii};function Ie(e){let t;for(;t=e.shift();)if(t.type!=="Chars"||!Jl.test(t.chars))return t}function gc(e,t=ce()){try{return new Li(new ac).tokenize(e)}catch{t.warning("Malformed HTML detected: %s",e)}return null}function zi(e,t){return e.selfClosing?!!(t&&t.tagName===e.tagName&&t.type==="EndTag"):!1}function bc(e,t,r=ce()){if(e===t)return!0;let[n,o]=[e,t].map(a=>gc(a,r));if(!n||!o)return!1;let i,s;for(;i=Ie(n);){if(s=Ie(o),!s)return r.warning("Expected end of content, instead saw %o.",i),!1;if(i.type!==s.type)return r.warning("Expected token of type `%s` (%o), instead saw `%s` (%o).",s.type,s,i.type,i),!1;let a=mc[i.type];if(a&&!a(i,s,r))return!1;zi(i,o[0])?Ie(o):zi(s,n[0])&&Ie(n)}return(s=Ie(o))?(r.warning("Expected %o, instead saw end of content.",s),!1):!0}function X(e,t=e.name){if(e.name===D()||e.name===Y())return[!0,[]];let n=qi(),o=U(t),i;try{i=Z(o,e.attributes)}catch(a){return n.error(`Block validation failed because an error occurred while generating block content:

%s`,a.toString()),[!1,n.getItems()]}let s=bc(e.originalContent,i,n);return s||n.error(`Block validation failed for \`%s\` (%o).

Content generated by \`save\` function:

%s

Content retrieved from post body:

%s`,o.name,o,i,e.originalContent),[s,n.getItems()]}function Ui(e,t,r){(0,Vi.default)("isValidBlockContent introduces opportunity for data loss",{since:"12.6",plugin:"Gutenberg",alternative:"validateBlock"});let n=U(e),o={clientId:"",name:n.name,isValid:!0,attributes:t,innerBlocks:[],originalContent:r},[i]=X(o,n);return i}function Ct(e,t){let r={...t};if(e==="core/cover-image"&&(e="core/cover"),(e==="core/text"||e==="core/cover-text")&&(e="core/paragraph"),e&&e.indexOf("core/social-link-")===0&&(r.service=e.substring(17),e="core/social-link"),e&&e.indexOf("core-embed/")===0){let a=e.substring(11),c={speaker:"speaker-deck",polldaddy:"crowdsignal"};r.providerNameSlug=a in c?c[a]:a,["amazon-kindle","wordpress"].includes(a)||(r.responsive=!0),e="core/embed"}if(e==="core/post-comment-author"&&(e="core/comment-author-name"),e==="core/post-comment-content"&&(e="core/comment-content"),e==="core/post-comment-date"&&(e="core/comment-date"),e==="core/comments-query-loop"){e="core/comments";let a=r.className??"";a.includes("wp-block-comments-query-loop")||(r.className=["wp-block-comments-query-loop",a].join(" "))}e==="core/post-comments"&&(e="core/comments",r.legacy=!0);let n=t.layout;n?.type==="grid"&&typeof n?.columnCount=="string"&&(r.layout={...r.layout,columnCount:parseInt(n.columnCount,10)});let i=t.style?.layout;if(typeof i?.columnSpan=="string"){let a=parseInt(i.columnSpan,10);r.style={...r.style,layout:{...r.style?.layout,columnSpan:isNaN(a)?void 0:a}}}if(typeof i?.rowSpan=="string"){let a=parseInt(i.rowSpan,10);r.style={...r.style,layout:{...r.style?.layout,rowSpan:isNaN(a)?void 0:a}}}let s=r.style;return s!==r.style&&(r.style=s),[e,r]}function jr(e,t){for(var r=t.split("."),n;n=r.shift();){if(!(n in e))return;e=e[n]}return e}var kc=(function(){var e;return function(){return e||(e=document.implementation.createHTMLDocument("")),e}})();function _t(e,t){if(t){if(typeof e=="string"){var r=kc();r.body.innerHTML=e,e=r.body}if(typeof t=="function")return t(e);if(Object===t.constructor)return Object.keys(t).reduce(function(n,o){return n[o]=_t(e,t[o]),n},{})}}function ze(e,t){return arguments.length===1&&(t=e,e=void 0),function(r){var n=r;if(e&&(n=r.querySelector(e)),n)return jr(n,t)}}function Ur(e,t){return arguments.length===1&&(t=e,e=void 0),function(r){var n=ze(e,"attributes")(r);if(n&&n.hasOwnProperty(t))return n[t].value}}function Fr(e){return ze(e,"textContent")}function Hr(e,t){return function(r){var n=r.querySelectorAll(e);return[].map.call(n,function(o){return _t(o,t)})}}function Fi(e,t){var r=0,n,o;t=t||{};function i(){var s=n,a=arguments.length,c,l;e:for(;s;){if(s.args.length!==arguments.length){s=s.next;continue}for(l=0;l<a;l++)if(s.args[l]!==arguments[l]){s=s.next;continue e}return s!==n&&(s===o&&(o=s.prev),s.prev.next=s.next,s.next&&(s.next.prev=s.prev),s.next=n,s.prev=null,n.prev=s,n=s),s.val}for(c=new Array(a),l=0;l<a;l++)c[l]=arguments[l];return s={args:c,val:e.apply(null,c)},n?(n.prev=s,s.next=n):o=s,r===t.maxSize?(o=o.prev,o.next=null):r++,n=s,s.val}return i.clear=function(){n=null,o=null,r=0},i}var Zi=h(De(),1),Xi=h(Ce(),1);var Kr=h(Ce(),1);var Me=h(L(),1);var Hi=h(Se(),1),we=h(L(),1);function yc(e){return(0,we.default)("wp.blocks.children.getChildrenArray",{since:"6.1",version:"6.3",link:"https://developer.wordpress.org/block-editor/how-to-guides/block-tutorial/introducing-attributes-and-editable-fields/"}),e}function wc(...e){(0,we.default)("wp.blocks.children.concat",{since:"6.1",version:"6.3",alternative:"wp.richText.concat",link:"https://developer.wordpress.org/block-editor/how-to-guides/block-tutorial/introducing-attributes-and-editable-fields/"});let t=[];for(let r=0;r<e.length;r++){let n=Array.isArray(e[r])?e[r]:[e[r]];for(let o=0;o<n.length;o++){let i=n[o];typeof i=="string"&&typeof t[t.length-1]=="string"?t[t.length-1]+=i:t.push(i)}}return t}function Nt(e){(0,we.default)("wp.blocks.children.fromDOM",{since:"6.1",version:"6.3",alternative:"wp.richText.create",link:"https://developer.wordpress.org/block-editor/how-to-guides/block-tutorial/introducing-attributes-and-editable-fields/"});let t=[];for(let r=0;r<e.length;r++)try{t.push(Lt(e[r]))}catch{}return t}function Gr(e){(0,we.default)("wp.blocks.children.toHTML",{since:"6.1",version:"6.3",alternative:"wp.richText.toHTMLString",link:"https://developer.wordpress.org/block-editor/how-to-guides/block-tutorial/introducing-attributes-and-editable-fields/"});let t=e;return(0,Hi.renderToString)(t)}function Rt(e){return(0,we.default)("wp.blocks.children.matcher",{since:"6.1",version:"6.3",alternative:"html source",link:"https://developer.wordpress.org/block-editor/how-to-guides/block-tutorial/introducing-attributes-and-editable-fields/"}),t=>{let r=t;return e&&(r=t.querySelector(e)),r?Nt(r.childNodes):[]}}var Gi={concat:wc,getChildrenArray:yc,fromDOM:Nt,toHTML:Gr,matcher:Rt};function Tc(e,t){return(0,Me.default)("wp.blocks.node.isNodeOfType",{since:"6.1",version:"6.3",link:"https://developer.wordpress.org/block-editor/how-to-guides/block-tutorial/introducing-attributes-and-editable-fields/"}),typeof e!="string"&&e?.type===t}function Ec(e){let t={};for(let r=0;r<e.length;r++){let{name:n,value:o}=e[r];t[n]=o}return t}function Lt(e){if((0,Me.default)("wp.blocks.node.fromDOM",{since:"6.1",version:"6.3",alternative:"wp.richText.create",link:"https://developer.wordpress.org/block-editor/how-to-guides/block-tutorial/introducing-attributes-and-editable-fields/"}),e.nodeType===e.TEXT_NODE)return e.nodeValue;if(e.nodeType!==e.ELEMENT_NODE)throw new TypeError("A block node can only be created from a node of type text or element.");return{type:e.nodeName.toLowerCase(),props:{...Ec(e.attributes),children:Nt(e.childNodes)}}}function Bc(e){return(0,Me.default)("wp.blocks.node.toHTML",{since:"6.1",version:"6.3",alternative:"wp.richText.toHTMLString",link:"https://developer.wordpress.org/block-editor/how-to-guides/block-tutorial/introducing-attributes-and-editable-fields/"}),Gr([e])}function Ot(e){return(0,Me.default)("wp.blocks.node.matcher",{since:"6.1",version:"6.3",alternative:"html source",link:"https://developer.wordpress.org/block-editor/how-to-guides/block-tutorial/introducing-attributes-and-editable-fields/"}),t=>{let r=t;e&&(r=t.querySelector(e));try{return Lt(r)}catch{return null}}}var Ki={isNodeOfType:Tc,fromDOM:Lt,toHTML:Bc,matcher:Ot};function Wi(e,t){return r=>{let n=r;if(e&&(n=r.querySelector(e)),!n)return"";if(t){let o="",i=n.children.length;for(let s=0;s<i;s++){let a=n.children[s];a.nodeName.toLowerCase()===t&&(o+=a.outerHTML)}return o}return n.innerHTML}}var Yi=(e,t)=>r=>{let n=e?r.querySelector(e):r;return n?Kr.RichTextData.fromHTMLElement(n,{preserveWhiteSpace:t}):Kr.RichTextData.empty()};var Ac=e=>t=>e(t)!==void 0;function Sc(e,t){switch(t){case"rich-text":return e instanceof Xi.RichTextData;case"string":return typeof e=="string";case"boolean":return typeof e=="boolean";case"object":return!!e&&e.constructor===Object;case"null":return e===null;case"array":return Array.isArray(e);case"integer":case"number":return typeof e=="number"}return!0}function Cc(e,t){return t.some(r=>Sc(e,r))}function _c(e,t,r,n,o){let i;switch(t.source){case void 0:i=n?n[e]:void 0;break;case"raw":i=o;break;case"attribute":case"property":case"html":case"text":case"rich-text":case"children":case"node":case"query":case"tag":i=ue(r,t);break}return(!Nc(i,t.type)||!Rc(i,t.enum))&&(i=void 0),i===void 0&&(i=dr(t)),i}function Nc(e,t){return t===void 0||Cc(e,Array.isArray(t)?t:[t])}function Rc(e,t){return!Array.isArray(t)||t.includes(e)}var Qi=Fi(e=>{switch(e.source){case"attribute":{let r=Ur(e.selector,e.attribute);return e.type==="boolean"&&(r=Ac(r)),r}case"html":return Wi(e.selector,e.multiline);case"text":return Fr(e.selector);case"rich-text":return Yi(e.selector,e.__unstablePreserveWhiteSpace);case"children":return Rt(e.selector);case"node":return Ot(e.selector);case"query":let t=Object.fromEntries(Object.entries(e.query).map(([r,n])=>[r,Qi(n)]));return Hr(e.selector,t);case"tag":{let r=ze(e.selector,"nodeName");return n=>r(n)?.toLowerCase()}default:console.error(`Unknown source type "${e.source}"`);return}});function Ji(e){return _t(e,t=>t)}function ue(e,t){return Qi(t)(Ji(e))}function H(e,t,r={}){let n=Ji(t),o=U(e),i=Object.fromEntries(Object.entries(o?.attributes??{}).map(([s,a])=>[s,_c(s,a,n,r,t)]));return(0,Zi.applyFilters)("blocks.getBlockAttributes",i,o,t,r)}var Lc={type:"string",source:"attribute",selector:"[data-custom-class-name] > *",attribute:"class"};function es(e){let t=ue(`<div data-custom-class-name>${e}</div>`,Lc);return t?t.trim().split(/\s+/):[]}function ts(e,t,r){if(!j(t,"customClassName",!0))return e;let n={...e},{className:o,...i}=n,s=Z(t,i),a=es(s),l=es(r).filter(u=>!a.includes(u));return l.length?n.className=l.join(" "):s&&delete n.className,n}function Oc(e,t,r){return ue(`<div ${t}>${e}</div>`,r)}function Wr(e,t,r,n,o,i){if(!j(t,n,!1))return e;let s={...e},a=Oc(r,o,i);return a&&(s[n]=a),s}var Dc={type:"string",source:"attribute",selector:"[data-aria-label] > *",attribute:"aria-label"},qc={type:"string",source:"attribute",selector:"[data-anchor] > *",attribute:"id"};function pe(e,t){let{attributes:r,originalContent:n}=e,o=r;return o=ts(r,t,n??""),o=Wr(o,t,n??"","ariaLabel","data-aria-label",Dc),o=Wr(o,t,n??"","anchor","data-anchor",qc),{...e,attributes:o}}function Pc(){return!1}function rs(e,t,r){let n=t.attrs??{},{deprecated:o}=r;if(!o||!o.length)return e;for(let i=0;i<o.length;i++){let{isEligible:s=Pc}=o[i];if(e.isValid&&!s(n,e.innerBlocks,{blockNode:t,block:e}))continue;let a=Object.assign(F(r,_e),o[i]),c={...e,attributes:H(a,e.originalContent??"",n)},[l]=X(c,a);if(l||(c=pe(c,a),[l]=X(c,a)),!l)continue;let u=c.innerBlocks,p=c.attributes,{migrate:d}=a;if(d){let g=d(p,e.innerBlocks);Array.isArray(g)||(g=[g]),[p=n,u=e.innerBlocks]=g}e={...e,attributes:p,innerBlocks:u,isValid:!0,validationIssues:[]}}return e}function Ic(e){let[t,r]=Ct(e.blockName,e.attrs??{});return{...e,blockName:t,attrs:r}}function zc(e,t){let r=D(),n=e.blockName||D(),o=e.attrs||{},i=e.innerBlocks||[],s=e.innerHTML.trim();return n===r&&n==="core/freeform"&&!t?.__unstableSkipAutop&&(s=(0,os.autop)(s).trim()),{...e,blockName:n,attrs:o,innerHTML:s,innerBlocks:i}}function Mc(e){let t=Y()||D(),r=te(e,{isCommentDelimited:!1}),n=te(e,{isCommentDelimited:!0});return{blockName:t,attrs:{originalName:e.blockName,originalContent:n,originalUndelimitedContent:r},innerHTML:e.blockName?n:e.innerHTML,innerBlocks:e.innerBlocks,innerContent:e.innerContent}}function Vc(e,t){let[r]=X(e,t);if(r)return{...e,isValid:r,validationIssues:[]};let n=pe(e,t),[o,i]=X(n,t);return{...n,isValid:o,validationIssues:i}}function Dt(e,t){let r=zc(e,t);r=Ic(r);let n=x(r.blockName);n||(r=Mc(r),n=x(r.blockName));let o=r.blockName===D()||r.blockName===Y();if(!n||!r.innerHTML&&o)return;let i=r.innerBlocks.map(u=>Dt(u,t)).filter(u=>!!u),s=S(r.blockName,H(n,r.innerHTML,r.attrs),i);if(s.originalContent=r.innerHTML,n.name==="core/html")return s.innerContent=r.innerContent??[r.innerHTML],s.isValid=!0,s.validationIssues=[],s;let a=Vc(s,n),{validationIssues:c}=a,l=rs(a,r,n);return l.isValid||(l.__unstableBlockSource=e),!a.isValid&&l.isValid&&!t?.__unstableSkipMigrationLogs?(console.groupCollapsed("Updated Block: %s",n.name),console.info(`Block successfully updated for \`%s\` (%o).

New content generated by \`save\` function:

%s

Content retrieved from post body:

%s`,n.name,n,Z(n,l.attributes),l.originalContent),console.groupEnd()):!a.isValid&&!l.isValid&&c.forEach(({log:u,args:p})=>u(...p)),l}function ve(e,t){return(0,ns.parse)(e).reduce((r,n)=>{let o=Dt(n,t);return o&&r.push(o),r},[])}var Js=h(L(),1),ea=h(_(),1);function qt(){return M("from").filter(({type:e})=>e==="raw").map(e=>e.isMatch?e:{...e,isMatch:t=>e.selector&&t.matches(e.selector)})}function Pt(e,t){let r=document.implementation.createHTMLDocument("");return r.body.innerHTML=e,Array.from(r.body.children).flatMap(n=>{let o=qt(),i=ee(o,(c=>c.isMatch(n)));if(!i)return S("core/html",{},[],[n.outerHTML]);let{transform:s,blockName:a}=i;if(s){let c=s(n,t);return n.hasAttribute("class")&&(c.attributes.className=n.getAttribute("class")),c}return S(a,H(a,n.outerHTML))})}var Ve=h(_(),1);function oe(e,t={}){let r=document.implementation.createHTMLDocument(""),n=document.implementation.createHTMLDocument(""),o=r.body,i=n.body;for(o.innerHTML=e;o.firstChild;){let s=o.firstChild;s.nodeType===s.TEXT_NODE?(0,Ve.isEmpty)(s)?o.removeChild(s):((!i.lastChild||i.lastChild.nodeName!=="P")&&i.appendChild(n.createElement("P")),i.lastChild.appendChild(s)):s.nodeType===s.ELEMENT_NODE?s.nodeName==="BR"?(s.nextSibling&&s.nextSibling.nodeName==="BR"&&(i.appendChild(n.createElement("P")),o.removeChild(s.nextSibling)),i.lastChild&&i.lastChild.nodeName==="P"&&i.lastChild.hasChildNodes()?i.lastChild.appendChild(s):o.removeChild(s)):s.nodeName==="P"?(0,Ve.isEmpty)(s)&&!t.raw?o.removeChild(s):i.appendChild(s):(0,Ve.isPhrasingContent)(s)?((!i.lastChild||i.lastChild.nodeName!=="P")&&i.appendChild(n.createElement("P")),i.lastChild.appendChild(s)):i.appendChild(s):o.removeChild(s)}return i.innerHTML}var $e=h(_(),1);function It(e,t){if(e.nodeType!==e.COMMENT_NODE||e.nodeValue!=="nextpage"&&e.nodeValue.indexOf("more")!==0)return;let r=$c(e,t);if(!e.parentNode||e.parentNode.nodeName!=="P")(0,$e.replace)(e,r);else{let n=Array.from(e.parentNode.childNodes),o=n.indexOf(e),i=e.parentNode.parentNode||t.body,s=(a,c)=>(a||(a=t.createElement("p")),a.appendChild(c),a);[n.slice(0,o).reduce(s,null),r,n.slice(o+1).reduce(s,null)].forEach(a=>a&&i.insertBefore(a,e.parentNode)),(0,$e.remove)(e.parentNode)}}function $c(e,t){if(e.nodeValue==="nextpage")return Uc(t);let r=e.nodeValue.slice(4).trim(),n=e,o=!1;for(;n=n.nextSibling;)if(n.nodeType===n.COMMENT_NODE&&n.nodeValue==="noteaser"){o=!0,(0,$e.remove)(n);break}return jc(r,o,t)}function jc(e,t,r){let n=r.createElement("wp-block");return n.dataset.block="core/more",e&&(n.dataset.customText=e),t&&(n.dataset.noTeaser=""),n}function Uc(e){let t=e.createElement("wp-block");return t.dataset.block="core/nextpage",t}var ss=h(_(),1);function is(e){return e.nodeName==="OL"||e.nodeName==="UL"}function Fc(e){return Array.from(e.childNodes).map(({nodeValue:t=""})=>t).join("")}function zt(e){if(!is(e))return;let t=e,r=t.previousElementSibling;if(r&&r.nodeName===e.nodeName&&t.children.length===1){for(;t.firstChild;)r.appendChild(t.firstChild);t.parentNode.removeChild(t)}let n=e.parentNode;if(n&&n.nodeName==="LI"&&n.children.length===1&&!/\S/.test(Fc(n))){let o=n,i=o.previousElementSibling,s=o.parentNode;i&&(i.appendChild(t),s.removeChild(o))}if(n&&is(n)){let o=t.previousElementSibling;o?o.appendChild(e):(0,ss.unwrap)(e)}}function Mt(e={}){return t=>{if(t.nodeName!=="BLOCKQUOTE")return;let r=t;r.innerHTML=oe(r.innerHTML,e)}}var as=h(_(),1);function Hc(e,t){let r=e.nodeName.toLowerCase();return r==="figcaption"||(0,as.isTextContent)(e)?!1:r in(t?.figure?.children??{})}function Gc(e,t){return e.nodeName.toLowerCase()in(t?.figure?.children?.a?.children??{})}function Yr(e,t=e){let r=e.ownerDocument.createElement("figure");t.parentNode.insertBefore(r,t),r.appendChild(e)}function Vt(e,t,r){if(!r||!Hc(e,r))return;let n=e,o=e.parentNode;Gc(e,r)&&o.nodeName==="A"&&o.childNodes.length===1&&(n=e.parentNode);let i=n.closest("p,div");if(i){let s=e;s.classList?(s.classList.contains("alignright")||s.classList.contains("alignleft")||s.classList.contains("aligncenter")||!i.textContent.trim())&&Yr(n,i):Yr(n,i)}else Yr(n)}var Ue=h(cs(),1);var us=e=>Array.isArray(e)?e:[e],ps=/(\n|<p>|<br\s*\/?>)\s*$/,fs=/^\s*(\n|<\/p>|<br\s*\/?>)/;function je(e,t=0,r=[]){let n=M("from"),o=ee(n,(l=>{let u=l;return r.indexOf(u.blockName)===-1&&u.type==="shortcode"&&us(u.tag).some(p=>(0,Ue.regexp)(p).test(e))}));if(!o)return[e];let s=us(o.tag).find(l=>(0,Ue.regexp)(l).test(e)),a,c=t;if(a=(0,Ue.next)(s,e,t)){t=a.index+a.content.length;let l=e.substr(0,a.index),u=e.substr(t);if(!a.shortcode.content?.includes("<")&&!(ps.test(l)&&fs.test(u)))return je(e,t);if(o.isMatch&&!o.isMatch(a.shortcode.attrs))return je(e,c,[...r,o.blockName]);let p=[];if(typeof o.transform=="function")p=[].concat(o.transform(a.shortcode.attrs,a)),p=p.map(d=>(d.originalContent=a.shortcode.content,pe(d,x(d.name))));else{let d=Object.fromEntries(Object.entries(o.attributes).filter(([,R])=>R.shortcode).map(([R,Ye])=>[R,Ye.shortcode(a.shortcode.attrs,a)])),g=x(o.blockName);if(!g)return[e];let f={...g,attributes:o.attributes},v=S(o.blockName,H(f,a.shortcode.content,d));v.originalContent=a.shortcode.content,v=pe(v,f),p=[v]}return[...je(l.replace(ps,"")),...p,...je(u.replace(fs,""))]}return[e]}var $t=je;var Fe=h(_(),1);function Kc(e,t){let n={phrasingContentSchema:(0,Fe.getPhrasingContentSchema)(t),isPaste:t==="paste"},o=e.map(({isMatch:c,blockName:l,schema:u})=>{let p=j(l,"anchor");return u=typeof u=="function"?u(n):u,!p&&!c?u:u?Object.fromEntries(Object.entries(u).map(([d,g])=>{let f=g.attributes||[];return p&&(f=[...f,"id"]),[d,{...g,attributes:f,isMatch:c||void 0}]})):{}});function i(c,l,u){switch(u){case"children":return c==="*"||l==="*"?"*":a({...c||{}},l||{});case"attributes":case"require":return Array.from(new Set([...c||[],...l||[]]));case"isMatch":return!c||!l?void 0:(...p)=>c(...p)||l(...p);case"classes":return(c||[]).includes("*")||(l||[]).includes("*")?["*"]:[...c||[],...l||[]]}}function s(c,l){if(c===l)return c;for(let u in l)c[u]?c[u]=i(c[u],l[u],u):Array.isArray(l[u])?c[u]=l[u].slice():c[u]={...l[u]};return c}function a(c,l){if(c===l)return c;for(let u in l)c[u]?c[u]=s(c[u],l[u]):Array.isArray(l[u])?c[u]=l[u].slice():c[u]={...l[u]};return c}return o.reduce(a,{})}function jt(e){return Kc(qt(),e)}function ds(e){if(!/<(?!br[ />])/i.test(e))return!0;let t=document.implementation.createHTMLDocument("");if(t.body.innerHTML=e,t.body.children.length!==1)return!1;let r=t.body.children.item(0),n=r.getElementsByTagName("*");for(let o=0;o<n.length;o++)if(n.item(o).tagName!=="BR")return!1;return r.tagName==="SPAN"}function hs(e,t,r,n){Array.from(e).forEach(o=>{hs(o.childNodes,t,r,n),t.forEach(i=>{r.contains(o)&&i(o,r,n)})})}function G(e,t=[],r){let n=document.implementation.createHTMLDocument("");return n.body.innerHTML=e,hs(n.body.childNodes,t,n,r),n.body.innerHTML}function xe(e,t){let r=e[`${t}Sibling`];if(r&&(0,Fe.isPhrasingContent)(r))return r;let{parentNode:n}=e;if(!(!n||!(0,Fe.isPhrasingContent)(n)))return xe(n,t)}var me=h(_(),1);var ms=h(_(),1);function Zr(e){e.nodeType===e.COMMENT_NODE&&(0,ms.remove)(e)}var gs=h(_(),1);function Wc(e,t){if((0,gs.isTextContent)(e))return!0;if(!t)return!1;let r=e.nodeName.toLowerCase();return[["ul","li","ol"],["h1","h2","h3","h4","h5","h6"]].some(o=>[r,t].filter(i=>!o.includes(i)).length===0)}function bs(e,t){return e.every(r=>Wc(r,t)&&bs(Array.from(r.children),t))}function Yc(e){return e.nodeName==="BR"&&!!e.previousSibling&&e.previousSibling.nodeName==="BR"}function ks(e,t){let r=document.implementation.createHTMLDocument("");r.body.innerHTML=e;let n=Array.from(r.body.children);return!n.some(Yc)&&bs(n,t)}var Q=h(_(),1);function Xr(e,t){if(e.nodeName==="SPAN"&&e.style){let{fontWeight:r,fontStyle:n,textDecorationLine:o,textDecoration:i,verticalAlign:s}=e.style,a=e;(r==="bold"||r==="700")&&(0,Q.wrap)(t.createElement("strong"),a),n==="italic"&&(0,Q.wrap)(t.createElement("em"),a),(o==="line-through"||i.includes("line-through"))&&(0,Q.wrap)(t.createElement("s"),a),s==="super"?(0,Q.wrap)(t.createElement("sup"),a):s==="sub"&&(0,Q.wrap)(t.createElement("sub"),a)}else if(e.nodeName==="B")(0,Q.replaceTag)(e,"strong");else if(e.nodeName==="I")(0,Q.replaceTag)(e,"em");else if(e.nodeName==="A"){let r=e;r.target&&r.target.toLowerCase()==="_blank"?r.rel="noopener":(r.removeAttribute("target"),r.removeAttribute("rel")),r.name&&!r.id&&(r.id=r.name),r.id&&!r.ownerDocument.querySelector(`[href="#${r.id}"]`)&&r.removeAttribute("id")}}function Qr(e){e.nodeName!=="SCRIPT"&&e.nodeName!=="NOSCRIPT"&&e.nodeName!=="TEMPLATE"&&e.nodeName!=="STYLE"||e.parentNode.removeChild(e)}function Ut(e){if(e.nodeType!==e.ELEMENT_NODE)return;let t=e,r=t.getAttribute("style");if(!r||!r.includes("mso-list"))return;r.split(";").reduce((o,i)=>{let[s,a]=i.split(":");return s&&a&&(o[s.trim().toLowerCase()]=a.trim().toLowerCase()),o},{})["mso-list"]==="ignore"&&t.remove()}function Jr(e){return e.nodeName==="OL"||e.nodeName==="UL"}function ys(e,t){if(e.nodeName!=="P")return;let r=e,n=r.getAttribute("style");if(!n||!n.includes("mso-list"))return;let o=r.previousElementSibling;if(!o||!Jr(o)){let p=r.textContent.trim().slice(0,1),d=/[1iIaA]/.test(p),g=t.createElement(d?"ol":"ul");d&&g.setAttribute("type",p),r.parentNode.insertBefore(g,r)}let i=r.previousElementSibling,s=i.nodeName,a=t.createElement("li"),c=i;a.innerHTML=G(r.innerHTML,[Ut]);let l=/mso-list\s*:[^;]+level([0-9]+)/i.exec(n),u=l&&parseInt(l[1],10)-1||0;for(;u--;)c=c.lastChild||c,Jr(c)&&(c=c.lastChild||c);Jr(c)||(c=c.appendChild(t.createElement(s))),c.appendChild(a),r.parentNode.removeChild(r)}var xs=h(vs(),1);function Ts(e){if(e.nodeName!=="IMG")return;let t=e;if(t.src.indexOf("file:")===0&&(t.src=""),t.src.indexOf("data:")===0){let[r,n]=t.src.split(","),[o]=r.slice(5).split(";");if(!n||!o){t.src="";return}let i;try{i=atob(n)}catch{t.src="";return}let s=new Uint8Array(i.length);for(let l=0;l<s.length;l++)s[l]=i.charCodeAt(l);let a=o.replace("/","."),c=new window.File([s],a,{type:o});t.src=(0,xs.createBlobURL)(c)}(t.height===1||t.width===1)&&t.parentNode.removeChild(t)}function Es(e){if(e.nodeName!=="DIV")return;let t=e;t.innerHTML=oe(t.innerHTML)}function nn(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var he=nn();function Ls(e){he=e}var fe={exec:()=>null};function k(e,t=""){let r=typeof e=="string"?e:e.source,n={replace:(o,i)=>{let s=typeof i=="string"?i:i.source;return s=s.replace(C.caret,"$1"),r=r.replace(o,s),n},getRegex:()=>new RegExp(r,t)};return n}var Zc=((e="")=>{try{return!!new RegExp("(?<=1)(?<!1)"+e)}catch{return!1}})(),C={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] +\S/,listReplaceTask:/^\[[ xX]\] +/,listTaskCheckbox:/\[[ xX]\]/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:e=>new RegExp(`^( {0,3}${e})((?:[	 ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ 	][^\\n]*)?(?:\\n|$))`),hrRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}#`),htmlBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}<(?:[a-z].*>|!--)`,"i"),blockquoteBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}>`)},Xc=/^(?:[ \t]*(?:\n|$))+/,Qc=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,Jc=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,Ke=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,eu=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,on=/ {0,3}(?:[*+-]|\d{1,9}[.)])/,Os=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,Ds=k(Os).replace(/bull/g,on).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),tu=k(Os).replace(/bull/g,on).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),sn=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,ru=/^[^\n]+/,an=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,nu=k(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",an).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),ou=k(/^(bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,on).getRegex(),Wt="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",ln=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,iu=k("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ 	]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ 	]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ 	]*)+\\n|$))","i").replace("comment",ln).replace("tag",Wt).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),qs=k(sn).replace("hr",Ke).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Wt).getRegex(),su=k(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",qs).getRegex(),cn={blockquote:su,code:Qc,def:nu,fences:Jc,heading:eu,hr:Ke,html:iu,lheading:Ds,list:ou,newline:Xc,paragraph:qs,table:fe,text:ru},Bs=k("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",Ke).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3}	)[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Wt).getRegex(),au={...cn,lheading:tu,table:Bs,paragraph:k(sn).replace("hr",Ke).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",Bs).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Wt).getRegex()},lu={...cn,html:k(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",ln).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:fe,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:k(sn).replace("hr",Ke).replace("heading",` *#{1,6} *[^
]`).replace("lheading",Ds).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},cu=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,uu=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,Ps=/^( {2,}|\\)\n(?!\s*$)/,pu=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,Te=/[\p{P}\p{S}]/u,Yt=/[\s\p{P}\p{S}]/u,un=/[^\s\p{P}\p{S}]/u,fu=k(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,Yt).getRegex(),Is=/(?!~)[\p{P}\p{S}]/u,du=/(?!~)[\s\p{P}\p{S}]/u,hu=/(?:[^\s\p{P}\p{S}]|~)/u,mu=k(/link|precode-code|html/,"g").replace("link",/\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-",Zc?"(?<!`)()":"(^^|[^`])").replace("code",/(?<b>`+)[^`]+\k<b>(?!`)/).replace("html",/<(?! )[^<>]*?>/).getRegex(),zs=/^(?:\*+(?:((?!\*)punct)|([^\s*]))?)|^_+(?:((?!_)punct)|([^\s_]))?/,gu=k(zs,"u").replace(/punct/g,Te).getRegex(),bu=k(zs,"u").replace(/punct/g,Is).getRegex(),Ms="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",ku=k(Ms,"gu").replace(/notPunctSpace/g,un).replace(/punctSpace/g,Yt).replace(/punct/g,Te).getRegex(),yu=k(Ms,"gu").replace(/notPunctSpace/g,hu).replace(/punctSpace/g,du).replace(/punct/g,Is).getRegex(),wu=k("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,un).replace(/punctSpace/g,Yt).replace(/punct/g,Te).getRegex(),vu=k(/^~~?(?:((?!~)punct)|[^\s~])/,"u").replace(/punct/g,Te).getRegex(),xu="^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)",Tu=k(xu,"gu").replace(/notPunctSpace/g,un).replace(/punctSpace/g,Yt).replace(/punct/g,Te).getRegex(),Eu=k(/\\(punct)/,"gu").replace(/punct/g,Te).getRegex(),Bu=k(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),Au=k(ln).replace("(?:-->|$)","-->").getRegex(),Su=k("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",Au).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Ht=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\])|[^\[\]\\`])*?/,Cu=k(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?\s*\)/).replace("label",Ht).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),Vs=k(/^!?\[(label)\]\[(ref)\]/).replace("label",Ht).replace("ref",an).getRegex(),$s=k(/^!?\[(ref)\](?:\[\])?/).replace("ref",an).getRegex(),_u=k("reflink|nolink(?!\\()","g").replace("reflink",Vs).replace("nolink",$s).getRegex(),As=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,pn={_backpedal:fe,anyPunctuation:Eu,autolink:Bu,blockSkip:mu,br:Ps,code:uu,del:fe,delLDelim:fe,delRDelim:fe,emStrongLDelim:gu,emStrongRDelimAst:ku,emStrongRDelimUnd:wu,escape:cu,link:Cu,nolink:$s,punctuation:fu,reflink:Vs,reflinkSearch:_u,tag:Su,text:pu,url:fe},Nu={...pn,link:k(/^!?\[(label)\]\((.*?)\)/).replace("label",Ht).getRegex(),reflink:k(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Ht).getRegex()},en={...pn,emStrongRDelimAst:yu,emStrongLDelim:bu,delLDelim:vu,delRDelim:Tu,url:k(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",As).replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:k(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol",As).getRegex()},Ru={...en,br:k(Ps).replace("{2,}","*").getRegex(),text:k(en.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},Ft={normal:cn,gfm:au,pedantic:lu},He={normal:pn,gfm:en,breaks:Ru,pedantic:Nu},Lu={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},Ss=e=>Lu[e];function K(e,t){if(t){if(C.escapeTest.test(e))return e.replace(C.escapeReplace,Ss)}else if(C.escapeTestNoEncode.test(e))return e.replace(C.escapeReplaceNoEncode,Ss);return e}function Cs(e){try{e=encodeURI(e).replace(C.percentDecode,"%")}catch{return null}return e}function _s(e,t){let r=e.replace(C.findPipe,(i,s,a)=>{let c=!1,l=s;for(;--l>=0&&a[l]==="\\";)c=!c;return c?"|":" |"}),n=r.split(C.splitPipe),o=0;if(n[0].trim()||n.shift(),n.length>0&&!n.at(-1)?.trim()&&n.pop(),t)if(n.length>t)n.splice(t);else for(;n.length<t;)n.push("");for(;o<n.length;o++)n[o]=n[o].trim().replace(C.slashPipe,"|");return n}function ie(e,t,r){let n=e.length;if(n===0)return"";let o=0;for(;o<n;){let i=e.charAt(n-o-1);if(i===t&&!r)o++;else if(i!==t&&r)o++;else break}return e.slice(0,n-o)}function Ns(e){let t=e.split(`
`),r=t.length-1;for(;r>=0&&C.blankLine.test(t[r]);)r--;return t.length-r<=2?e:t.slice(0,r+1).join(`
`)}function Ou(e,t){if(e.indexOf(t[1])===-1)return-1;let r=0;for(let n=0;n<e.length;n++)if(e[n]==="\\")n++;else if(e[n]===t[0])r++;else if(e[n]===t[1]&&(r--,r<0))return n;return r>0?-2:-1}function Du(e,t=0){let r=t,n="";for(let o of e)if(o==="	"){let i=4-r%4;n+=" ".repeat(i),r+=i}else n+=o,r++;return n}function Rs(e,t,r,n,o){let i=t.href,s=t.title||null,a=e[1].replace(o.other.outputLinkReplace,"$1");n.state.inLink=!0;let c={type:e[0].charAt(0)==="!"?"image":"link",raw:r,href:i,title:s,text:a,tokens:n.inlineTokens(a)};return n.state.inLink=!1,c}function qu(e,t,r){let n=e.match(r.other.indentCodeCompensation);if(n===null)return t;let o=n[1];return t.split(`
`).map(i=>{let s=i.match(r.other.beginningSpace);if(s===null)return i;let[a]=s;return a.length>=o.length?i.slice(o.length):i}).join(`
`)}var Gt=class{options;rules;lexer;constructor(e){this.options=e||he}space(e){let t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){let t=this.rules.block.code.exec(e);if(t){let r=this.options.pedantic?t[0]:Ns(t[0]),n=r.replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:r,codeBlockStyle:"indented",text:n}}}fences(e){let t=this.rules.block.fences.exec(e);if(t){let r=t[0],n=qu(r,t[3]||"",this.rules);return{type:"code",raw:r,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):t[2],text:n}}}heading(e){let t=this.rules.block.heading.exec(e);if(t){let r=t[2].trim();if(this.rules.other.endingHash.test(r)){let n=ie(r,"#");(this.options.pedantic||!n||this.rules.other.endingSpaceChar.test(n))&&(r=n.trim())}return{type:"heading",raw:ie(t[0],`
`),depth:t[1].length,text:r,tokens:this.lexer.inline(r)}}}hr(e){let t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:ie(t[0],`
`)}}blockquote(e){let t=this.rules.block.blockquote.exec(e);if(t){let r=ie(t[0],`
`).split(`
`),n="",o="",i=[];for(;r.length>0;){let s=!1,a=[],c;for(c=0;c<r.length;c++)if(this.rules.other.blockquoteStart.test(r[c]))a.push(r[c]),s=!0;else if(!s)a.push(r[c]);else break;r=r.slice(c);let l=a.join(`
`),u=l.replace(this.rules.other.blockquoteSetextReplace,`
    $1`).replace(this.rules.other.blockquoteSetextReplace2,"");n=n?`${n}
${l}`:l,o=o?`${o}
${u}`:u;let p=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(u,i,!0),this.lexer.state.top=p,r.length===0)break;let d=i.at(-1);if(d?.type==="code")break;if(d?.type==="blockquote"){let g=d,f=g.raw+`
`+r.join(`
`),v=this.blockquote(f);i[i.length-1]=v,n=n.substring(0,n.length-g.raw.length)+v.raw,o=o.substring(0,o.length-g.text.length)+v.text;break}else if(d?.type==="list"){let g=d,f=g.raw+`
`+r.join(`
`),v=this.list(f);i[i.length-1]=v,n=n.substring(0,n.length-d.raw.length)+v.raw,o=o.substring(0,o.length-g.raw.length)+v.raw,r=f.substring(i.at(-1).raw.length).split(`
`);continue}}return{type:"blockquote",raw:n,tokens:i,text:o}}}list(e){let t=this.rules.block.list.exec(e);if(t){let r=t[1].trim(),n=r.length>1,o={type:"list",raw:"",ordered:n,start:n?+r.slice(0,-1):"",loose:!1,items:[]};r=n?`\\d{1,9}\\${r.slice(-1)}`:`\\${r}`,this.options.pedantic&&(r=n?r:"[*+-]");let i=this.rules.other.listItemRegex(r),s=!1;for(;e;){let c=!1,l="",u="";if(!(t=i.exec(e))||this.rules.block.hr.test(e))break;l=t[0],e=e.substring(l.length);let p=Du(t[2].split(`
`,1)[0],t[1].length),d=e.split(`
`,1)[0],g=!p.trim(),f=0;if(this.options.pedantic?(f=2,u=p.trimStart()):g?f=t[1].length+1:(f=p.search(this.rules.other.nonSpaceChar),f=f>4?1:f,u=p.slice(f),f+=t[1].length),g&&this.rules.other.blankLine.test(d)&&(l+=d+`
`,e=e.substring(d.length+1),c=!0),!c){let v=this.rules.other.nextBulletRegex(f),R=this.rules.other.hrRegex(f),Ye=this.rules.other.fencesBeginRegex(f),wn=this.rules.other.headingBeginRegex(f),ca=this.rules.other.htmlBeginRegex(f),ua=this.rules.other.blockquoteBeginRegex(f);for(;e;){let Jt=e.split(`
`,1)[0],Ee;if(d=Jt,this.options.pedantic?(d=d.replace(this.rules.other.listReplaceNesting,"  "),Ee=d):Ee=d.replace(this.rules.other.tabCharGlobal,"    "),Ye.test(d)||wn.test(d)||ca.test(d)||ua.test(d)||v.test(d)||R.test(d))break;if(Ee.search(this.rules.other.nonSpaceChar)>=f||!d.trim())u+=`
`+Ee.slice(f);else{if(g||p.replace(this.rules.other.tabCharGlobal,"    ").search(this.rules.other.nonSpaceChar)>=4||Ye.test(p)||wn.test(p)||R.test(p))break;u+=`
`+d}g=!d.trim(),l+=Jt+`
`,e=e.substring(Jt.length+1),p=Ee.slice(f)}}o.loose||(s?o.loose=!0:this.rules.other.doubleBlankLine.test(l)&&(s=!0)),o.items.push({type:"list_item",raw:l,task:!!this.options.gfm&&this.rules.other.listIsTask.test(u),loose:!1,text:u,tokens:[]}),o.raw+=l}let a=o.items.at(-1);if(a)a.raw=a.raw.trimEnd(),a.text=a.text.trimEnd();else return;o.raw=o.raw.trimEnd();for(let c of o.items){this.lexer.state.top=!1,c.tokens=this.lexer.blockTokens(c.text,[]);let l=c.tokens[0];if(c.task&&(l?.type==="text"||l?.type==="paragraph")){c.text=c.text.replace(this.rules.other.listReplaceTask,""),l.raw=l.raw.replace(this.rules.other.listReplaceTask,""),l.text=l.text.replace(this.rules.other.listReplaceTask,"");for(let p=this.lexer.inlineQueue.length-1;p>=0;p--)if(this.rules.other.listIsTask.test(this.lexer.inlineQueue[p].src)){this.lexer.inlineQueue[p].src=this.lexer.inlineQueue[p].src.replace(this.rules.other.listReplaceTask,"");break}let u=this.rules.other.listTaskCheckbox.exec(c.raw);if(u){let p={type:"checkbox",raw:u[0]+" ",checked:u[0]!=="[ ]"};c.checked=p.checked,o.loose?c.tokens[0]&&["paragraph","text"].includes(c.tokens[0].type)&&"tokens"in c.tokens[0]&&c.tokens[0].tokens?(c.tokens[0].raw=p.raw+c.tokens[0].raw,c.tokens[0].text=p.raw+c.tokens[0].text,c.tokens[0].tokens.unshift(p)):c.tokens.unshift({type:"paragraph",raw:p.raw,text:p.raw,tokens:[p]}):c.tokens.unshift(p)}}else c.task&&(c.task=!1);if(!o.loose){let u=c.tokens.filter(d=>d.type==="space"),p=u.length>0&&u.some(d=>this.rules.other.anyLine.test(d.raw));o.loose=p}}if(o.loose)for(let c of o.items){c.loose=!0;for(let l of c.tokens)l.type==="text"&&(l.type="paragraph")}return o}}html(e){let t=this.rules.block.html.exec(e);if(t){let r=Ns(t[0]);return{type:"html",block:!0,raw:r,pre:t[1]==="pre"||t[1]==="script"||t[1]==="style",text:r}}}def(e){let t=this.rules.block.def.exec(e);if(t){let r=t[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),n=t[2]?t[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",o=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):t[3];return{type:"def",tag:r,raw:ie(t[0],`
`),href:n,title:o}}}table(e){let t=this.rules.block.table.exec(e);if(!t||!this.rules.other.tableDelimiter.test(t[2]))return;let r=_s(t[1]),n=t[2].replace(this.rules.other.tableAlignChars,"").split("|"),o=t[3]?.trim()?t[3].replace(this.rules.other.tableRowBlankLine,"").split(`
`):[],i={type:"table",raw:ie(t[0],`
`),header:[],align:[],rows:[]};if(r.length===n.length){for(let s of n)this.rules.other.tableAlignRight.test(s)?i.align.push("right"):this.rules.other.tableAlignCenter.test(s)?i.align.push("center"):this.rules.other.tableAlignLeft.test(s)?i.align.push("left"):i.align.push(null);for(let s=0;s<r.length;s++)i.header.push({text:r[s],tokens:this.lexer.inline(r[s]),header:!0,align:i.align[s]});for(let s of o)i.rows.push(_s(s,i.header.length).map((a,c)=>({text:a,tokens:this.lexer.inline(a),header:!1,align:i.align[c]})));return i}}lheading(e){let t=this.rules.block.lheading.exec(e);if(t){let r=t[1].trim();return{type:"heading",raw:ie(t[0],`
`),depth:t[2].charAt(0)==="="?1:2,text:r,tokens:this.lexer.inline(r)}}}paragraph(e){let t=this.rules.block.paragraph.exec(e);if(t){let r=t[1].charAt(t[1].length-1)===`
`?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:r,tokens:this.lexer.inline(r)}}}text(e){let t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(e){let t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:t[1]}}tag(e){let t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&this.rules.other.startATag.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(e){let t=this.rules.inline.link.exec(e);if(t){let r=t[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(r)){if(!this.rules.other.endAngleBracket.test(r))return;let i=ie(r.slice(0,-1),"\\");if((r.length-i.length)%2===0)return}else{let i=Ou(t[2],"()");if(i===-2)return;if(i>-1){let s=(t[0].indexOf("!")===0?5:4)+t[1].length+i;t[2]=t[2].substring(0,i),t[0]=t[0].substring(0,s).trim(),t[3]=""}}let n=t[2],o="";if(this.options.pedantic){let i=this.rules.other.pedanticHrefTitle.exec(n);i&&(n=i[1],o=i[3])}else o=t[3]?t[3].slice(1,-1):"";return n=n.trim(),this.rules.other.startAngleBracket.test(n)&&(this.options.pedantic&&!this.rules.other.endAngleBracket.test(r)?n=n.slice(1):n=n.slice(1,-1)),Rs(t,{href:n&&n.replace(this.rules.inline.anyPunctuation,"$1"),title:o&&o.replace(this.rules.inline.anyPunctuation,"$1")},t[0],this.lexer,this.rules)}}reflink(e,t){let r;if((r=this.rules.inline.reflink.exec(e))||(r=this.rules.inline.nolink.exec(e))){let n=(r[2]||r[1]).replace(this.rules.other.multipleSpaceGlobal," "),o=t[n.toLowerCase()];if(!o){let i=r[0].charAt(0);return{type:"text",raw:i,text:i}}return Rs(r,o,r[0],this.lexer,this.rules)}}emStrong(e,t,r=""){let n=this.rules.inline.emStrongLDelim.exec(e);if(!(!n||!n[1]&&!n[2]&&!n[3]&&!n[4]||n[4]&&r.match(this.rules.other.unicodeAlphaNumeric))&&(!(n[1]||n[3])||!r||this.rules.inline.punctuation.exec(r))){let o=[...n[0]].length-1,i,s,a=o,c=0,l=n[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(l.lastIndex=0,t=t.slice(-1*e.length+o);(n=l.exec(t))!==null;){if(i=n[1]||n[2]||n[3]||n[4]||n[5]||n[6],!i)continue;if(s=[...i].length,n[3]||n[4]){a+=s;continue}else if((n[5]||n[6])&&o%3&&!((o+s)%3)){c+=s;continue}if(a-=s,a>0)continue;s=Math.min(s,s+a+c);let u=[...n[0]][0].length,p=e.slice(0,o+n.index+u+s);if(Math.min(o,s)%2){let g=p.slice(1,-1);return{type:"em",raw:p,text:g,tokens:this.lexer.inlineTokens(g)}}let d=p.slice(2,-2);return{type:"strong",raw:p,text:d,tokens:this.lexer.inlineTokens(d)}}}}codespan(e){let t=this.rules.inline.code.exec(e);if(t){let r=t[2].replace(this.rules.other.newLineCharGlobal," "),n=this.rules.other.nonSpaceChar.test(r),o=this.rules.other.startingSpaceChar.test(r)&&this.rules.other.endingSpaceChar.test(r);return n&&o&&(r=r.substring(1,r.length-1)),{type:"codespan",raw:t[0],text:r}}}br(e){let t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e,t,r=""){let n=this.rules.inline.delLDelim.exec(e);if(n&&(!n[1]||!r||this.rules.inline.punctuation.exec(r))){let o=[...n[0]].length-1,i,s,a=o,c=this.rules.inline.delRDelim;for(c.lastIndex=0,t=t.slice(-1*e.length+o);(n=c.exec(t))!==null;){if(i=n[1]||n[2]||n[3]||n[4]||n[5]||n[6],!i||(s=[...i].length,s!==o))continue;if(n[3]||n[4]){a+=s;continue}if(a-=s,a>0)continue;s=Math.min(s,s+a);let l=[...n[0]][0].length,u=e.slice(0,o+n.index+l+s),p=u.slice(o,-o);return{type:"del",raw:u,text:p,tokens:this.lexer.inlineTokens(p)}}}}autolink(e){let t=this.rules.inline.autolink.exec(e);if(t){let r,n;return t[2]==="@"?(r=t[1],n="mailto:"+r):(r=t[1],n=r),{type:"link",raw:t[0],text:r,href:n,tokens:[{type:"text",raw:r,text:r}]}}}url(e){let t;if(t=this.rules.inline.url.exec(e)){let r,n;if(t[2]==="@")r=t[0],n="mailto:"+r;else{let o;do o=t[0],t[0]=this.rules.inline._backpedal.exec(t[0])?.[0]??"";while(o!==t[0]);r=t[0],t[1]==="www."?n="http://"+t[0]:n=t[0]}return{type:"link",raw:t[0],text:r,href:n,tokens:[{type:"text",raw:r,text:r}]}}}inlineText(e){let t=this.rules.inline.text.exec(e);if(t){let r=this.lexer.state.inRawBlock;return{type:"text",raw:t[0],text:t[0],escaped:r}}}},V=class tn{tokens;options;state;inlineQueue;tokenizer;constructor(t){this.tokens=[],this.tokens.links=Object.create(null),this.options=t||he,this.options.tokenizer=this.options.tokenizer||new Gt,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let r={other:C,block:Ft.normal,inline:He.normal};this.options.pedantic?(r.block=Ft.pedantic,r.inline=He.pedantic):this.options.gfm&&(r.block=Ft.gfm,this.options.breaks?r.inline=He.breaks:r.inline=He.gfm),this.tokenizer.rules=r}static get rules(){return{block:Ft,inline:He}}static lex(t,r){return new tn(r).lex(t)}static lexInline(t,r){return new tn(r).inlineTokens(t)}lex(t){t=t.replace(C.carriageReturn,`
`),this.blockTokens(t,this.tokens);for(let r=0;r<this.inlineQueue.length;r++){let n=this.inlineQueue[r];this.inlineTokens(n.src,n.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(t,r=[],n=!1){this.tokenizer.lexer=this,this.options.pedantic&&(t=t.replace(C.tabCharGlobal,"    ").replace(C.spaceLine,""));let o=1/0;for(;t;){if(t.length<o)o=t.length;else{this.infiniteLoopError(t.charCodeAt(0));break}let i;if(this.options.extensions?.block?.some(a=>(i=a.call({lexer:this},t,r))?(t=t.substring(i.raw.length),r.push(i),!0):!1))continue;if(i=this.tokenizer.space(t)){t=t.substring(i.raw.length);let a=r.at(-1);i.raw.length===1&&a!==void 0?a.raw+=`
`:r.push(i);continue}if(i=this.tokenizer.code(t)){t=t.substring(i.raw.length);let a=r.at(-1);a?.type==="paragraph"||a?.type==="text"?(a.raw+=(a.raw.endsWith(`
`)?"":`
`)+i.raw,a.text+=`
`+i.text,this.inlineQueue.at(-1).src=a.text):r.push(i);continue}if(i=this.tokenizer.fences(t)){t=t.substring(i.raw.length),r.push(i);continue}if(i=this.tokenizer.heading(t)){t=t.substring(i.raw.length),r.push(i);continue}if(i=this.tokenizer.hr(t)){t=t.substring(i.raw.length),r.push(i);continue}if(i=this.tokenizer.blockquote(t)){t=t.substring(i.raw.length),r.push(i);continue}if(i=this.tokenizer.list(t)){t=t.substring(i.raw.length),r.push(i);continue}if(i=this.tokenizer.html(t)){t=t.substring(i.raw.length),r.push(i);continue}if(i=this.tokenizer.def(t)){t=t.substring(i.raw.length);let a=r.at(-1);a?.type==="paragraph"||a?.type==="text"?(a.raw+=(a.raw.endsWith(`
`)?"":`
`)+i.raw,a.text+=`
`+i.raw,this.inlineQueue.at(-1).src=a.text):this.tokens.links[i.tag]||(this.tokens.links[i.tag]={href:i.href,title:i.title},r.push(i));continue}if(i=this.tokenizer.table(t)){t=t.substring(i.raw.length),r.push(i);continue}if(i=this.tokenizer.lheading(t)){t=t.substring(i.raw.length),r.push(i);continue}let s=t;if(this.options.extensions?.startBlock){let a=1/0,c=t.slice(1),l;this.options.extensions.startBlock.forEach(u=>{l=u.call({lexer:this},c),typeof l=="number"&&l>=0&&(a=Math.min(a,l))}),a<1/0&&a>=0&&(s=t.substring(0,a+1))}if(this.state.top&&(i=this.tokenizer.paragraph(s))){let a=r.at(-1);n&&a?.type==="paragraph"?(a.raw+=(a.raw.endsWith(`
`)?"":`
`)+i.raw,a.text+=`
`+i.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=a.text):r.push(i),n=s.length!==t.length,t=t.substring(i.raw.length);continue}if(i=this.tokenizer.text(t)){t=t.substring(i.raw.length);let a=r.at(-1);a?.type==="text"?(a.raw+=(a.raw.endsWith(`
`)?"":`
`)+i.raw,a.text+=`
`+i.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=a.text):r.push(i);continue}if(t){this.infiniteLoopError(t.charCodeAt(0));break}}return this.state.top=!0,r}inline(t,r=[]){return this.inlineQueue.push({src:t,tokens:r}),r}inlineTokens(t,r=[]){this.tokenizer.lexer=this;let n=t,o=null;if(this.tokens.links){let l=Object.keys(this.tokens.links);if(l.length>0)for(;(o=this.tokenizer.rules.inline.reflinkSearch.exec(n))!==null;)l.includes(o[0].slice(o[0].lastIndexOf("[")+1,-1))&&(n=n.slice(0,o.index)+"["+"a".repeat(o[0].length-2)+"]"+n.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(o=this.tokenizer.rules.inline.anyPunctuation.exec(n))!==null;)n=n.slice(0,o.index)+"++"+n.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);let i;for(;(o=this.tokenizer.rules.inline.blockSkip.exec(n))!==null;)i=o[2]?o[2].length:0,n=n.slice(0,o.index+i)+"["+"a".repeat(o[0].length-i-2)+"]"+n.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);n=this.options.hooks?.emStrongMask?.call({lexer:this},n)??n;let s=!1,a="",c=1/0;for(;t;){if(t.length<c)c=t.length;else{this.infiniteLoopError(t.charCodeAt(0));break}s||(a=""),s=!1;let l;if(this.options.extensions?.inline?.some(p=>(l=p.call({lexer:this},t,r))?(t=t.substring(l.raw.length),r.push(l),!0):!1))continue;if(l=this.tokenizer.escape(t)){t=t.substring(l.raw.length),r.push(l);continue}if(l=this.tokenizer.tag(t)){t=t.substring(l.raw.length),r.push(l);continue}if(l=this.tokenizer.link(t)){t=t.substring(l.raw.length),r.push(l);continue}if(l=this.tokenizer.reflink(t,this.tokens.links)){t=t.substring(l.raw.length);let p=r.at(-1);l.type==="text"&&p?.type==="text"?(p.raw+=l.raw,p.text+=l.text):r.push(l);continue}if(l=this.tokenizer.emStrong(t,n,a)){t=t.substring(l.raw.length),r.push(l);continue}if(l=this.tokenizer.codespan(t)){t=t.substring(l.raw.length),r.push(l);continue}if(l=this.tokenizer.br(t)){t=t.substring(l.raw.length),r.push(l);continue}if(l=this.tokenizer.del(t,n,a)){t=t.substring(l.raw.length),r.push(l);continue}if(l=this.tokenizer.autolink(t)){t=t.substring(l.raw.length),r.push(l);continue}if(!this.state.inLink&&(l=this.tokenizer.url(t))){t=t.substring(l.raw.length),r.push(l);continue}let u=t;if(this.options.extensions?.startInline){let p=1/0,d=t.slice(1),g;this.options.extensions.startInline.forEach(f=>{g=f.call({lexer:this},d),typeof g=="number"&&g>=0&&(p=Math.min(p,g))}),p<1/0&&p>=0&&(u=t.substring(0,p+1))}if(l=this.tokenizer.inlineText(u)){t=t.substring(l.raw.length),l.raw.slice(-1)!=="_"&&(a=l.raw.slice(-1)),s=!0;let p=r.at(-1);p?.type==="text"?(p.raw+=l.raw,p.text+=l.text):r.push(l);continue}if(t){this.infiniteLoopError(t.charCodeAt(0));break}}return r}infiniteLoopError(t){let r="Infinite loop on byte: "+t;if(this.options.silent)console.error(r);else throw new Error(r)}},Kt=class{options;parser;constructor(e){this.options=e||he}space(e){return""}code({text:e,lang:t,escaped:r}){let n=(t||"").match(C.notSpaceStart)?.[0],o=e.replace(C.endingNewline,"")+`
`;return n?'<pre><code class="language-'+K(n)+'">'+(r?o:K(o,!0))+`</code></pre>
`:"<pre><code>"+(r?o:K(o,!0))+`</code></pre>
`}blockquote({tokens:e}){return`<blockquote>
${this.parser.parse(e)}</blockquote>
`}html({text:e}){return e}def(e){return""}heading({tokens:e,depth:t}){return`<h${t}>${this.parser.parseInline(e)}</h${t}>
`}hr(e){return`<hr>
`}list(e){let t=e.ordered,r=e.start,n="";for(let s=0;s<e.items.length;s++){let a=e.items[s];n+=this.listitem(a)}let o=t?"ol":"ul",i=t&&r!==1?' start="'+r+'"':"";return"<"+o+i+`>
`+n+"</"+o+`>
`}listitem(e){return`<li>${this.parser.parse(e.tokens)}</li>
`}checkbox({checked:e}){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"> '}paragraph({tokens:e}){return`<p>${this.parser.parseInline(e)}</p>
`}table(e){let t="",r="";for(let o=0;o<e.header.length;o++)r+=this.tablecell(e.header[o]);t+=this.tablerow({text:r});let n="";for(let o=0;o<e.rows.length;o++){let i=e.rows[o];r="";for(let s=0;s<i.length;s++)r+=this.tablecell(i[s]);n+=this.tablerow({text:r})}return n&&(n=`<tbody>${n}</tbody>`),`<table>
<thead>
`+t+`</thead>
`+n+`</table>
`}tablerow({text:e}){return`<tr>
${e}</tr>
`}tablecell(e){let t=this.parser.parseInline(e.tokens),r=e.header?"th":"td";return(e.align?`<${r} align="${e.align}">`:`<${r}>`)+t+`</${r}>
`}strong({tokens:e}){return`<strong>${this.parser.parseInline(e)}</strong>`}em({tokens:e}){return`<em>${this.parser.parseInline(e)}</em>`}codespan({text:e}){return`<code>${K(e,!0)}</code>`}br(e){return"<br>"}del({tokens:e}){return`<del>${this.parser.parseInline(e)}</del>`}link({href:e,title:t,tokens:r}){let n=this.parser.parseInline(r),o=Cs(e);if(o===null)return n;e=o;let i='<a href="'+e+'"';return t&&(i+=' title="'+K(t)+'"'),i+=">"+n+"</a>",i}image({href:e,title:t,text:r,tokens:n}){n&&(r=this.parser.parseInline(n,this.parser.textRenderer));let o=Cs(e);if(o===null)return K(r);e=o;let i=`<img src="${e}" alt="${K(r)}"`;return t&&(i+=` title="${K(t)}"`),i+=">",i}text(e){return"tokens"in e&&e.tokens?this.parser.parseInline(e.tokens):"escaped"in e&&e.escaped?e.text:K(e.text)}},fn=class{strong({text:e}){return e}em({text:e}){return e}codespan({text:e}){return e}del({text:e}){return e}html({text:e}){return e}text({text:e}){return e}link({text:e}){return""+e}image({text:e}){return""+e}br(){return""}checkbox({raw:e}){return e}},$=class rn{options;renderer;textRenderer;constructor(t){this.options=t||he,this.options.renderer=this.options.renderer||new Kt,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new fn}static parse(t,r){return new rn(r).parse(t)}static parseInline(t,r){return new rn(r).parseInline(t)}parse(t){this.renderer.parser=this;let r="";for(let n=0;n<t.length;n++){let o=t[n];if(this.options.extensions?.renderers?.[o.type]){let s=o,a=this.options.extensions.renderers[s.type].call({parser:this},s);if(a!==!1||!["space","hr","heading","code","table","blockquote","list","html","def","paragraph","text"].includes(s.type)){r+=a||"";continue}}let i=o;switch(i.type){case"space":{r+=this.renderer.space(i);break}case"hr":{r+=this.renderer.hr(i);break}case"heading":{r+=this.renderer.heading(i);break}case"code":{r+=this.renderer.code(i);break}case"table":{r+=this.renderer.table(i);break}case"blockquote":{r+=this.renderer.blockquote(i);break}case"list":{r+=this.renderer.list(i);break}case"checkbox":{r+=this.renderer.checkbox(i);break}case"html":{r+=this.renderer.html(i);break}case"def":{r+=this.renderer.def(i);break}case"paragraph":{r+=this.renderer.paragraph(i);break}case"text":{r+=this.renderer.text(i);break}default:{let s='Token with "'+i.type+'" type was not found.';if(this.options.silent)return console.error(s),"";throw new Error(s)}}}return r}parseInline(t,r=this.renderer){this.renderer.parser=this;let n="";for(let o=0;o<t.length;o++){let i=t[o];if(this.options.extensions?.renderers?.[i.type]){let a=this.options.extensions.renderers[i.type].call({parser:this},i);if(a!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(i.type)){n+=a||"";continue}}let s=i;switch(s.type){case"escape":{n+=r.text(s);break}case"html":{n+=r.html(s);break}case"link":{n+=r.link(s);break}case"image":{n+=r.image(s);break}case"checkbox":{n+=r.checkbox(s);break}case"strong":{n+=r.strong(s);break}case"em":{n+=r.em(s);break}case"codespan":{n+=r.codespan(s);break}case"br":{n+=r.br(s);break}case"del":{n+=r.del(s);break}case"text":{n+=r.text(s);break}default:{let a='Token with "'+s.type+'" type was not found.';if(this.options.silent)return console.error(a),"";throw new Error(a)}}}return n}},Ge=class{options;block;constructor(e){this.options=e||he}static passThroughHooks=new Set(["preprocess","postprocess","processAllTokens","emStrongMask"]);static passThroughHooksRespectAsync=new Set(["preprocess","postprocess","processAllTokens"]);preprocess(e){return e}postprocess(e){return e}processAllTokens(e){return e}emStrongMask(e){return e}provideLexer(e=this.block){return e?V.lex:V.lexInline}provideParser(e=this.block){return e?$.parse:$.parseInline}},dn=class{defaults=nn();options=this.setOptions;parse=this.parseMarkdown(!0);parseInline=this.parseMarkdown(!1);Parser=$;Renderer=Kt;TextRenderer=fn;Lexer=V;Tokenizer=Gt;Hooks=Ge;constructor(...e){this.use(...e)}walkTokens(e,t){let r=[];for(let n of e)switch(r=r.concat(t.call(this,n)),n.type){case"table":{let o=n;for(let i of o.header)r=r.concat(this.walkTokens(i.tokens,t));for(let i of o.rows)for(let s of i)r=r.concat(this.walkTokens(s.tokens,t));break}case"list":{let o=n;r=r.concat(this.walkTokens(o.items,t));break}default:{let o=n;this.defaults.extensions?.childTokens?.[o.type]?this.defaults.extensions.childTokens[o.type].forEach(i=>{let s=o[i].flat(1/0);r=r.concat(this.walkTokens(s,t))}):o.tokens&&(r=r.concat(this.walkTokens(o.tokens,t)))}}return r}use(...e){let t=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach(r=>{let n={...r};if(n.async=this.defaults.async||n.async||!1,r.extensions&&(r.extensions.forEach(o=>{if(!o.name)throw new Error("extension name required");if("renderer"in o){let i=t.renderers[o.name];i?t.renderers[o.name]=function(...s){let a=o.renderer.apply(this,s);return a===!1&&(a=i.apply(this,s)),a}:t.renderers[o.name]=o.renderer}if("tokenizer"in o){if(!o.level||o.level!=="block"&&o.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");let i=t[o.level];i?i.unshift(o.tokenizer):t[o.level]=[o.tokenizer],o.start&&(o.level==="block"?t.startBlock?t.startBlock.push(o.start):t.startBlock=[o.start]:o.level==="inline"&&(t.startInline?t.startInline.push(o.start):t.startInline=[o.start]))}"childTokens"in o&&o.childTokens&&(t.childTokens[o.name]=o.childTokens)}),n.extensions=t),r.renderer){let o=this.defaults.renderer||new Kt(this.defaults);for(let i in r.renderer){if(!(i in o))throw new Error(`renderer '${i}' does not exist`);if(["options","parser"].includes(i))continue;let s=i,a=r.renderer[s],c=o[s];o[s]=(...l)=>{let u=a.apply(o,l);return u===!1&&(u=c.apply(o,l)),u||""}}n.renderer=o}if(r.tokenizer){let o=this.defaults.tokenizer||new Gt(this.defaults);for(let i in r.tokenizer){if(!(i in o))throw new Error(`tokenizer '${i}' does not exist`);if(["options","rules","lexer"].includes(i))continue;let s=i,a=r.tokenizer[s],c=o[s];o[s]=(...l)=>{let u=a.apply(o,l);return u===!1&&(u=c.apply(o,l)),u}}n.tokenizer=o}if(r.hooks){let o=this.defaults.hooks||new Ge;for(let i in r.hooks){if(!(i in o))throw new Error(`hook '${i}' does not exist`);if(["options","block"].includes(i))continue;let s=i,a=r.hooks[s],c=o[s];Ge.passThroughHooks.has(i)?o[s]=l=>{if(this.defaults.async&&Ge.passThroughHooksRespectAsync.has(i))return(async()=>{let p=await a.call(o,l);return c.call(o,p)})();let u=a.call(o,l);return c.call(o,u)}:o[s]=(...l)=>{if(this.defaults.async)return(async()=>{let p=await a.apply(o,l);return p===!1&&(p=await c.apply(o,l)),p})();let u=a.apply(o,l);return u===!1&&(u=c.apply(o,l)),u}}n.hooks=o}if(r.walkTokens){let o=this.defaults.walkTokens,i=r.walkTokens;n.walkTokens=function(s){let a=[];return a.push(i.call(this,s)),o&&(a=a.concat(o.call(this,s))),a}}this.defaults={...this.defaults,...n}}),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,t){return V.lex(e,t??this.defaults)}parser(e,t){return $.parse(e,t??this.defaults)}parseMarkdown(e){return(t,r)=>{let n={...r},o={...this.defaults,...n},i=this.onError(!!o.silent,!!o.async);if(this.defaults.async===!0&&n.async===!1)return i(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof t>"u"||t===null)return i(new Error("marked(): input parameter is undefined or null"));if(typeof t!="string")return i(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(t)+", string expected"));if(o.hooks&&(o.hooks.options=o,o.hooks.block=e),o.async)return(async()=>{let s=o.hooks?await o.hooks.preprocess(t):t,a=await(o.hooks?await o.hooks.provideLexer(e):e?V.lex:V.lexInline)(s,o),c=o.hooks?await o.hooks.processAllTokens(a):a;o.walkTokens&&await Promise.all(this.walkTokens(c,o.walkTokens));let l=await(o.hooks?await o.hooks.provideParser(e):e?$.parse:$.parseInline)(c,o);return o.hooks?await o.hooks.postprocess(l):l})().catch(i);try{o.hooks&&(t=o.hooks.preprocess(t));let s=(o.hooks?o.hooks.provideLexer(e):e?V.lex:V.lexInline)(t,o);o.hooks&&(s=o.hooks.processAllTokens(s)),o.walkTokens&&this.walkTokens(s,o.walkTokens);let a=(o.hooks?o.hooks.provideParser(e):e?$.parse:$.parseInline)(s,o);return o.hooks&&(a=o.hooks.postprocess(a)),a}catch(s){return i(s)}}}onError(e,t){return r=>{if(r.message+=`
Please report this to https://github.com/markedjs/marked.`,e){let n="<p>An error occurred:</p><pre>"+K(r.message+"",!0)+"</pre>";return t?Promise.resolve(n):n}if(t)return Promise.reject(r);throw r}}},de=new dn;function w(e,t){return de.parse(e,t)}w.options=w.setOptions=function(e){return de.setOptions(e),w.defaults=de.defaults,Ls(w.defaults),w};w.getDefaults=nn;w.defaults=he;w.use=function(...e){return de.use(...e),w.defaults=de.defaults,Ls(w.defaults),w};w.walkTokens=function(e,t){return de.walkTokens(e,t)};w.parseInline=de.parseInline;w.Parser=$;w.parser=$.parse;w.Renderer=Kt;w.TextRenderer=fn;w.Lexer=V;w.lexer=V.lex;w.Tokenizer=Gt;w.Hooks=Ge;w.parse=w;var th=w.options,rh=w.setOptions,nh=w.use,oh=w.walkTokens,ih=w.parseInline;var sh=$.parse,ah=V.lex;function js(e){return e.replace(/&(?!#?\w+;)/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}var Pu=new dn({gfm:!0,breaks:!0,renderer:{code({text:e,lang:t}){let r=(t||"").match(/^\S*/)?.[0];return`<pre><code${r?` class="${r} language-${r}"`:""}>${js(e)}</code></pre>`},text(e){return"tokens"in e&&e.tokens||"escaped"in e&&e.escaped?!1:js(e.text)}}});function Iu(e){return e.replace(/((?:^|\n)```)([^\n`]+)(```(?:$|\n))/,(t,r,n,o)=>`${r}
${n}
${o}`)}function zu(e){return e.replace(/(^|\n)•( +)/g,"$1*$2")}function Mu(e){return e.includes(`
`)?e:e.replace(/^(\d+)\.(\s)/,"$1\\.$2")}var Vu=[Mu,zu,Iu];function Us(e){return Pu.parse(Vu.reduce((t,r)=>r(t),e),{async:!1})}function Fs(e){if(e.nodeName==="IFRAME"){let t=e,r=t.ownerDocument.createTextNode(t.src);t.parentNode.replaceChild(r,t)}}var Hs=h(_(),1);function hn(e){let t=e;!t.id||t.id.indexOf("docs-internal-guid-")!==0||(t.tagName==="B"?(0,Hs.unwrap)(e):t.removeAttribute("id"))}function $u(e){return e===" "||e==="\r"||e===`
`||e==="	"}function mn(e){if(e.nodeType!==e.TEXT_NODE)return;let t=e;for(;t=t.parentNode;)if(t.nodeType===t.ELEMENT_NODE&&t.nodeName==="PRE")return;let r=e,n=r.data.replace(/[ \r\n\t]+/g," ");if(n[0]===" "){let o=xe(e,"previous");(!o||o.nodeName==="BR"||o.textContent.slice(-1)===" ")&&(n=n.slice(1))}if(n[n.length-1]===" "){let o=xe(e,"next");(!o||o.nodeName==="BR"||o.nodeType===o.TEXT_NODE&&$u(o.textContent[0]))&&(n=n.slice(0,-1))}n?r.data=n:e.parentNode.removeChild(e)}var Ks=h(_(),1);function Gs(e,t,r){let n=r?e.firstChild:e.lastChild;if(!n||n.nodeType!==e.TEXT_NODE)return;let o=n,i=r?0:o.data.length-1;o.data[i]===" "&&(o.data=r?o.data.slice(1):o.data.slice(0,-1),o.data||e.removeChild(o),e.parentNode.insertBefore(t.createTextNode(" "),r?e:e.nextSibling))}function gn(e,t){e.nodeType!==e.ELEMENT_NODE||!(0,Ks.isPhrasingContent)(e)||(Gs(e,t,!0),Gs(e,t,!1))}function bn(e){e.nodeName==="BR"&&(xe(e,"next")||e.parentNode.removeChild(e))}function Ws(e){e.nodeName==="P"&&(e.hasChildNodes()||e.parentNode.removeChild(e))}function Ys(e){if(e.nodeName!=="SPAN"||e.getAttribute("data-stringify-type")!=="paragraph-break")return;let t=e.parentNode;t.insertBefore(e.ownerDocument.createElement("br"),e),t.insertBefore(e.ownerDocument.createElement("br"),e),t.removeChild(e)}function Zs(e){let t=/[\p{L}\s]+/gu,r;for(;r=t.exec(e);){if(e[r.index-1]==="{")continue;let o=r[0];if(e[r.index-1]==="\\"&&(o=o.replace(/^[a-zA-Z]+/,"")),!(o.length<6))return!1}return!!(/\\[a-zA-Z]+\s*\{/g.test(e)||[o=>o.includes("^")&&!o.startsWith("^"),o=>["=","+","-","/","*"].some(i=>o.includes(i)),o=>/\\[a-zA-Z]+/g.test(o)].filter(o=>o(e)).length>=2)}function Xs(e){if(e.nodeType!==e.ELEMENT_NODE)return;let t=e;if(t.tagName==="P"&&t.getAttribute("role")==="heading"&&t.hasAttribute("aria-level")){let r=parseInt(t.getAttribute("aria-level"),10);if(r>=1&&r<=6){let n=`H${r}`,o=t.ownerDocument.createElement(n);for(Array.from(t.attributes).forEach(i=>{i.name!=="role"&&i.name!=="aria-level"&&o.setAttribute(i.name,i.value)});t.firstChild;)o.appendChild(t.firstChild);t.parentNode.replaceChild(o,t)}}}var Zt=(...e)=>window?.console?.log?.(...e);function Qs(e){return e=G(e,[Qr,hn,Ut,Xr,Zr]),e=(0,me.removeInvalidHTML)(e,(0,me.getPhrasingContentSchema)("paste"),!0),e=G(e,[mn,gn,bn]),Zt(`Processed inline HTML:

`,e),e}function Xt({HTML:e="",plainText:t="",mode:r="AUTO",tagName:n}){if(Zt(`Received HTML (pasteHandler):

`,e),Zt(`Received plain text (pasteHandler):

`,t),e=e.replace(/<meta[^>]+>/g,""),e=e.replace(/^\s*<html[^>]*>\s*<body[^>]*>(?:\s*<!--\s*StartFragment\s*-->)?/i,""),e=e.replace(/(?:<!--\s*EndFragment\s*-->\s*)?<\/body>\s*<\/html>\s*$/i,""),r!=="INLINE"){let u=e||t;if(u.indexOf("<!-- wp:")!==-1){let p=ve(u);if(!(p.length===1&&p[0].name==="core/freeform"))return p}}e=e.normalize(),e=G(e,[Ys]);let o=t&&(!e||ds(e));if(o&&Zs(t))return[S("core/math",{latex:t})];o&&(e=t,/^\s+$/.test(t)||(e=Us(e)));let i=$t(e),s=i.length>1;if(o&&!s&&r==="AUTO"&&t.indexOf(`
`)===-1&&t.indexOf("<p>")!==0&&e.indexOf("<p>")===0&&(r="INLINE"),r==="INLINE"||r==="AUTO"&&!s&&ks(e,n))return Qs(e);let a=(0,me.getPhrasingContentSchema)("paste"),c=jt("paste"),l=i.map(u=>{if(typeof u!="string")return u;let p=[hn,ys,Qr,zt,Ts,Xr,It,Zr,Fs,Vt,Mt(),Es,Xs],d={...c,...a};return u=G(u,p,c),u=(0,me.removeInvalidHTML)(u,d,!1),u=oe(u),u=G(u,[mn,gn,bn,Ws],c),Zt(`Processed HTML piece:

`,u),Pt(u,Xt)}).flat().filter(Boolean);if(r==="AUTO"&&l.length===1&&j(l[0].name,"__unstablePasteTextInline",!1)){let u=/^[\n]+|[\n]+$/g,p=t.replace(u,"");if(p!==""&&p.indexOf(`
`)===-1)return(0,me.removeInvalidHTML)(Pe(l[0]),a,!1).replace(u,"")}return l}function ta(e){return(0,Js.default)("wp.blocks.getPhrasingContentSchema",{since:"5.6",alternative:"wp.dom.getPhrasingContentSchema"}),(0,ea.getPhrasingContentSchema)(e)}function kn({HTML:e=""}){if(e.indexOf("<!-- wp:")!==-1){let n=ve(e);if(!(n.length===1&&n[0].name==="core/freeform"))return n}let t=$t(e),r=jt();return t.map(n=>{if(typeof n!="string")return n;let o=[zt,It,Vt,Mt({raw:!0})];return n=G(n,o,r),n=oe(n,{raw:!0}),Pt(n,kn)}).flat().filter(Boolean)}var We=h(se(),1);function ra(){return(0,We.select)(m).getCategories()}function na(e){(0,We.dispatch)(m).setCategories(e)}function oa(e,t){(0,We.dispatch)(m).updateCategory(e,t)}var ia=h(Se(),1);function yn(e=[],t=[]){return e.length===t.length&&t.every(([r,,n],o)=>{let i=e[o];return r===i.name&&yn(i.innerBlocks,n)})}var ju=e=>e?.source==="html",Uu=e=>e?.source==="query";function sa(e,t){return t?Object.fromEntries(Object.entries(t).map(([r,n])=>[r,Fu(e[r],n)])):{}}function Fu(e,t){return ju(e)&&Array.isArray(t)?(0,ia.renderToString)(t):Uu(e)&&t?t.map(r=>sa(e.query,r)):t}function Qt(e=[],t){return t?t.map(([r,n,o],i)=>{let s=e[i];if(s&&s.name===r){let p=Qt(s.innerBlocks,o);return{...s,innerBlocks:p}}let a=x(r),c=sa(a?.attributes??{},n),[l,u]=Ct(r,c);return S(l,u,Qt([],o))}):e}var Hu=Symbol("fields"),Gu=Symbol("form"),aa={};Qn(aa,{isContentBlock:Co,fieldsKey:Hu,formKey:Gu,parseRawBlock:Dt});var la=h(L(),1);function Ku(e){return(0,la.default)("wp.blocks.withBlockContentContext",{since:"6.1"}),e}return ga(Wu);})();
/*! Bundled license information:

react-is/cjs/react-is.production.min.js:
  (**
   * @license React
   * react-is.production.min.js
   *
   * Copyright (c) Facebook, Inc. and its affiliates.
   *
   * This source code is licensed under the MIT license found in the
   * LICENSE file in the root directory of this source tree.
   *)

is-plain-object/dist/is-plain-object.mjs:
  (*!
   * is-plain-object <https://github.com/jonschlinkert/is-plain-object>
   *
   * Copyright (c) 2014-2017, Jon Schlinkert.
   * Released under the MIT License.
   *)
*/