kollapsminoriteten/wp-content/themes/astra/inc/metabox/extend-metabox/build/index.js

1 line
1.3 MiB
JavaScript
Raw Normal View History

2025-08-27 08:44:30 +02:00
!function(){var c={960:function(c,t){"use strict";var l;Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,function(c){c.Root="root",c.Text="text",c.Directive="directive",c.Comment="comment",c.Script="script",c.Style="style",c.Tag="tag",c.CDATA="cdata",c.Doctype="doctype"}(l=t.ElementType||(t.ElementType={})),t.isTag=function(c){return c.type===l.Tag||c.type===l.Script||c.type===l.Style},t.Root=l.Root,t.Text=l.Text,t.Directive=l.Directive,t.Comment=l.Comment,t.Script=l.Script,t.Style=l.Style,t.Tag=l.Tag,t.CDATA=l.CDATA,t.Doctype=l.Doctype},915:function(c,t,l){"use strict";var h=this&&this.__createBinding||(Object.create?function(c,t,l,h){void 0===h&&(h=l);var s=Object.getOwnPropertyDescriptor(t,l);s&&!("get"in s?!t.__esModule:s.writable||s.configurable)||(s={enumerable:!0,get:function(){return t[l]}}),Object.defineProperty(c,h,s)}:function(c,t,l,h){void 0===h&&(h=l),c[h]=t[l]}),s=this&&this.__exportStar||function(c,t){for(var l in c)"default"===l||Object.prototype.hasOwnProperty.call(t,l)||h(t,c,l)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0;var v=l(960),e=l(790);s(l(790),t);var a=/\s+/g,w={normalizeWhitespace:!1,withStartIndices:!1,withEndIndices:!1,xmlMode:!1},g=function(){function c(c,t,l){this.dom=[],this.root=new e.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(l=t,t=w),"object"==typeof c&&(t=c,c=void 0),this.callback=null!=c?c:null,this.options=null!=t?t:w,this.elementCB=null!=l?l:null}return c.prototype.onparserinit=function(c){this.parser=c},c.prototype.onreset=function(){this.dom=[],this.root=new e.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},c.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},c.prototype.onerror=function(c){this.handleCallback(c)},c.prototype.onclosetag=function(){this.lastNode=null;var c=this.tagStack.pop();this.options.withEndIndices&&(c.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(c)},c.prototype.onopentag=function(c,t){var l=this.options.xmlMode?v.ElementType.Tag:void 0,h=new e.Element(c,t,void 0,l);this.addNode(h),this.tagStack.push(h)},c.prototype.ontext=function(c){var t=this.options.normalizeWhitespace,l=this.lastNode;if(l&&l.type===v.ElementType.Text)t?l.data=(l.data+c).replace(a," "):l.data+=c,this.options.withEndIndices&&(l.endIndex=this.parser.endIndex);else{t&&(c=c.replace(a," "));var h=new e.Text(c);this.addNode(h),this.lastNode=h}},c.prototype.oncomment=function(c){if(this.lastNode&&this.lastNode.type===v.ElementType.Comment)this.lastNode.data+=c;else{var t=new e.Comment(c);this.addNode(t),this.lastNode=t}},c.prototype.oncommentend=function(){this.lastNode=null},c.prototype.oncdatastart=function(){var c=new e.Text(""),t=new e.NodeWithChildren(v.ElementType.CDATA,[c]);this.addNode(t),c.parent=t,this.lastNode=c},c.prototype.oncdataend=function(){this.lastNode=null},c.prototype.onprocessinginstruction=function(c,t){var l=new e.ProcessingInstruction(c,t);this.addNode(l)},c.prototype.handleCallback=function(c){if("function"==typeof this.callback)this.callback(c,this.dom);else if(c)throw c},c.prototype.addNode=function(c){var t=this.tagStack[this.tagStack.length-1],l=t.children[t.children.length-1];this.options.withStartIndices&&(c.startIndex=this.parser.startIndex),this.options.withEndIndices&&(c.endIndex=this.parser.endIndex),t.children.push(c),l&&(c.prev=l,l.next=c),c.parent=t,this.lastNode=null},c}();t.DomHandler=g,t.default=g},790:function(c,t,l){"use strict";var h,s=this&&this.__extends||(h=function(c,t){return h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,t){c.__proto__=t}||function(c,t){for(var l in t)Object.prototype.hasOwnProperty.call(t,l)&&(c[l]=t[l])},h(c,t)},function(c,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=c}h(c,t),c.prototype=