42 lines
393 KiB
JavaScript
42 lines
393 KiB
JavaScript
|
|
var ev=Object.create;var Ca=Object.defineProperty;var tv=Object.getOwnPropertyDescriptor;var rv=Object.getOwnPropertyNames;var ov=Object.getPrototypeOf,nv=Object.prototype.hasOwnProperty;var Ut=(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 tt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),no=(e,t)=>{for(var r in t)Ca(e,r,{get:t[r],enumerable:!0})},sv=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of rv(t))!nv.call(e,n)&&n!==r&&Ca(e,n,{get:()=>t[n],enumerable:!(o=tv(t,n))||o.enumerable});return e};var h=(e,t,r)=>(r=e!=null?ev(ov(e)):{},sv(t||!e||!e.__esModule?Ca(r,"default",{value:e,enumerable:!0}):r,e));var Ce=tt((OE,_u)=>{_u.exports=window.wp.i18n});var Te=tt((kE,Pu)=>{Pu.exports=window.wp.element});var be=tt((FE,ku)=>{ku.exports=window.React});var Y=tt((VE,Lu)=>{Lu.exports=window.ReactJSXRuntime});var lo=tt((IT,nf)=>{nf.exports=window.ReactDOM});var md=tt(pd=>{"use strict";var dn=be();function i0(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var a0=typeof Object.is=="function"?Object.is:i0,l0=dn.useState,c0=dn.useEffect,u0=dn.useLayoutEffect,f0=dn.useDebugValue;function d0(e,t){var r=t(),o=l0({inst:{value:r,getSnapshot:t}}),n=o[0].inst,s=o[1];return u0(function(){n.value=r,n.getSnapshot=t,il(n)&&s({inst:n})},[e,r,t]),c0(function(){return il(n)&&s({inst:n}),e(function(){il(n)&&s({inst:n})})},[e]),f0(r),r}function il(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!a0(e,r)}catch{return!0}}function p0(e,t){return t()}var m0=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?p0:d0;pd.useSyncExternalStore=dn.useSyncExternalStore!==void 0?dn.useSyncExternalStore:m0});var al=tt((xO,hd)=>{"use strict";hd.exports=md()});var yd=tt(gd=>{"use strict";var $s=be(),h0=al();function g0(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var y0=typeof Object.is=="function"?Object.is:g0,v0=h0.useSyncExternalStore,b0=$s.useRef,w0=$s.useEffect,x0=$s.useMemo,S0=$s.useDebugValue;gd.useSyncExternalStoreWithSelector=function(e,t,r,o,n){var s=b0(null);if(s.current===null){var i={hasValue:!1,value:null};s.current=i}else i=s.current;s=x0(function(){function u(g){if(!l){if(l=!0,c=g,g=o(g),n!==void 0&&i.hasValue){var d=i.value;if(n(d,g))return f=d}return f=g}if(d=f,y0(c,g))return d;var v=o(g);return n!==void 0&&n(d,v)?(c=g,d):(c=g,f=v)}var l=!1,c,f,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=v0(e,s[0],s[1]);return w0(function(){i.hasValue=!0,i.value=a},[a]),S0(a),a}});var bd=tt((CO,vd)=>{"use strict";vd.exports=yd()});var Cn=tt((D3,Vp)=>{Vp.exports=window.wp.primitives});var Bo=tt((Q3,Bp)=>{Bp.exports=window.wp.compose});var Hp=tt((eA,jp)=>{jp.exports=window.wp.theme});var us=tt((tA,Up)=>{Up.exports=window.wp.privateApis});var ce=tt((t4,Cm)=>{Cm.exports=window.wp.components});var Am=tt((p4,Fm)=>{Fm.exports=window.wp.editor});var ar=tt((m4,Im)=>{Im.exports=window.wp.coreData});var Jt=tt((h4,Lm)=>{Lm.exports=window.wp.data});var Tn=tt((g4,Nm)=>{Nm.exports=window.wp.blocks});var Vt=tt((y4,Dm)=>{Dm.exports=window.wp.blockEditor});var Vm=tt((C4,Mm)=>{Mm.exports=window.wp.styleEngine});var Gm=tt((N4,Wm)=>{"use strict";Wm.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 o,n,s;if(Array.isArray(t)){if(o=t.length,o!=r.length)return!1;for(n=o;n--!==0;)if(!e(t[n],r[n]))return!1;return!0}if(t instanceof Map&&r instanceof Map){if(t.size!==r.size)return!1;for(n of t.entries())if(!r.has(n[0]))return!1;for(n of t.entries())if(!e(n[1],r.get(n[0])))return!1;return!0}if(t instanceof Set&&r instanceof Set){if(t.size!==r.size)return!1;for(n of t.entries())if(!r.has(n[0]))return!1;return!0}if(ArrayBuffer.isView(t)&&ArrayBuffer.isView(r)){if(o=t.length,o!=r.length)return!1;for(n=o;n--!==0;)if(t[n]!==r[n])return!1;return!0}if(t.constructor==
|
||
|
|
`),new x("",c,""),new x("",a,"]"),new x("",a," for "),new x("",k,""),new x("",l,""),new x("",a," a "),new x("",a," that "),new x(" ",C,""),new x("",a,". "),new x(".",a,""),new x(" ",a,", "),new x("",T,""),new x("",a," with "),new x("",a,"'"),new x("",a," from "),new x("",a," by "),new x("",_,""),new x("",A,""),new x(" the ",a,""),new x("",f,""),new x("",a,". The "),new x("",w,""),new x("",a," on "),new x("",a," as "),new x("",a," is "),new x("",d,""),new x("",u,"ing "),new x("",a,`
|
||
|
|
`),new x("",a,":"),new x(" ",a,". "),new x("",a,"ed "),new x("",U,""),new x("",N,""),new x("",g,""),new x("",a,"("),new x("",C,", "),new x("",v,""),new x("",a," at "),new x("",a,"ly "),new x(" the ",a," of "),new x("",m,""),new x("",S,""),new x(" ",C,", "),new x("",C,'"'),new x(".",a,"("),new x("",w," "),new x("",C,'">'),new x("",a,'="'),new x(" ",a,"."),new x(".com/",a,""),new x(" the ",a," of the "),new x("",C,"'"),new x("",a,". This "),new x("",a,","),new x(".",a," "),new x("",C,"("),new x("",C,"."),new x("",a," not "),new x(" ",a,'="'),new x("",a,"er "),new x(" ",w," "),new x("",a,"al "),new x(" ",w,""),new x("",a,"='"),new x("",w,'"'),new x("",C,". "),new x(" ",a,"("),new x("",a,"ful "),new x(" ",C,". "),new x("",a,"ive "),new x("",a,"less "),new x("",w,"'"),new x("",a,"est "),new x(" ",C,"."),new x("",w,'">'),new x(" ",a,"='"),new x("",C,","),new x("",a,"ize "),new x("",w,"."),new x("\xC2\xA0",a,""),new x(" ",a,","),new x("",C,'="'),new x("",w,'="'),new x("",a,"ous "),new x("",w,", "),new x("",C,"='"),new x(" ",C,","),new x(" ",w,'="'),new x(" ",w,", "),new x("",w,","),new x("",w,"("),new x("",w,". "),new x(" ",w,"."),new x("",w,"='"),new x(" ",w,". "),new x(" ",C,'="'),new x(" ",w,"='"),new x(" ",C,"='")];s.kTransforms=I,s.kNumTransforms=I.length;function W(O,D){return O[D]<192?(O[D]>=97&&O[D]<=122&&(O[D]^=32),1):O[D]<224?(O[D+1]^=32,2):(O[D+2]^=5,3)}s.transformDictionaryWord=function(O,D,J,M,E){var L=I[E].prefix,$=I[E].suffix,F=I[E].transform,Z=F<b?0:F-(b-1),se=0,xe=D,ie;Z>M&&(Z=M);for(var ye=0;ye<L.length;)O[D++]=L[ye++];for(J+=Z,M-=Z,F<=S&&(M-=F),se=0;se<M;se++)O[D++]=i.dictionary[J+se];if(ie=D-M,F===C)W(O,ie);else if(F===w)for(;M>0;){var Ee=W(O,ie);ie+=Ee,M-=Ee}for(var ee=0;ee<$.length;)O[D++]=$[ee++];return D-xe}},{"./dictionary":6}],12:[function(o,n,s){n.exports=o("./dec/decode").BrotliDecompressBuffer},{"./dec/decode":3}]},{},[12])(12)})();var ta=(e=>typeof Ut<"u"?Ut:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof Ut<"u"?Ut:t)[r]}):e)(function(e){if(typeof Ut<"u")return Ut.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),Vg=(function(){var e,t,r;return(function(){function o(n,s,i){function a(c,f){if(!s[c]){if(!n[c]){var m=typeof ta=="function"&&ta;if(!f&&m)return m(c,!0);if(u)return u(c,!0);var g=new Error("Cannot find module '"+c+"'");throw g.code="MODULE_NOT_FOUND",g}var d=s[c]={exports:{}};n[c][0].call(d.exports,function(v){var S=n[c][1][v];return a(S||v)},d,d.exports,o,n,s,i)}return s[c].exports}for(var u=typeof ta=="function"&&ta,l=0;l<i.length;l++)a(i[l]);return a}return o})()({1:[function(o,n,s){"use strict";var i=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";function a(c,f){return Object.prototype.hasOwnProperty.call(c,f)}s.assign=function(c){for(var f=Array.prototype.slice.call(arguments,1);f.length;){var m=f.shift();if(m){if(typeof m!="object")throw new TypeError(m+"must be non-object");for(var g in m)a(m,g)&&(c[g]=m[g])}}return c},s.shrinkBuf=function(c,f){return c.length===f?c:c.subarray?c.subarray(0,f):(c.length=f,c)};var u={arraySet:function(c,f,m,g,d){if(f.subarray&&c.subarray){c.set(f.subarray(m,m+g),d);return}for(var v=0;v<g;v++)c[d+v]=f[m+v]},flattenChunks:function(c){var f,m,g,d,v,S;for(g=0,f=0,m=c.length;f<m;f++)g+=c[f].length;for(S=new Uint8Array(g),d=0,f=0,m=c.length;f<m;f++)v=c[f],S.set(v,d),d+=v.length;return S}},l={arraySet:function(c,f,m,g,d){for(var v=0;v<g;v++)c[d+v]=f[m+v]},flattenChunks:function(c){return[].concat.apply([],c)}};s.setTyped=function(c){c?(s.Buf8=Uint8Array,s.Buf16=Uint16Array,s.Buf32=Int32Array,s.assign(s,u)):(s.Buf8=Array,s.Buf16=Array,s.Buf32=Array,s.assign(s,l))},s.setTyped(i)},{}],2:[function(o,n,s){"use strict";var i=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 l=new i.Buf8(256),c=0;c<256;c++)l[c]=c>=252?6:c>=248?5:c>=240?4:c>=224?3:c>=192?2:1;l[254]=l[254]=1,s.string2buf=function(m){var g,d,v,S,C,w=m.length,b=0;for(S=0;S<w;S++)d=m.charCodeAt(S),(d&64512)===55296&&S+1<w&&(v=m.charCodeAt(S+1),(v&645
|
||
|
|
@font-face {
|
||
|
|
font-family: "${e}";
|
||
|
|
${s.join(`
|
||
|
|
`)}
|
||
|
|
src: url("${t}") format("${o}");
|
||
|
|
}`,globalThis.document.head.appendChild(n),n}var Wx=[0,1,0,0],Gx=[79,84,84,79],Yx=[119,79,70,70],qx=[119,79,70,50];function oa(e,t){if(e.length===t.length){for(let r=0;r<e.length;r++)if(e[r]!==t[r])return;return!0}}function Zx(e){let t=[e.getUint8(0),e.getUint8(1),e.getUint8(2),e.getUint8(3)];if(oa(t,Wx)||oa(t,Gx))return"SFNT";if(oa(t,Yx))return"WOFF";if(oa(t,qx))return"WOFF2"}function Xx(e){if(!e.ok)throw new Error(`HTTP ${e.status} - ${e.statusText}`);return e}var sa=class extends _x{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 Ux(this.name,e,this.options),this.loadFont(e)))()}async loadFont(e,t){fetch(e).then(r=>Xx(r)&&r.arrayBuffer()).then(r=>this.fromDataBuffer(r,t||e)).catch(r=>{let o=new ra("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=Zx(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 ra("load",{font:this});this.dispatch(o),this.onload&&this.onload(o)}async parseBasicData(e){return jx().then(t=>(e==="SFNT"&&(this.opentype=new Fx(this,this.fontData,t)),e==="WOFF"&&(this.opentype=new Ix(this,this.fontData,t)),e==="WOFF2"&&(this.opentype=new Dx(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 ra("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 ra("load",{font:this});this.dispatch(e),this.onload&&this.onload(e)}}};globalThis.Font=sa;var eo=class extends ct{constructor(e,t,r){super(e),this.plaformID=t,this.encodingID=r}},Kx=class extends eo{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}]}},Jx=class extends eo{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(i=>e.uint16);let o=Math.max(...this.subHeaderKeys),n=e.currentPosition;ae(this,"subHeaders",()=>(e.currentPosition=n,[...new Array(o)].map(i=>new Qx(e))));let s=n+o*8;ae(this,"glyphIndexArray",()=>(e.currentPosition=s,[...new Array(o)].map(i=>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],s=n.firstCode,i=s+n.entryCount;return s<=t&&t<=i}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,lastCode:t.lastCode})):th
|
||
|
|
/*! 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.
|
||
|
|
*)
|
||
|
|
*/
|