diff -r 7b1b88e27a20 -r 48c4eec2b7e6 wp/wp-includes/js/dist/shortcode.min.js --- a/wp/wp-includes/js/dist/shortcode.min.js Thu Sep 29 08:06:27 2022 +0200 +++ b/wp/wp-includes/js/dist/shortcode.min.js Fri Sep 05 18:40:08 2025 +0200 @@ -1,2 +1,2 @@ /*! This file is auto-generated */ -!function(){var t={9756:function(t){t.exports=function(t,e){var n,r,s=0;function o(){var o,i,u=n,c=arguments.length;t:for(;u;){if(u.args.length===arguments.length){for(i=0;i{const e={},n=[],r=/([\w-]+)\s*=\s*"([^"]*)"(?:\s|$)|([\w-]+)\s*=\s*'([^']*)'(?:\s|$)|([\w-]+)\s*=\s*([^\s'"]+)(?:\s|$)|"([^"]*)"(?:\s|$)|'([^']*)'(?:\s|$)|(\S+)(?:\s|$)/g;let s;for(t=t.replace(/[\u00a0\u200b]/g," ");s=r.exec(t);)s[1]?e[s[1].toLowerCase()]=s[2]:s[3]?e[s[3].toLowerCase()]=s[4]:s[5]?e[s[5].toLowerCase()]=s[6]:s[7]?n.push(s[7]):s[8]?n.push(s[8]):s[9]&&n.push(s[9]);return{named:e,numeric:n}}));function i(t){let e;return e=t[4]?"self-closing":t[6]?"closed":"single",new u({tag:t[2],attrs:t[3],type:e,content:t[5]})}const u=(0,t.extend)((function(e){(0,t.extend)(this,(0,t.pick)(e||{},"tag","attrs","type","content"));const n=this.attrs;this.attrs={named:{},numeric:[]},n&&((0,t.isString)(n)?this.attrs=o(n):(0,t.isEqual)(Object.keys(n),["named","numeric"])?this.attrs=n:(0,t.forEach)(n,((t,e)=>{this.set(e,t)})))}),{next:function t(e,n){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;const o=s(e);o.lastIndex=r;const u=o.exec(n);if(!u)return;if("["===u[1]&&"]"===u[7])return t(e,n,o.lastIndex);const c={index:u.index,content:u[0],shortcode:i(u)};return u[1]&&(c.content=c.content.slice(1),c.index++),u[7]&&(c.content=c.content.slice(0,-1)),c},replace:function(t,e,n){return e.replace(s(t),(function(t,e,r,s,o,u,c,a){if("["===e&&"]"===a)return t;const l=n(i(arguments));return l||""===l?e+l+a:t}))},string:function(t){return new u(t).string()},regexp:s,attrs:o,fromMatch:i});(0,t.extend)(u.prototype,{get(e){return this.attrs[(0,t.isNumber)(e)?"numeric":"named"][e]},set(e,n){return this.attrs[(0,t.isNumber)(e)?"numeric":"named"][e]=n,this},string(){let e="["+this.tag;return(0,t.forEach)(this.attrs.numeric,(t=>{/\s/.test(t)?e+=' "'+t+'"':e+=" "+t})),(0,t.forEach)(this.attrs.named,((t,n)=>{e+=" "+n+'="'+t+'"'})),"single"===this.type?e+"]":"self-closing"===this.type?e+" /]":(e+="]",this.content&&(e+=this.content),e+"[/"+this.tag+"]")}});var c=u}(),(window.wp=window.wp||{}).shortcode=r.default}(); \ No newline at end of file +(()=>{"use strict";var t={d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e)},e={};function n(t){return new RegExp("\\[(\\[?)("+t+")(?![\\w-])([^\\]\\/]*(?:\\/(?!\\])[^\\]\\/]*)*?)(?:(\\/)\\]|\\](?:([^\\[]*(?:\\[(?!\\/\\2\\])[^\\[]*)*)(\\[\\/\\2\\]))?)(\\]?)","g")}t.d(e,{default:()=>c});const r=function(t,e){var n,r,s=0;function o(){var o,c,i=n,a=arguments.length;t:for(;i;){if(i.args.length===arguments.length){for(c=0;c{const e={},n=[],r=/([\w-]+)\s*=\s*"([^"]*)"(?:\s|$)|([\w-]+)\s*=\s*'([^']*)'(?:\s|$)|([\w-]+)\s*=\s*([^\s'"]+)(?:\s|$)|"([^"]*)"(?:\s|$)|'([^']*)'(?:\s|$)|(\S+)(?:\s|$)/g;let s;for(t=t.replace(/[\u00a0\u200b]/g," ");s=r.exec(t);)s[1]?e[s[1].toLowerCase()]=s[2]:s[3]?e[s[3].toLowerCase()]=s[4]:s[5]?e[s[5].toLowerCase()]=s[6]:s[7]?n.push(s[7]):s[8]?n.push(s[8]):s[9]&&n.push(s[9]);return{named:e,numeric:n}}));function s(t){let e;return e=t[4]?"self-closing":t[6]?"closed":"single",new o({tag:t[2],attrs:t[3],type:e,content:t[5]})}const o=Object.assign((function(t){const{tag:e,attrs:n,type:s,content:o}=t||{};if(Object.assign(this,{tag:e,type:s,content:o}),this.attrs={named:{},numeric:[]},!n)return;const c=["named","numeric"];"string"==typeof n?this.attrs=r(n):n.length===c.length&&c.every(((t,e)=>t===n[e]))?this.attrs=n:Object.entries(n).forEach((([t,e])=>{this.set(t,e)}))}),{next:function t(e,r,o=0){const c=n(e);c.lastIndex=o;const i=c.exec(r);if(!i)return;if("["===i[1]&&"]"===i[7])return t(e,r,c.lastIndex);const a={index:i.index,content:i[0],shortcode:s(i)};return i[1]&&(a.content=a.content.slice(1),a.index++),i[7]&&(a.content=a.content.slice(0,-1)),a},replace:function(t,e,r){return e.replace(n(t),(function(t,e,n,o,c,i,a,u){if("["===e&&"]"===u)return t;const l=r(s(arguments));return l||""===l?e+l+u:t}))},string:function(t){return new o(t).string()},regexp:n,attrs:r,fromMatch:s});Object.assign(o.prototype,{get(t){return this.attrs["number"==typeof t?"numeric":"named"][t]},set(t,e){return this.attrs["number"==typeof t?"numeric":"named"][t]=e,this},string(){let t="["+this.tag;return this.attrs.numeric.forEach((e=>{/\s/.test(e)?t+=' "'+e+'"':t+=" "+e})),Object.entries(this.attrs.named).forEach((([e,n])=>{t+=" "+e+'="'+n+'"'})),"single"===this.type?t+"]":"self-closing"===this.type?t+" /]":(t+="]",this.content&&(t+=this.content),t+"[/"+this.tag+"]")}});const c=o;(window.wp=window.wp||{}).shortcode=e.default})(); \ No newline at end of file