mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 09:07:59 +01:00
26335af1ac
This updates the following `devDependencies`: - `dotenv` from `16.4.5` to `16.4.7` - `dotenv-expand` from `11.0.6` to `12.0.1` - `postcss` from `8.4.47` to `8.4.49` - `qunit` from `2.22.0` to `2.23.1` - `sass` from `1.79.4` to `1.79.6` - `terser-webpack-plugin` from `5.3.10` to `5.3.11` - `uglify-js` from `3.17.4` to `3.19.3` - `uuid` from `9.0.1` to `11.0.3` - `webpack` from `5.90.2` to `5.97.1` Additionally, `npm audit fix` has been run. Follow up to [58585]. See #62220. Built from https://develop.svn.wordpress.org/trunk@59509 git-svn-id: http://core.svn.wordpress.org/trunk@58895 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2 lines
1.2 KiB
JavaScript
2 lines
1.2 KiB
JavaScript
/*! This file is auto-generated */
|
|
((i,l)=>{l.querySelector&&i.addEventListener&&"undefined"!=typeof URL&&(i.wp=i.wp||{},i.wp.receiveEmbedMessage||(i.wp.receiveEmbedMessage=function(e){var t=e.data;if((t||t.secret||t.message||t.value)&&!/[^a-zA-Z0-9]/.test(t.secret)){for(var r,s,a,n=l.querySelectorAll('iframe[data-secret="'+t.secret+'"]'),o=l.querySelectorAll('blockquote[data-secret="'+t.secret+'"]'),c=new RegExp("^https?:$","i"),d=0;d<o.length;d++)o[d].style.display="none";for(d=0;d<n.length;d++)r=n[d],e.source===r.contentWindow&&(r.removeAttribute("style"),"height"===t.message?(1e3<(s=parseInt(t.value,10))?s=1e3:~~s<200&&(s=200),r.height=s):"link"===t.message&&(s=new URL(r.getAttribute("src")),a=new URL(t.value),c.test(a.protocol))&&a.host===s.host&&l.activeElement===r&&(i.top.location.href=t.value))}},i.addEventListener("message",i.wp.receiveEmbedMessage,!1),l.addEventListener("DOMContentLoaded",function(){for(var e,t,r=l.querySelectorAll("iframe.wp-embedded-content"),s=0;s<r.length;s++)(t=(e=r[s]).getAttribute("data-secret"))||(t=Math.random().toString(36).substring(2,12),e.src+="#?secret="+t,e.setAttribute("data-secret",t)),e.contentWindow.postMessage({message:"ready",secret:t},"*")},!1)))})(window,document); |