sirius-press/wordpress/wp-includes/js/dist/edit-site.min.js

81 lines
884 KiB
JavaScript
Raw Normal View History

/*! This file is auto-generated */
(function() {
"use strict";var wp;(wp||={}).editSite=(()=>{var vK=Object.create;var sv=Object.defineProperty;var yK=Object.getOwnPropertyDescriptor;var bK=Object.getOwnPropertyNames;var wK=Object.getPrototypeOf,xK=Object.prototype.hasOwnProperty;var bn=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var Ze=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),xo=(e,t)=>{for(var r in t)sv(e,r,{get:t[r],enumerable:!0})},KO=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of bK(t))!xK.call(e,n)&&n!==r&&sv(e,n,{get:()=>t[n],enumerable:!(o=yK(t,n))||o.enumerable});return e};var l=(e,t,r)=>(r=e!=null?vK(wK(e)):{},KO(t||!e||!e.__esModule?sv(r,"default",{value:e,enumerable:!0}):r,e)),SK=e=>KO(sv({},"__esModule",{value:!0}),e);var So=Ze((Tve,ZO)=>{ZO.exports=window.wp.blocks});var ep=Ze((Eve,XO)=>{XO.exports=window.wp.blockLibrary});var me=Ze((Pve,QO)=>{QO.exports=window.wp.data});var $c=Ze((Rve,JO)=>{JO.exports=window.wp.deprecated});var G=Ze((Ave,$O)=>{$O.exports=window.wp.element});var ft=Ze((Ove,ek)=>{ek.exports=window.wp.editor});var Go=Ze((kve,tk)=>{tk.exports=window.wp.preferences});var ok=Ze((Ive,rk)=>{rk.exports=window.wp.widgets});var xe=Ze((Nve,sk)=>{sk.exports=window.wp.coreData});var Bt=Ze((Vve,ak)=>{ak.exports=window.wp.blockEditor});var W=Ze((Mve,lk)=>{lk.exports=window.wp.i18n});var av=Ze((Lve,ck)=>{ck.exports=window.wp.patterns});var yl=Ze((Dve,uk)=>{uk.exports=window.wp.privateApis});var ot=Ze((eye,Pk)=>{Pk.exports=window.wp.router});var he=Ze((rye,Ak)=>{Ak.exports=window.React});var A=Ze((uye,Nk)=>{Nk.exports=window.ReactJSXRuntime});var ws=Ze((Ibe,sI)=>{sI.exports=window.ReactDOM});var v5=Ze(g5=>{"use strict";var Jf=he();function AQ(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var OQ=typeof Object.is=="function"?Object.is:AQ,kQ=Jf.useState,IQ=Jf.useEffect,FQ=Jf.useLayoutEffect,NQ=Jf.useDebugValue;function VQ(e,t){var r=t(),o=kQ({inst:{value:r,getSnapshot:t}}),n=o[0].inst,i=o[1];return FQ(function(){n.value=r,n.getSnapshot=t,R_(n)&&i({inst:n})},[e,r,t]),IQ(function(){return R_(n)&&i({inst:n}),e(function(){R_(n)&&i({inst:n})})},[e]),NQ(r),r}function R_(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!OQ(e,r)}catch{return!0}}function MQ(e,t){return t()}var LQ=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?MQ:VQ;g5.useSyncExternalStore=Jf.useSyncExternalStore!==void 0?Jf.useSyncExternalStore:LQ});var jv=Ze((Fwe,y5)=>{"use strict";y5.exports=v5()});var w5=Ze(b5=>{"use strict";var zv=he(),DQ=jv();function BQ(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var jQ=typeof Object.is=="function"?Object.is:BQ,zQ=DQ.useSyncExternalStore,HQ=zv.useRef,GQ=zv.useEffect,UQ=zv.useMemo,WQ=zv.useDebugValue;b5.useSyncExternalStoreWithSelector=function(e,t,r,o,n){var i=HQ(null);if(i.current===null){var s={hasValue:!1,value:null};i.current=s}else s=i.current;i=UQ(function(){function u(h){if(!c){if(c=!0,f=h,h=o(h),n!==void 0&&s.hasValue){var g=s.value;if(n(g,h))return d=g}return d=h}if(g=d,jQ(f,h))return g;var v=o(h);return n!==void 0&&n(g,v)?(f=h,g):(f=h,d=v)}var c=!1,f,d,m=r===void 0?null:r;return[function(){return u(t())},m===null?void 0:function(){return u(m())}]},[t,r,o,n]);var a=zQ(e,i[0],i[1]);return GQ(function(){s.hasValue=!0,s.value=a},[a]),WQ(a),a}});var S5=Ze((Vwe,x5)=>{"use strict";x5.exports=w5()});var Tp=Ze((PTe,Q6)=>{Q6.exports=window.wp.a11y});var Se=Ze((RTe,J6)=>{J6.exports=window.wp.primitives});var pt=Ze((XPe,k3)=>{k3.exports=window.wp.compose});var fE=Ze((JPe,F3)=>{F3.exports=window.wp.theme});var q=Ze((rAe,p4)=>{p4.exports=window.wp.components});var Fl=Ze((vAe,_4)=>{_4.exports=window.wp.dom});var T4=Ze((yAe,C4)=>{C4.exports=window.wp.plugins});var hi=Ze((bAe,E4)=>{E4.exports=window.wp.notices});var Kt=Ze((PAe,F4)=>{F4.exports=window.wp.url});var U4=Ze((IAe,G4)=>{G4.exports=window.wp.keyboardShortcuts});var Eu=Ze((aOe,ZF)=>{ZF.exports=window.wp.keycodes});va
<svg
xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox="0 0 0 0"
width="0"
height="0"
focusable="false"
role="none"
aria-hidden="true"
style="visibility: hidden; position: absolute; left: -9999px; overflow: hidden;"
>
<defs>
<filter id="${e}">
<!--
Use sRGB instead of linearRGB so transparency looks correct.
Use perceptual brightness to convert to grayscale.
-->
<feColorMatrix color-interpolation-filters="sRGB" type="matrix" values=" .299 .587 .114 0 0 .299 .587 .114 0 0 .299 .587 .114 0 0 .299 .587 .114 0 0 "></feColorMatrix>
<!-- Use sRGB instead of linearRGB to be consistent with how CSS gradients work. -->
<feComponentTransfer color-interpolation-filters="sRGB">
<feFuncR type="table" tableValues="${r.r.join(" ")}"></feFuncR>
<feFuncG type="table" tableValues="${r.g.join(" ")}"></feFuncG>
<feFuncB type="table" tableValues="${r.b.join(" ")}"></feFuncB>
<feFuncA type="table" tableValues="${r.a.join(" ")}"></feFuncA>
</feComponentTransfer>
<!-- Re-mask the image with the original transparency since the feColorMatrix above loses that information. -->
<feComposite in2="SourceGraphic" operator="in"></feComposite>
</filter>
</defs>
</svg>`}function Ql(e){return e.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/([0-9])([a-zA-Z])/g,"$1-$2").replace(/([a-zA-Z])([0-9])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase()}function G2(e){if(!e)return;let t=e.match(/var:preset\|spacing\|(.+)/);return t?`var(--wp--preset--spacing--${t[1]})`:e}function tre(e){if(!e)return null;let t=typeof e=="string";return{top:t?e:e?.top,left:t?e:e?.left}}function U2(e,t="0"){let r=tre(e);if(!r)return null;let o=G2(r?.top)||t,n=G2(r?.left)||t;return o===n?o:`${o} ${n}`}var kV={backgroundSize:"cover",backgroundPosition:"50% 50%"};function IV(e){if(!e||!e?.backgroundImage?.url)return;let t;return e?.backgroundSize||(t={backgroundSize:kV.backgroundSize}),e?.backgroundSize==="contain"&&!e?.backgroundPosition&&(t={backgroundPosition:kV.backgroundPosition}),t}var FV={default:{name:"default",slug:"flow",className:"is-layout-flow",baseStyles:[{selector:" > .alignleft",rules:{float:"left","margin-inline-start":"0","margin-inline-end":"2em"}},{selector:" > .alignright",rules:{float:"right","margin-inline-start":"2em","margin-inline-end":"0"}},{selector:" > .aligncenter",rules:{"margin-left":"auto !important","margin-right":"auto !important"}}],spacingStyles:[{selector:" > :first-child",rules:{"margin-block-start":"0"}},{selector:" > :last-child",rules:{"margin-block-end":"0"}},{selector:" > *",rules:{"margin-block-start":null,"margin-block-end":"0"}}]},constrained:{name:"constrained",slug:"constrained",className:"is-layout-constrained",baseStyles:[{selector:" > .alignleft",rules:{float:"left","margin-inline-start":"0","margin-inline-end":"2em"}},{selector:" > .alignright",rules:{float:"right","margin-inline-start":"2em","margin-inline-end":"0"}},{selector:" > .aligncenter",rules:{"margin-left":"auto !important","margin-right":"auto !important"}},{selector:" > :where(:not(.alignleft):not(.alignright):not(.alignfull))",rules:{"max-width":"var(--wp--style--global--content-size)","margin-left":"auto !important","margin-right":"auto !important"}},{selector:" > .alignwide",rules:{"max-width":"var(--wp--style--global--wide-size)"}}],spacingStyles:[{selector:" > :first-child",rules:{"margin-block-start":"0"}},{selector:" > :last-child",rules:{"margin-block-end":"0"}},{selector:" > *",rules:{"margin-block-start":null,"margin-block-end":"0"}}]},flex:{name:"flex",slug:"flex",className:"is-layout-flex",displayMode:"flex",baseStyles:[{selector:"",rules:{"flex-wrap":"wrap","align-items":"center"}},{selector:" > :is(*, div)",rules:{margin:"0"}}],spacingStyles:[{selector:"",rules:{gap:null}}]},grid:{name:"grid",slug:"grid",className:"is-layout-grid",displayMode:"grid",baseStyles:[{selector:" > :is(*, div)",rules:{margin:"0"}}],spacingStyles:[{selector:"",rules:{gap:null}}]}};var NV={mobile:"480px",tablet:"782px"},VV=/^(\d+|\d*\.\d+)(px|em|rem)$/,rre=16;function ore(e){return"mobile"in e||"tablet"in e}function nre(e){return!e||typeof e!="object"?{}:ore(e)?e:e.settings?.viewport??{}}function ire(e){return typeof e=="string"&&VV.test(e.trim())}function W2(e){if(typeof e=="number")return e;if(typeof e!="string")return;let t=e.trim().match(VV);if(!t)return;let r=Number.parseFloat(t[1]);return t[2]==="px"?r:r*rre}function q2(e){let t=nre(e),r={},o={};Object.keys(NV).forEach(a=>{let u=a,c=t[u],f=W2(c);f!==void 0&&ire(c)&&(r[u]=c.trim(),o[u]=f)});let n=Object.keys(r);if(!n.length)return{...NV};if(n.length===1)return r;let i=r.mobile,s=r.tablet;return o.mobile>=o.tablet?{mobile:i}:{mobile:i,tablet:s}}function Ih(e){let t=q2(e),r={};return t.mobile&&(r["@mobile"]=`@media (width <= ${t.mobile})`),t.tablet&&(r["@tablet"]=t.mobile?`@media (${t.mobile} < width <= ${t.tablet})`:`@media (width <= ${t.tablet})`),r}var sre={button:"wp-element-button",caption:"wp-element-caption"},are={__experimentalBorder:"border",color:"color",dimensions:"dimensions",spacing:"spacing",typography:"typography"},DV={"core/button":[":hover",":focus",":focus-visible",":active"],"core/navigation-link":[":hover",":focus",":focus-visible",":active"]},lre={link:[":link",":any-link",":visited",":hover",":focus",":focus-visible",":active"],button:["
.has-global-padding { padding-right: var(--wp--style--root--padding-right); padding-left: var(--wp--style--root--padding-left); }
.has-global-padding > .alignfull { margin-right: calc(var(--wp--style--root--padding-right) * -1); margin-left: calc(var(--wp--style--root--padding-left) * -1); }
.has-global-padding :where(:not(.alignfull.is-layout-flow) > .has-global-padding:not(.wp-block-block, .alignfull)) { padding-right: 0; padding-left: 0; }
.has-global-padding :where(:not(.alignfull.is-layout-flow) > .has-global-padding:not(.wp-block-block, .alignfull)) > .alignfull { margin-left: 0; margin-right: 0;
`),v+="}"),a.blockStyles){let y=Ih(e);c.forEach(x=>{if(x.isStyleVariation&&!a.variationStyles)return;let b=vre(x,y);[x,...b,...MV(x),...b.flatMap(MV)].forEach(w=>{v+=Sre(w,{tree:u,useRootPaddingAlign:d,disableLayoutStyles:n,hasBlockGapSupport:r,hasFallbackGapSupport:o,disableRootPadding:i})})})}if(a.layoutStyles&&(v=v+".wp-site-blocks > .alignleft { float: left; margin-right: 2em; }",v=v+".wp-site-blocks > .alignright { float: right; margin-left: 2em; }",v=v+".wp-site-blocks > .aligncenter { justify-content: center; margin-left: auto; margin-right: auto; }"),a.blockGap&&r){let y=U2(u?.styles?.spacing?.blockGap)||"0.5em";v=v+`:root :where(.wp-site-blocks) > * { margin-block-start: ${y}; margin-block-end: 0; }`,v=v+":root :where(.wp-site-blocks) > :first-child { margin-block-start: 0; }",v=v+":root :where(.wp-site-blocks) > :last-child { margin-block-end: 0; }"}return a.presets&&f.forEach(({selector:y,presets:x})=>{(Is===y||Ph===y)&&(y="");let b=cre(y,x);b.length>0&&(v+=b)}),v};function Cre(e,t){return K2(e,t).flatMap(({presets:o})=>ure(o))}var Tre=(e,t)=>{if(e?.selectors&&Object.keys(e.selectors).length>0)return e.selectors;let r={root:t};return Object.entries(are).forEach(([o,n])=>{let i=Fd(e,o);i&&(r[n]=i)}),r},Ere=(e,t)=>{let{getBlockStyles:r}=(0,LV.select)(Ro.store),o={};return e.forEach(n=>{let i=n.name,s=Fd(n);if(!s)return;let a=Fd(n,"filter.duotone");if(!a){let h=Fd(n),g=(0,Ro.getBlockSupport)(n,"color.__experimentalDuotone",!1);typeof g=="string"&&h&&(a=is(h,g))}let u=!!n?.supports?.layout||!!n?.supports?.__experimentalLayout,c=n?.supports?.spacing?.blockGap?.__experimentalDefault,f=r(i),d={};f?.forEach(h=>{let g=t?`-${t}`:"",v=`${h.name}${g}`,y=V2(v,s);d[v]=y});let m=Tre(n,s);o[i]={duotoneSelector:a??void 0,fallbackGapValue:c,featureSelectors:Object.keys(m).length?m:void 0,hasLayoutSupport:u,name:i,selector:s,styleVariationSelectors:f?.length?d:void 0}}),o};function Pre(e){let t=e.styles?.blocks,r=t?.["core/separator"];return r&&r.color?.background&&!r.color?.text&&!r.border?.color?{...e,styles:{...e.styles,blocks:{...t,"core/separator":{...r,color:{...r.color,text:r.color?.background}}}}}:e}function jV(e,t){let r="";return!e||e.trim()===""||e.split("&").forEach(n=>{if(!n||n.trim()==="")return;if(!n.includes("{"))r+=`:root :where(${t}){${n.trim()}}`;else{let s=n.replace("}","").split("{");if(s.length!==2)return;let[a,u]=s,c=a.match(/([>+~\s]*::[a-zA-Z-]+)/),f=c?c[1]:"",d=c?a.replace(f,"").trim():a.trim(),m;d===""?m=t:m=a.startsWith(" ")?is(t,d):x0(t,d),r+=`:root :where(${m})${f}{${u.trim()}}`}}),r}function Nh(e={},t=[],r={}){let{hasBlockGapSupport:o,hasFallbackGapSupport:n,disableLayoutStyles:i=!1,disableRootPadding:s=!1,styleOptions:a={}}=r,u=t.length>0?t:(0,Ro.getBlockTypes)(),c=Ch(e,"spacing.blockGap"),f=o??c!==null,d=n??!f;if(!e?.styles||!e?.settings)return[[],{}];let m=Pre(e),h=Ere(u),g=xre(m,h),v=_re(m,h,f,d,i,s,a),y=Cre(m,h),x=[{css:g,isGlobalStyles:!0},{css:v,isGlobalStyles:!0},{css:m?.styles?.css??"",isGlobalStyles:!0},{assets:y,__unstableType:"svgs",isGlobalStyles:!0}];return u.forEach(b=>{let w=m?.styles?.blocks?.[b.name];if(w?.css){let{featureSelectors:S}=h[b.name],E=typeof S=="object"?S?.css:void 0,_;typeof E=="string"?_=E:typeof E=="object"&&(_=E?.root);let O=_??h[b.name].selector;x.push({css:jV(w.css,O),isGlobalStyles:!0})}}),[x,m.settings]}function A0(e,t,r,{resolveRefs:o=!0}={}){if(!e?.styles?.blocks?.[t]?.variations?.[r])return;let n=s=>{Object.keys(s).forEach(a=>{let u=s[a];if(typeof u=="object"&&u!==null)if(u.ref!==void 0)if(typeof u.ref!="string"||u.ref.trim()==="")delete s[a];else{let c=vt(e,u.ref);c!=null?s[a]=c:delete s[a]}else n(u),Object.keys(u).length===0&&delete s[a]})},i=JSON.parse(JSON.stringify(e.styles.blocks[t].variations[r]));return o&&n(i),i}var Q2="default";function UV(e){let t=e?.viewport,r=e?.pseudoState;return(!t||t===Q2)&&(!r||r===Q2)}function Rre(e){return UV(e)?[]:[e.viewport,e.pseudoState].filter(t=>!!t&&t!==Q2)}function Are(e,t){let r=Rre(t);return r.length?vt(e,r):e}var Ore=new Set(["blocks","variations","css"]),Z2=Object.freeze({value:{},sources:{}}),kre={root:{l
`,ne.start??ne.text.length,ne.end??ne.text.length))});return ae.addEventListener("keydown",fe),()=>ae.removeEventListener("keydown",fe)},[x,c]),Y=(0,Ic.useRefEffect)(ae=>{if(!_)return;let fe=wae(P)(ae),ye=xae(P)(ae);function de(ke){if(ke.inputType!=="insertText"&&ke.type!=="compositionend")return;let{formatTypes:ne,getValue:Te,onChange:oe}=L.current,X=Te(),ce=ne.reduce((J,{__unstableInputRule:le})=>le?le(J):J,X);ce!==X&&oe({...ce,activeFormats:X.activeFormats})}return ae.addEventListener("input",de),ae.addEventListener("compositionend",de),()=>{fe(),ye(),ae.removeEventListener("input",de),ae.removeEventListener("compositionend",de)}},[_]),{ref:Q,...ue}=(0,hm.__unstableUseAutocompleteProps)({completers:w,record:F,onChange:B,onReplace:()=>{}}),re=(0,Ic.useRefEffect)(ae=>{b&&!c&&ae.focus()},[b,c]),se=(0,Ic.useMergeRefs)([V,T,Y,z,re,Q]);return(0,kc.jsx)("div",{...I,onFocus:ae=>{O(!0),I.onFocus(ae)},children:(0,kc.jsxs)(hm.SlotFillProvider,{children:[(0,kc.jsx)(hae,{label:e,id:n,className:Z("dataviews-controls__richtext",s),placeholder:o,hideLabelFromVision:a,help:u,disabled:c,required:f,markWhenOptional:d,customValidity:m,value:F.text,"aria-multiline":!x,...ue,ref:se}),_&&!c&&(0,kc.jsx)(yae.Provider,{value:D,children:(0,kc.jsx)(bae.Provider,{value:R,children:(0,kc.jsx)(N7,{value:F,onChange:B,onFocus:N,formatTypes:M,forwardedRef:T,isVisible:!0})})})]})})}var L7=l(A(),1);function D7({data:e,field:t,onChange:r,hideLabelFromVision:o,markWhenOptional:n,config:i,validity:s}){let{className:a,clientId:u,allowedFormats:c,disableFormats:f,withoutInteractiveFormatting:d,preserveWhiteSpace:m,disableLineBreaks:h}=i||{},g=t.isDisabled({item:e,field:t}),{label:v,placeholder:y,description:x,id:b,setValue:w,isValid:S}=t,E=t.getValue({item:e})??"",_=(0,M7.useCallback)(O=>r(w({item:e,value:O})),[e,r,w]);return(0,L7.jsx)(V7,{label:v,value:E,onChange:_,placeholder:y,id:b,hideLabelFromVision:o,help:x,disabled:g,required:!!S.required,markWhenOptional:n,customValidity:Lt(S,s),className:a,clientId:u,allowedFormats:c,disableFormats:f,withoutInteractiveFormatting:d,preserveWhiteSpace:m,disableLineBreaks:h})}var gm=l(q(),1),B7=l(G(),1);var Tx=l(A(),1),{ValidatedToggleGroupControl:_ae}=Je(gm.privateApis);function j7({data:e,field:t,onChange:r,hideLabelFromVision:o,markWhenOptional:n,validity:i}){let{getValue:s,setValue:a,isValid:u}=t,c=t.isDisabled({item:e,field:t}),f=s({item:e}),d=(0,B7.useCallback)(v=>r(a({item:e,value:v})),[e,r,a]),{elements:m,isLoading:h}=no({elements:t.elements,getElements:t.getElements});if(h)return(0,Tx.jsx)(gm.Spinner,{});if(m.length===0)return null;let g=m.find(v=>v.value===f);return(0,Tx.jsx)(_ae,{required:!!t.isValid?.required,markWhenOptional:n,customValidity:Lt(u,i),isBlock:!0,label:t.label,help:g?.description||t.description,onChange:d,value:f,hideLabelFromVision:o,children:m.map(v=>(0,Tx.jsx)(gm.__experimentalToggleGroupControlOption,{label:v.label,value:v.value,disabled:c},v.value))})}var Ex=l(q(),1),Px=l(G(),1);var gg=l(A(),1),{ValidatedFormTokenField:Cae}=Je(Ex.privateApis);function z7({data:e,field:t,onChange:r,hideLabelFromVision:o,markWhenOptional:n,validity:i}){let{label:s,placeholder:a,description:u,getValue:c,setValue:f,isValid:d}=t,m=c({item:e}),h=t.isDisabled({item:e,field:t}),{elements:g,isLoading:v}=no({elements:t.elements,getElements:t.getElements}),y=(0,Px.useMemo)(()=>Array.isArray(m)?m.map(b=>g?.find(S=>S.value===b)||{value:b,label:b}):[],[m,g]),x=(0,Px.useCallback)(b=>{let w=b.map(S=>typeof S=="object"&&"value"in S?S.value:S);r(f({item:e,value:w}))},[r,f,e]);return v?(0,gg.jsx)(Ex.Spinner,{}):(0,gg.jsx)(Cae,{required:!!d?.required,markWhenOptional:n,customValidity:Lt(d,i),label:o?void 0:s,value:y,onChange:x,placeholder:a,suggestions:g?.map(b=>b.value),disabled:h,__experimentalValidateInput:b=>t.isValid?.elements&&g?g.some(w=>w.value===b||w.label===b):!0,__experimentalExpandOnFocus:g&&g.length>0,help:u??(t.isValid?.elements?"":void 0),displayTransform:b=>typeof b=="object"&&"label"in b?b.label:typeof b=="string"&&g&&g.find(S=>S.value===b)?.label||b,__experimentalRenderItem:({item:b})=>{if(typeof b=="strin
`),new C("",f,""),new C("",a,"]"),new C("",a," for "),new C("",E,""),new C("",c,""),new C("",a," a "),new C("",a," that "),new C(" ",x,""),new C("",a,". "),new C(".",a,""),new C(" ",a,", "),new C("",_,""),new C("",a," with "),new C("",a,"'"),new C("",a," from "),new C("",a," by "),new C("",O,""),new C("",T,""),new C(" the ",a,""),new C("",d,""),new C("",a,". The "),new C("",b,""),new C("",a," on "),new C("",a," as "),new C("",a," is "),new C("",g,""),new C("",u,"ing "),new C("",a,`
`),new C("",a,":"),new C(" ",a,". "),new C("",a,"ed "),new C("",I,""),new C("",R,""),new C("",h,""),new C("",a,"("),new C("",x,", "),new C("",v,""),new C("",a," at "),new C("",a,"ly "),new C(" the ",a," of "),new C("",m,""),new C("",y,""),new C(" ",x,", "),new C("",x,'"'),new C(".",a,"("),new C("",b," "),new C("",x,'">'),new C("",a,'="'),new C(" ",a,"."),new C(".com/",a,""),new C(" the ",a," of the "),new C("",x,"'"),new C("",a,". This "),new C("",a,","),new C(".",a," "),new C("",x,"("),new C("",x,"."),new C("",a," not "),new C(" ",a,'="'),new C("",a,"er "),new C(" ",b," "),new C("",a,"al "),new C(" ",b,""),new C("",a,"='"),new C("",b,'"'),new C("",x,". "),new C(" ",a,"("),new C("",a,"ful "),new C(" ",x,". "),new C("",a,"ive "),new C("",a,"less "),new C("",b,"'"),new C("",a,"est "),new C(" ",x,"."),new C("",b,'">'),new C(" ",a,"='"),new C("",x,","),new C("",a,"ize "),new C("",b,"."),new C("\xC2\xA0",a,""),new C(" ",a,","),new C("",x,'="'),new C("",b,'="'),new C("",a,"ous "),new C("",b,", "),new C("",x,"='"),new C(" ",x,","),new C(" ",b,'="'),new C(" ",b,", "),new C("",b,","),new C("",b,"("),new C("",b,". "),new C(" ",b,"."),new C("",b,"='"),new C(" ",b,". "),new C(" ",x,'="'),new C(" ",b,"='"),new C(" ",x,"='")];i.kTransforms=F,i.kNumTransforms=F.length;function B(V,M){return V[M]<192?(V[M]>=97&&V[M]<=122&&(V[M]^=32),1):V[M]<224?(V[M+1]^=32,2):(V[M+2]^=5,3)}i.transformDictionaryWord=function(V,M,j,N,P){var L=F[P].prefix,z=F[P].suffix,Y=F[P].transform,Q=Y<w?0:Y-(w-1),ue=0,re=M,se;Q>N&&(Q=N);for(var ae=0;ae<L.length;)V[M++]=L[ae++];for(j+=Q,N-=Q,Y<=y&&(N-=Y),ue=0;ue<N;ue++)V[M++]=s.dictionary[j+ue];if(se=M-N,Y===x)B(V,se);else if(Y===b)for(;N>0;){var fe=B(V,se);se+=fe,N-=fe}for(var ye=0;ye<z.length;)V[M++]=z[ye++];return M-re}},{"./dictionary":6}],12:[function(o,n,i){n.exports=o("./dec/decode").BrotliDecompressBuffer},{"./dec/decode":3}]},{},[12])(12)})();var p1=(e=>typeof bn<"u"?bn:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof bn<"u"?bn:t)[r]}):e)(function(e){if(typeof bn<"u")return bn.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),RH=(function(){var e,t,r;return(function(){function o(n,i,s){function a(f,d){if(!i[f]){if(!n[f]){var m=typeof p1=="function"&&p1;if(!d&&m)return m(f,!0);if(u)return u(f,!0);var h=new Error("Cannot find module '"+f+"'");throw h.code="MODULE_NOT_FOUND",h}var g=i[f]={exports:{}};n[f][0].call(g.exports,function(v){var y=n[f][1][v];return a(y||v)},g,g.exports,o,n,i,s)}return i[f].exports}for(var u=typeof p1=="function"&&p1,c=0;c<s.length;c++)a(s[c]);return a}return o})()({1:[function(o,n,i){"use strict";var s=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";function a(f,d){return Object.prototype.hasOwnProperty.call(f,d)}i.assign=function(f){for(var d=Array.prototype.slice.call(arguments,1);d.length;){var m=d.shift();if(m){if(typeof m!="object")throw new TypeError(m+"must be non-object");for(var h in m)a(m,h)&&(f[h]=m[h])}}return f},i.shrinkBuf=function(f,d){return f.length===d?f:f.subarray?f.subarray(0,d):(f.length=d,f)};var u={arraySet:function(f,d,m,h,g){if(d.subarray&&f.subarray){f.set(d.subarray(m,m+h),g);return}for(var v=0;v<h;v++)f[g+v]=d[m+v]},flattenChunks:function(f){var d,m,h,g,v,y;for(h=0,d=0,m=f.length;d<m;d++)h+=f[d].length;for(y=new Uint8Array(h),g=0,d=0,m=f.length;d<m;d++)v=f[d],y.set(v,g),g+=v.length;return y}},c={arraySet:function(f,d,m,h,g){for(var v=0;v<h;v++)f[g+v]=d[m+v]},flattenChunks:function(f){return[].concat.apply([],f)}};i.setTyped=function(f){f?(i.Buf8=Uint8Array,i.Buf16=Uint16Array,i.Buf32=Int32Array,i.assign(i,u)):(i.Buf8=Array,i.Buf16=Array,i.Buf32=Array,i.assign(i,c))},i.setTyped(s)},{}],2:[function(o,n,i){"use strict";var s=o("./common"),a=!0,u=!0;try{String.fromCharCode.apply(null,[0])}catch{a=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{u=!1}for(var c=new s.Buf8(256),f=0;f<256;f++)c[f]=f>=252?6:f>=248?5:f>=240?4:f>=224?3:f>=192?2:1;c[254]=c[254]=1,i.string2buf=function(m){var h,g,v,y,x,b=m.length,w=0;for(y=0;y<b;y++)g=m.charCodeAt(y),(g&64512)===55296&&y+1<b&&(v=m.charCodeAt(y+1),(v&645
@font-face {
font-family: "${e}";
${i.join(`
`)}
src: url("${t}") format("${o}");
}`,globalThis.document.head.appendChild(n),n}var pue=[0,1,0,0],hue=[79,84,84,79],gue=[119,79,70,70],vue=[119,79,70,50];function g1(e,t){if(e.length===t.length){for(let r=0;r<e.length;r++)if(e[r]!==t[r])return;return!0}}function yue(e){let t=[e.getUint8(0),e.getUint8(1),e.getUint8(2),e.getUint8(3)];if(g1(t,pue)||g1(t,hue))return"SFNT";if(g1(t,gue))return"WOFF";if(g1(t,vue))return"WOFF2"}function bue(e){if(!e.ok)throw new Error(`HTTP ${e.status} - ${e.statusText}`);return e}var zH=class extends Qce{constructor(e,t={}){super(),this.name=e,this.options=t,this.metrics=!1}get src(){return this.__src}set src(e){this.__src=e,(async()=>(globalThis.document&&!this.options.skipStyleSheet&&await mue(this.name,e,this.options),this.loadFont(e)))()}async loadFont(e,t){fetch(e).then(r=>bue(r)&&r.arrayBuffer()).then(r=>this.fromDataBuffer(r,t||e)).catch(r=>{let o=new h1("error",r,`Failed to load font at ${t||e}`);this.dispatch(o),this.onerror&&this.onerror(o)})}async fromDataBuffer(e,t){this.fontData=new DataView(e);let r=yue(this.fontData);if(!r)throw new Error(`${t} is either an unsupported font format, or not a font at all.`);await this.parseBasicData(r);let o=new h1("load",{font:this});this.dispatch(o),this.onload&&this.onload(o)}async parseBasicData(e){return fue().then(t=>(e==="SFNT"&&(this.opentype=new tue(this,this.fontData,t)),e==="WOFF"&&(this.opentype=new oue(this,this.fontData,t)),e==="WOFF2"&&(this.opentype=new sue(this,this.fontData,t)),this.opentype))}getGlyphId(e){return this.opentype.tables.cmap.getGlyphId(e)}reverse(e){return this.opentype.tables.cmap.reverse(e)}supports(e){return this.getGlyphId(e)!==0}supportsVariation(e){return this.opentype.tables.cmap.supportsVariation(e)!==!1}measureText(e,t=16){if(this.__unloaded)throw new Error("Cannot measure text: font was unloaded. Please reload before calling measureText()");let r=document.createElement("div");r.textContent=e,r.style.fontFamily=this.name,r.style.fontSize=`${t}px`,r.style.color="transparent",r.style.background="transparent",r.style.top="0",r.style.left="0",r.style.position="absolute",document.body.appendChild(r);let o=r.getBoundingClientRect();document.body.removeChild(r);let n=this.opentype.tables["OS/2"];return o.fontSize=t,o.ascender=n.sTypoAscender,o.descender=n.sTypoDescender,o}unload(){if(this.styleElement.parentNode){this.styleElement.parentNode.removeElement(this.styleElement);let e=new h1("unload",{font:this});this.dispatch(e),this.onunload&&this.onunload(e)}this._unloaded=!0}load(){if(this.__unloaded){delete this.__unloaded,document.head.appendChild(this.styleElement);let e=new h1("load",{font:this});this.dispatch(e),this.onload&&this.onload(e)}}};globalThis.Font=zH;var $a=class extends hr{constructor(e,t,r){super(e),this.plaformID=t,this.encodingID=r}},wue=class extends $a{constructor(e,t,r){super(e,t,r),this.format=0,this.length=e.uint16,this.language=e.uint16,this.glyphIdArray=[...new Array(256)].map(o=>e.uint8)}supports(e){return e.charCodeAt&&(e=-1,console.warn("supports(character) not implemented for cmap subtable format 0. only supports(id) is implemented.")),0<=e&&e<=255}reverse(e){return console.warn("reverse not implemented for cmap subtable format 0"),{}}getSupportedCharCodes(){return[{start:1,end:256}]}},xue=class extends $a{constructor(e,t,r){super(e,t,r),this.format=2,this.length=e.uint16,this.language=e.uint16,this.subHeaderKeys=[...new Array(256)].map(s=>e.uint16);let o=Math.max(...this.subHeaderKeys),n=e.currentPosition;Ee(this,"subHeaders",()=>(e.currentPosition=n,[...new Array(o)].map(s=>new Sue(e))));let i=n+o*8;Ee(this,"glyphIndexArray",()=>(e.currentPosition=i,[...new Array(o)].map(s=>e.uint16)))}supports(e){e.charCodeAt&&(e=-1,console.warn("supports(character) not implemented for cmap subtable format 2. only supports(id) is implemented."));let t=e&&255,r=e&&65280,o=this.subHeaders[r],n=this.subHeaders[o],i=n.firstCode,s=i+n.entryCount;return i<=t&&t<=s}reverse(e){return console.warn("reverse not implemented for cmap subtable format 2"),{}}getSupportedCharCodes(e=!1){return e?this.subHeaders.map(t=>({firstCode:t.firstCode,last
/*! Bundled license information:
use-sync-external-store/cjs/use-sync-external-store-shim.production.js:
(**
* @license React
* use-sync-external-store-shim.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*)
use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js:
(**
* @license React
* use-sync-external-store-shim/with-selector.production.js
*
* Copyright (c) Meta Platforms, Inc. and 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.
*)
*/
(window.wp ||= {}).editSite = wp.editSite;
})();