PluginProbe
Gutenberg / trunk
Gutenberg vtrunk
24.1.0 24.0.0 23.9.1 23.9.0 23.8.0 23.7.2 23.7.1 23.7.0 23.6.1 23.6.2 23.6.0 23.5.3 23.5.2 23.5.1 23.5.0 23.4.0 23.3.2 23.3.1 23.3.0 23.2.0 23.2.1 23.2.2 23.1.1 23.1.0 23.0.1 All 404 releases
← All changes | build/modules/dashboard-init/index.min.js +2 -1 23.5.3 → trunk View file →
@@ -1,2 +1,3 @@
1 -var x=Object.create;var p=Object.defineProperty;var y=Object.getOwnPropertyDescriptor;var M=Object.getOwnPropertyNames;var b=Object.getPrototypeOf,k=Object.prototype.hasOwnProperty;var d=(t,o)=>()=>(o||t((o={exports:{}}).exports,o),o.exports);var E=(t,o,e,s)=>{if(o&&typeof o=="object"||typeof o=="function")for(let i of M(o))!k.call(t,i)&&i!==e&&p(t,i,{get:()=>o[i],enumerable:!(s=y(o,i))||s.enumerable});return t};var n=(t,o,e)=>(e=t!=null?x(b(t)):{},E(o||!t||!t.__esModule?p(e,"default",{value:t,enumerable:!0}):e,t));var l=d((h,w)=>{w.exports=window.wp.data});var u=d((v,m)=>{m.exports=window.wp.coreData});var f=d((C,g)=>{g.exports=window.wp.i18n});var r=n(l(),1),a=n(u(),1),c=n(f(),1);async function D(){(0,r.select)(a.store).getEntityConfig("root","widgetModule")||(0,r.dispatch)(a.store).addEntities([{name:"widgetModule",kind:"root",key:"name",baseURL:"/wp/v2/widget-modules",plural:"widgetModules",label:(0,c.__)("Widget modules"),supportsPagination:!1}])}export{D as init};
1 +var Lt=Object.create;var Ce=Object.defineProperty;var Ht=Object.getOwnPropertyDescriptor;var Gt=Object.getOwnPropertyNames;var jt=Object.getPrototypeOf,Ft=Object.prototype.hasOwnProperty;var p=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Bt=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Gt(t))!Ft.call(e,i)&&i!==r&&Ce(e,i,{get:()=>t[i],enumerable:!(n=Ht(t,i))||n.enumerable});return e};var S=(e,t,r)=>(r=e!=null?Lt(jt(e)):{},Bt(t||!e||!e.__esModule?Ce(r,"default",{value:e,enumerable:!0}):r,e));var ee=p((ln,Se)=>{Se.exports=window.wp.data});var te=p((cn,xe)=>{xe.exports=window.wp.coreData});var Ne=p((un,we)=>{we.exports=window.wp.i18n});var re=p(f=>{"use strict";Object.defineProperty(f,"__esModule",{value:!0});f.Doctype=f.CDATA=f.Tag=f.Style=f.Script=f.Comment=f.Directive=f.Text=f.Root=f.isTag=f.ElementType=void 0;var A;(function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"})(A=f.ElementType||(f.ElementType={}));function Ut(e){return e.type===A.Tag||e.type===A.Script||e.type===A.Style}f.isTag=Ut;f.Root=A.Root;f.Text=A.Text;f.Directive=A.Directive;f.Comment=A.Comment;f.Script=A.Script;f.Style=A.Style;f.Tag=A.Tag;f.CDATA=A.CDATA;f.Doctype=A.Doctype});var ae=p(s=>{"use strict";var x=s&&s.__extends||(function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}})(),D=s&&s.__assign||function(){return D=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},D.apply(this,arguments)};Object.defineProperty(s,"__esModule",{value:!0});s.cloneNode=s.hasChildren=s.isDocument=s.isDirective=s.isComment=s.isText=s.isCDATA=s.isTag=s.Element=s.Document=s.CDATA=s.NodeWithChildren=s.ProcessingInstruction=s.Comment=s.Text=s.DataNode=s.Node=void 0;var R=re(),ie=(function(){function e(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(t){this.parent=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(t){this.prev=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(t){this.next=t},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(t){return t===void 0&&(t=!1),oe(this,t)},e})();s.Node=ie;var q=(function(e){x(t,e);function t(r){var n=e.call(this)||this;return n.data=r,n}return Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(r){this.data=r},enumerable:!1,configurable:!0}),t})(ie);s.DataNode=q;var Ie=(function(e){x(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=R.ElementType.Text,r}return Object.defineProperty(t.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),t})(q);s.Text=Ie;var ke=(function(e){x(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=R.ElementType.Comment,r}return Object.defineProperty(t.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),t})(q);s.Comment=ke;var Pe=(function(e){x(t,e);function t(r,n){var i=e.call(this,n)||this;return i.name=r,i.type=R.ElementType.Directive,i}return Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),t})(q);s.ProcessingInstruction=Pe;var X=(function(e){x(t,e);function t(r){var n=e.call(this)||this;return n.children=r,n}return Object.defineProperty(t.prototype,"firstChild",{get:function(){var r;return(r=this.children[0])!==null&&r!==void 0?r:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(r){this.children=r},enumerable:!1,configurable:!0}),t})(ie);s.NodeWithChildren=X;var De=(function(e){x(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=R.ElementType.CDATA,r}return Object.defineProperty(t.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),t})(X);s.CDATA=De;var Me=(function(e){x(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=R.ElementType.Root,r}return Object.defineProperty(t.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),t})(X);s.Document=Me;var Le=(function(e){x(t,e);function t(r,n,i,a){i===void 0&&(i=[]),a===void 0&&(a=r==="script"?R.ElementType.Script:r==="style"?R.ElementType.Style:R.ElementType.Tag);var l=e.call(this,i)||this;return l.name=r,l.attribs=n,l.type=a,l}return Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(r){this.name=r},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var r=this;return Object.keys(this.attribs).map(function(n){var i,a;return{name:n,value:r.attribs[n],namespace:(i=r["x-attribsNamespace"])===null||i===void 0?void 0:i[n],prefix:(a=r["x-attribsPrefix"])===null||a===void 0?void 0:a[n]}})},enumerable:!1,configurable:!0}),t})(X);s.Element=Le;function He(e){return(0,R.isTag)(e)}s.isTag=He;function Ge(e){return e.type===R.ElementType.CDATA}s.isCDATA=Ge;function je(e){return e.type===R.ElementType.Text}s.isText=je;function Fe(e){return e.type===R.ElementType.Comment}s.isComment=Fe;function Be(e){return e.type===R.ElementType.Directive}s.isDirective=Be;function Ue(e){return e.type===R.ElementType.Root}s.isDocument=Ue;function Vt(e){return Object.prototype.hasOwnProperty.call(e,"children")}s.hasChildren=Vt;function oe(e,t){t===void 0&&(t=!1);var r;if(je(e))r=new Ie(e.data);else if(Fe(e))r=new ke(e.data);else if(He(e)){var n=t?ne(e.children):[],i=new Le(e.name,D({},e.attribs),n);n.forEach(function(E){return E.parent=i}),e.namespace!=null&&(i.namespace=e.namespace),e["x-attribsNamespace"]&&(i["x-attribsNamespace"]=D({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(i["x-attribsPrefix"]=D({},e["x-attribsPrefix"])),r=i}else if(Ge(e)){var n=t?ne(e.children):[],a=new De(n);n.forEach(function(_){return _.parent=a}),r=a}else if(Ue(e)){var n=t?ne(e.children):[],l=new Me(n);n.forEach(function(_){return _.parent=l}),e["x-mode"]&&(l["x-mode"]=e["x-mode"]),r=l}else if(Be(e)){var u=new Pe(e.name,e.data);e["x-name"]!=null&&(u["x-name"]=e["x-name"],u["x-publicId"]=e["x-publicId"],u["x-systemId"]=e["x-systemId"]),r=u}else throw new Error("Not implemented yet: ".concat(e.type));return r.startIndex=e.startIndex,r.endIndex=e.endIndex,e.sourceCodeLocation!=null&&(r.sourceCodeLocation=e.sourceCodeLocation),r}s.cloneNode=oe;function ne(e){for(var t=e.map(function(n){return oe(n,!0)}),r=1;r<t.length;r++)t[r].prev=t[r-1],t[r-1].next=t[r];return t}});var le=p(C=>{"use strict";var qt=C&&C.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),Xt=C&&C.__exportStar||function(e,t){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r)&&qt(t,e,r)};Object.defineProperty(C,"__esModule",{value:!0});C.DomHandler=void 0;var se=re(),w=ae();Xt(ae(),C);var Ve={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},qe=(function(){function e(t,r,n){this.dom=[],this.root=new w.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,typeof r=="function"&&(n=r,r=Ve),typeof t=="object"&&(r=t,t=void 0),this.callback=t??null,this.options=r??Ve,this.elementCB=n??null}return e.prototype.onparserinit=function(t){this.parser=t},e.prototype.onreset=function(){this.dom=[],this.root=new w.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(t){this.handleCallback(t)},e.prototype.onclosetag=function(){this.lastNode=null;var t=this.tagStack.pop();this.options.withEndIndices&&(t.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(t)},e.prototype.onopentag=function(t,r){var n=this.options.xmlMode?se.ElementType.Tag:void 0,i=new w.Element(t,r,void 0,n);this.addNode(i),this.tagStack.push(i)},e.prototype.ontext=function(t){var r=this.lastNode;if(r&&r.type===se.ElementType.Text)r.data+=t,this.options.withEndIndices&&(r.endIndex=this.parser.endIndex);else{var n=new w.Text(t);this.addNode(n),this.lastNode=n}},e.prototype.oncomment=function(t){if(this.lastNode&&this.lastNode.type===se.ElementType.Comment){this.lastNode.data+=t;return}var r=new w.Comment(t);this.addNode(r),this.lastNode=r},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var t=new w.Text(""),r=new w.CDATA([t]);this.addNode(r),t.parent=r,this.lastNode=t},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(t,r){var n=new w.ProcessingInstruction(t,r);this.addNode(n)},e.prototype.handleCallback=function(t){if(typeof this.callback=="function")this.callback(t,this.dom);else if(t)throw t},e.prototype.addNode=function(t){var r=this.tagStack[this.tagStack.length-1],n=r.children[r.children.length-1];this.options.withStartIndices&&(t.startIndex=this.parser.startIndex),this.options.withEndIndices&&(t.endIndex=this.parser.endIndex),r.children.push(t),n&&(t.prev=n,n.next=t),t.parent=r,this.lastNode=null},e})();C.DomHandler=qe;C.default=qe});var Xe=p(m=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0});m.CARRIAGE_RETURN_PLACEHOLDER_REGEX=m.CARRIAGE_RETURN_PLACEHOLDER=m.CARRIAGE_RETURN_REGEX=m.CARRIAGE_RETURN=m.CASE_SENSITIVE_TAG_NAMES_MAP=m.CASE_SENSITIVE_TAG_NAMES=void 0;m.CASE_SENSITIVE_TAG_NAMES=["animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"];m.CASE_SENSITIVE_TAG_NAMES_MAP=m.CASE_SENSITIVE_TAG_NAMES.reduce(function(e,t){return e[t.toLowerCase()]=t,e},{});m.CARRIAGE_RETURN="\r";m.CARRIAGE_RETURN_REGEX=new RegExp(m.CARRIAGE_RETURN,"g");m.CARRIAGE_RETURN_PLACEHOLDER="__HTML_DOM_PARSER_CARRIAGE_RETURN_PLACEHOLDER_".concat(Date.now(),"__");m.CARRIAGE_RETURN_PLACEHOLDER_REGEX=new RegExp(m.CARRIAGE_RETURN_PLACEHOLDER,"g")});var ce=p(P=>{"use strict";Object.defineProperty(P,"__esModule",{value:!0});P.formatAttributes=ze;P.escapeSpecialCharacters=Yt;P.revertEscapedCharacters=We;P.formatDOM=Ye;var z=le(),M=Xe();function zt(e){return M.CASE_SENSITIVE_TAG_NAMES_MAP[e]}function ze(e){for(var t={},r=0,n=e.length;r<n;r++){var i=e[r];t[i.name]=i.value}return t}function Wt(e){e=e.toLowerCase();var t=zt(e);return t||e}function Yt(e){return e.replace(M.CARRIAGE_RETURN_REGEX,M.CARRIAGE_RETURN_PLACEHOLDER)}function We(e){return e.replace(M.CARRIAGE_RETURN_PLACEHOLDER_REGEX,M.CARRIAGE_RETURN)}function Ye(e,t,r){t===void 0&&(t=null);for(var n=[],i,a=0,l=e.length;a<l;a++){var u=e[a];switch(u.nodeType){case 1:{var E=Wt(u.nodeName);i=new z.Element(E,ze(u.attributes)),i.children=Ye(E==="template"?u.content.childNodes:u.childNodes,i);break}case 3:i=new z.Text(We(u.nodeValue));break;case 8:i=new z.Comment(u.nodeValue);break;default:continue}var _=n[a-1]||null;_&&(_.next=i),i.parent=t,i.prev=_,i.next=null,n.push(i)}return r&&(i=new z.ProcessingInstruction(r.substring(0,r.indexOf(" ")).toLowerCase(),r),i.next=n[0]||null,i.parent=t,n.unshift(i),n[1]&&(n[1].prev=n[0])),n}});var rt=p(de=>{"use strict";Object.defineProperty(de,"__esModule",{value:!0});de.default=Kt;var Zt=ce(),Ze="html",$e="head",W="body",$t=/<([a-zA-Z]+[0-9]?)/,Ke=/<head[^]*>/i,Je=/<body[^]*>/i,Z=function(e,t){throw new Error("This browser does not support `document.implementation.createHTMLDocument`")},ue=function(e,t){throw new Error("This browser does not support `DOMParser.prototype.parseFromString`")},Qe=typeof window=="object"&&window.DOMParser;typeof Qe=="function"&&(et=new Qe,tt="text/html",ue=function(e,t){return t&&(e="<".concat(t,">").concat(e,"</").concat(t,">")),et.parseFromString(e,tt)},Z=ue);var et,tt;typeof document=="object"&&document.implementation&&(L=document.implementation.createHTMLDocument(),Z=function(e,t){if(t){var r=L.documentElement.querySelector(t);return r&&(r.innerHTML=e),L}return L.documentElement.innerHTML=e,L});var L,Y=typeof document=="object"&&document.createElement("template"),fe;Y&&Y.content&&(fe=function(e){return Y.innerHTML=e,Y.content.childNodes});function Kt(e){var t,r;e=(0,Zt.escapeSpecialCharacters)(e);var n=e.match($t),i=n&&n[1]?n[1].toLowerCase():"";switch(i){case Ze:{var a=ue(e);if(!Ke.test(e)){var l=a.querySelector($e);(t=l?.parentNode)===null||t===void 0||t.removeChild(l)}if(!Je.test(e)){var l=a.querySelector(W);(r=l?.parentNode)===null||r===void 0||r.removeChild(l)}return a.querySelectorAll(Ze)}case $e:case W:{var u=Z(e).querySelectorAll(i);return Je.test(e)&&Ke.test(e)?u[0].parentNode.childNodes:u}default:{if(fe)return fe(e);var l=Z(e,W).querySelector(W);return l.childNodes}}}});var nt=p(H=>{"use strict";var Jt=H&&H.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(H,"__esModule",{value:!0});H.default=rr;var Qt=Jt(rt()),er=ce(),tr=/<(![a-zA-Z\s]+)>/;function rr(e){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];var t=e.match(tr),r=t?t[1]:void 0;return(0,er.formatDOM)((0,Qt.default)(e),null,r)}});var it=p($=>{var nr=0;$.SAME=nr;var ir=1;$.CAMELCASE=ir;$.possibleStandardNames={accept:0,acceptCharset:1,"accept-charset":"acceptCharset",accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:"className",classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:"htmlFor",form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":"httpEquiv",icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInline:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":"accentHeight",accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":"alignmentBaseline",allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":"arabicForm",ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":"baselineShift",baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":"capHeight",clip:0,clipPath:1,"clip-path":"clipPath",clipPathUnits:1,clipRule:1,"clip-rule":"clipRule",color:0,colorInterpolation:1,"color-interpolation":"colorInterpolation",colorInterpolationFilters:1,"color-interpolation-filters":"colorInterpolationFilters",colorProfile:1,"color-profile":"colorProfile",colorRendering:1,"color-rendering":"colorRendering",contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":"dominantBaseline",dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":"enableBackground",end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":"fillOpacity",fillRule:1,"fill-rule":"fillRule",filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":"floodOpacity",floodColor:1,"flood-color":"floodColor",focusable:0,fontFamily:1,"font-family":"fontFamily",fontSize:1,"font-size":"fontSize",fontSizeAdjust:1,"font-size-adjust":"fontSizeAdjust",fontStretch:1,"font-stretch":"fontStretch",fontStyle:1,"font-style":"fontStyle",fontVariant:1,"font-variant":"fontVariant",fontWeight:1,"font-weight":"fontWeight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":"glyphName",glyphOrientationHorizontal:1,"glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphOrientationVertical:1,"glyph-orientation-vertical":"glyphOrientationVertical",glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":"horizAdvX",horizOriginX:1,"horiz-origin-x":"horizOriginX",ideographic:0,imageRendering:1,"image-rendering":"imageRendering",in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":"letterSpacing",lightingColor:1,"lighting-color":"lightingColor",limitingConeAngle:1,local:0,markerEnd:1,"marker-end":"markerEnd",markerHeight:1,markerMid:1,"marker-mid":"markerMid",markerStart:1,"marker-start":"markerStart",markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":"overlinePosition",overlineThickness:1,"overline-thickness":"overlineThickness",paintOrder:1,"paint-order":"paintOrder",panose1:0,"panose-1":"panose1",pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":"pointerEvents",points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":"renderingIntent",repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":"shapeRendering",slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":"stopColor",stopOpacity:1,"stop-opacity":"stopOpacity",strikethroughPosition:1,"strikethrough-position":"strikethroughPosition",strikethroughThickness:1,"strikethrough-thickness":"strikethroughThickness",string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":"strokeDasharray",strokeDashoffset:1,"stroke-dashoffset":"strokeDashoffset",strokeLinecap:1,"stroke-linecap":"strokeLinecap",strokeLinejoin:1,"stroke-linejoin":"strokeLinejoin",strokeMiterlimit:1,"stroke-miterlimit":"strokeMiterlimit",strokeWidth:1,"stroke-width":"strokeWidth",strokeOpacity:1,"stroke-opacity":"strokeOpacity",suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":"textAnchor",textDecoration:1,"text-decoration":"textDecoration",textLength:1,textRendering:1,"text-rendering":"textRendering",to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":"underlinePosition",underlineThickness:1,"underline-thickness":"underlineThickness",unicode:0,unicodeBidi:1,"unicode-bidi":"unicodeBidi",unicodeRange:1,"unicode-range":"unicodeRange",unitsPerEm:1,"units-per-em":"unitsPerEm",unselectable:0,vAlphabetic:1,"v-alphabetic":"vAlphabetic",values:0,vectorEffect:1,"vector-effect":"vectorEffect",version:0,vertAdvY:1,"vert-adv-y":"vertAdvY",vertOriginX:1,"vert-origin-x":"vertOriginX",vertOriginY:1,"vert-origin-y":"vertOriginY",vHanging:1,"v-hanging":"vHanging",vIdeographic:1,"v-ideographic":"vIdeographic",viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":"vMathematical",vocab:0,widths:0,wordSpacing:1,"word-spacing":"wordSpacing",writingMode:1,"writing-mode":"writingMode",x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":"xHeight",xlinkActuate:1,"xlink:actuate":"xlinkActuate",xlinkArcrole:1,"xlink:arcrole":"xlinkArcrole",xlinkHref:1,"xlink:href":"xlinkHref",xlinkRole:1,"xlink:role":"xlinkRole",xlinkShow:1,"xlink:show":"xlinkShow",xlinkTitle:1,"xlink:title":"xlinkTitle",xlinkType:1,"xlink:type":"xlinkType",xmlBase:1,"xml:base":"xmlBase",xmlLang:1,"xml:lang":"xmlLang",xmlns:0,"xml:space":"xmlSpace",xmlnsXlink:1,"xmlns:xlink":"xmlnsXlink",xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1}});var at=p(b=>{"use strict";function or(e){return v.hasOwnProperty(e)?v[e]:null}function g(e,t,r,n,i,a,l){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=n,this.attributeNamespace=i,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=l}var v={},ar=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];ar.forEach(e=>{v[e]=new g(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(([e,t])=>{v[e]=new g(e,1,!1,t,null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(e=>{v[e]=new g(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(e=>{v[e]=new g(e,2,!1,e,null,!1,!1)});["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(e=>{v[e]=new g(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(e=>{v[e]=new g(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(e=>{v[e]=new g(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(e=>{v[e]=new g(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(e=>{v[e]=new g(e,5,!1,e.toLowerCase(),null,!1,!1)});var pe=/[\-\:]([a-z])/g,he=e=>e[1].toUpperCase();["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(e=>{let t=e.replace(pe,he);v[t]=new g(t,1,!1,e,null,!1,!1)});["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(e=>{let t=e.replace(pe,he);v[t]=new g(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(e=>{let t=e.replace(pe,he);v[t]=new g(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(e=>{v[e]=new g(e,1,!1,e.toLowerCase(),null,!1,!1)});var sr="xlinkHref";v[sr]=new g("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(e=>{v[e]=new g(e,1,!1,e.toLowerCase(),null,!0,!0)});var{CAMELCASE:lr,SAME:cr,possibleStandardNames:ot}=it(),ur=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",fr=ur+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",dr=RegExp.prototype.test.bind(new RegExp("^(data|aria)-["+fr+"]*$")),pr=Object.keys(ot).reduce((e,t)=>{let r=ot[t];return r===cr?e[t]=t:r===lr?e[t.toLowerCase()]=t:e[t]=r,e},{});b.BOOLEAN=3;b.BOOLEANISH_STRING=2;b.NUMERIC=5;b.OVERLOADED_BOOLEAN=4;b.POSITIVE_NUMERIC=6;b.RESERVED=0;b.STRING=1;b.getPropertyInfo=or;b.isCustomAttribute=dr;b.possibleStandardNames=pr});var me=p((_n,st)=>{st.exports=window.React});var pt=p((Tn,dt)=>{"use strict";var lt=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,hr=/\n/g,mr=/^\s*/,vr=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,Er=/^:\s*/,gr=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,yr=/^[;\s]*/,_r=/^\s+|\s+$/g,Tr=`
2 +`,ct="/",ut="*",I="",Rr="comment",Ar="declaration";function Or(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var r=1,n=1;function i(c){var o=c.match(hr);o&&(r+=o.length);var T=c.lastIndexOf(Tr);n=~T?c.length-T:n+c.length}function a(){var c={line:r,column:n};return function(o){return o.position=new l(c),_(),o}}function l(c){this.start=c,this.end={line:r,column:n},this.source=t.source}l.prototype.content=e;function u(c){var o=new Error(t.source+":"+r+":"+n+": "+c);if(o.reason=c,o.filename=t.source,o.line=r,o.column=n,o.source=e,!t.silent)throw o}function E(c){var o=c.exec(e);if(o){var T=o[0];return i(T),e=e.slice(T.length),o}}function _(){E(mr)}function O(c){var o;for(c=c||[];o=d();)o!==!1&&c.push(o);return c}function d(){var c=a();if(!(ct!=e.charAt(0)||ut!=e.charAt(1))){for(var o=2;I!=e.charAt(o)&&(ut!=e.charAt(o)||ct!=e.charAt(o+1));)++o;if(o+=2,I===e.charAt(o-1))return u("End of comment missing");var T=e.slice(2,o-2);return n+=2,i(T),e=e.slice(o),n+=2,c({type:Rr,comment:T})}}function N(){var c=a(),o=E(vr);if(o){if(d(),!E(Er))return u("property missing ':'");var T=E(gr),Mt=c({type:Ar,property:ft(o[0].replace(lt,I)),value:T?ft(T[0].replace(lt,I)):I});return E(yr),Mt}}function V(){var c=[];O(c);for(var o;o=N();)o!==!1&&(c.push(o),O(c));return c}return _(),V()}function ft(e){return e?e.replace(_r,I):I}dt.exports=Or});var ht=p(G=>{"use strict";var br=G&&G.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(G,"__esModule",{value:!0});G.default=Sr;var Cr=br(pt());function Sr(e,t){let r=null;if(!e||typeof e!="string")return r;let n=(0,Cr.default)(e),i=typeof t=="function";return n.forEach(a=>{if(a.type!=="declaration")return;let{property:l,value:u}=a;i?t(l,u,a):u&&(r=r||{},r[l]=u)}),r}});var vt=p(K=>{"use strict";Object.defineProperty(K,"__esModule",{value:!0});K.camelCase=void 0;var xr=/^--[a-zA-Z0-9_-]+$/,wr=/-([a-z])/g,Nr=/^[^-]+$/,Ir=/^-(webkit|moz|ms|o|khtml)-/,kr=/^-(ms)-/,Pr=function(e){return!e||Nr.test(e)||xr.test(e)},Dr=function(e,t){return t.toUpperCase()},mt=function(e,t){return"".concat(t,"-")},Mr=function(e,t){return t===void 0&&(t={}),Pr(e)?e:(e=e.toLowerCase(),t.reactCompat?e=e.replace(kr,mt):e=e.replace(Ir,mt),e.replace(wr,Dr))};K.camelCase=Mr});var gt=p((Ee,Et)=>{"use strict";var Lr=Ee&&Ee.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},Hr=Lr(ht()),Gr=vt();function ve(e,t){var r={};return!e||typeof e!="string"||(0,Hr.default)(e,function(n,i){n&&i&&(r[(0,Gr.camelCase)(n,t)]=i)}),r}ve.default=ve;Et.exports=ve});var ge=p(y=>{"use strict";var jr=y&&y.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(y,"__esModule",{value:!0});y.returnFirstArg=y.canTextBeChildOfNode=y.ELEMENTS_WITH_NO_TEXT_CHILDREN=y.PRESERVE_CUSTOM_ATTRIBUTES=void 0;y.isCustomComponent=Vr;y.setStyleProp=Xr;var Fr=me(),Br=jr(gt()),Ur=new Set(["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"]);function Vr(e,t){return e.includes("-")?!Ur.has(e):!!(t&&typeof t.is=="string")}var qr={reactCompat:!0};function Xr(e,t){if(typeof e=="string"){if(!e.trim()){t.style={};return}try{t.style=(0,Br.default)(e,qr)}catch{t.style={}}}}y.PRESERVE_CUSTOM_ATTRIBUTES=Number(Fr.version.split(".")[0])>=16;y.ELEMENTS_WITH_NO_TEXT_CHILDREN=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]);var zr=function(e){return!y.ELEMENTS_WITH_NO_TEXT_CHILDREN.has(e.name)};y.canTextBeChildOfNode=zr;var Wr=function(e){return e};y.returnFirstArg=Wr});var _e=p(ye=>{"use strict";Object.defineProperty(ye,"__esModule",{value:!0});ye.default=Kr;var j=at(),yt=ge(),Yr=["checked","value"],Zr=["input","select","textarea"],$r={reset:!0,submit:!0};function Kr(e,t){e===void 0&&(e={});var r={},n=!!(e.type&&$r[e.type]);for(var i in e){var a=e[i];if((0,j.isCustomAttribute)(i)){r[i]=a;continue}var l=i.toLowerCase(),u=_t(l);if(u){var E=(0,j.getPropertyInfo)(u);switch(Yr.includes(u)&&Zr.includes(t)&&!n&&(u=_t("default"+l)),r[u]=a,E&&E.type){case j.BOOLEAN:r[u]=!0;break;case j.OVERLOADED_BOOLEAN:a===""&&(r[u]=!0);break}continue}yt.PRESERVE_CUSTOM_ATTRIBUTES&&(r[i]=a)}return(0,yt.setStyleProp)(e.style,r),r}function _t(e){return j.possibleStandardNames[e]}});var Rt=p(B=>{"use strict";var Jr=B&&B.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(B,"__esModule",{value:!0});B.default=Tt;var Te=me(),Qr=Jr(_e()),F=ge(),en={cloneElement:Te.cloneElement,createElement:Te.createElement,isValidElement:Te.isValidElement};function Tt(e,t){t===void 0&&(t={});for(var r=[],n=typeof t.replace=="function",i=t.transform||F.returnFirstArg,a=t.library||en,l=a.cloneElement,u=a.createElement,E=a.isValidElement,_=e.length,O=0;O<_;O++){var d=e[O];if(n){var N=t.replace(d,O);if(E(N)){_>1&&(N=l(N,{key:N.key||O})),r.push(i(N,d,O));continue}}if(d.type==="text"){var V=!d.data.trim().length;if(V&&d.parent&&!(0,F.canTextBeChildOfNode)(d.parent)||t.trim&&V)continue;r.push(i(d.data,d,O));continue}var c=d,o={};tn(c)?((0,F.setStyleProp)(c.attribs.style,c.attribs),o=c.attribs):c.attribs&&(o=(0,Qr.default)(c.attribs,c.name));var T=void 0;switch(d.type){case"script":case"style":d.children[0]&&(o.dangerouslySetInnerHTML={__html:d.children[0].data});break;case"tag":d.name==="textarea"&&d.children[0]?o.defaultValue=d.children[0].data:d.children&&d.children.length&&(T=Tt(d.children,t));break;default:continue}_>1&&(o.key=O),r.push(i(u(d.name,o,T),d,O))}return r.length===1?r[0]:r}function tn(e){return F.PRESERVE_CUSTOM_ATTRIBUTES&&e.type==="tag"&&(0,F.isCustomComponent)(e.name,e.attribs)}});var Ae=p(h=>{"use strict";var Re=h&&h.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(h,"__esModule",{value:!0});h.htmlToDOM=h.domToReact=h.attributesToProps=h.Text=h.ProcessingInstruction=h.Element=h.Comment=void 0;h.default=on;var At=Re(nt());h.htmlToDOM=At.default;var rn=Re(_e());h.attributesToProps=rn.default;var Ot=Re(Rt());h.domToReact=Ot.default;var J=le();Object.defineProperty(h,"Comment",{enumerable:!0,get:function(){return J.Comment}});Object.defineProperty(h,"Element",{enumerable:!0,get:function(){return J.Element}});Object.defineProperty(h,"ProcessingInstruction",{enumerable:!0,get:function(){return J.ProcessingInstruction}});Object.defineProperty(h,"Text",{enumerable:!0,get:function(){return J.Text}});var nn={lowerCaseAttributeNames:!1};function on(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");return e?(0,Ot.default)((0,At.default)(e,t?.htmlparser2||nn),t):[]}});var St=p((wn,Ct)=>{Ct.exports=window.wp.dom});var wt=p((Nn,xt)=>{xt.exports=window.wp.element});var Q=S(ee(),1),be=S(te(),1),Dt=S(Ne(),1);var Oe=S(Ae(),1),k=S(Ae(),1),bt=Oe.default.default||Oe.default;var Nt=S(te(),1),It=S(ee(),1),kt=S(St(),1),U=S(wt(),1);import{registerIconResolver as an}from"@wordpress/widget-primitives";function Pt(){an(async e=>{let t=await(0,It.resolveSelect)(Nt.store).getEntityRecord("root","icon",e);if(!t?.content)return null;let r=bt((0,kt.safeHTML)(t.content.trim())),n=Array.isArray(r)?r.find(U.isValidElement):r;if(!(0,U.isValidElement)(n))return null;let i=n;return i.props.fill?i:(0,U.cloneElement)(i,{fill:"currentColor"})})}async function Mn(){(0,Q.select)(be.store).getEntityConfig("root","widgetModule")||(Pt(),(0,Q.dispatch)(be.store).addEntities([{name:"widgetModule",kind:"root",key:"name",baseURL:"/wp/v2/widget-modules",plural:"widgetModules",label:(0,Dt.__)("Widget modules"),supportsPagination:!1}]))}export{Mn as init};
2 3 //# sourceMappingURL=index.min.js.map