mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-05 02:39:46 +02:00
Update node modules
This commit is contained in:
parent
52a013772f
commit
09d8558456
858 changed files with 5466 additions and 544833 deletions
11
node_modules/tinymce/plugins/accordion/plugin.js
generated
vendored
11
node_modules/tinymce/plugins/accordion/plugin.js
generated
vendored
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
* TinyMCE version 7.2.1 (2024-07-03)
|
||||
* TinyMCE version 7.3.0 (2024-08-07)
|
||||
*/
|
||||
|
||||
(function () {
|
||||
|
@ -7,13 +7,15 @@
|
|||
|
||||
var global$4 = tinymce.util.Tools.resolve('tinymce.PluginManager');
|
||||
|
||||
const random = () => window.crypto.getRandomValues(new Uint32Array(1))[0] / 4294967295;
|
||||
|
||||
let unique = 0;
|
||||
const generate = prefix => {
|
||||
const date = new Date();
|
||||
const time = date.getTime();
|
||||
const random = Math.floor(Math.random() * 1000000000);
|
||||
const random$1 = Math.floor(random() * 1000000000);
|
||||
unique++;
|
||||
return prefix + '_' + random + unique + String(time);
|
||||
return prefix + '_' + random$1 + unique + String(time);
|
||||
};
|
||||
|
||||
const hasProto = (v, constructor, predicate) => {
|
||||
|
@ -348,8 +350,7 @@
|
|||
const firstChild = element => child(element, 0);
|
||||
|
||||
const isShadowRoot = dos => isDocumentFragment(dos) && isNonNullable(dos.dom.host);
|
||||
const supported = isFunction(Element.prototype.attachShadow) && isFunction(Node.prototype.getRootNode);
|
||||
const getRootNode = supported ? e => SugarElement.fromDom(e.dom.getRootNode()) : documentOrOwner;
|
||||
const getRootNode = e => SugarElement.fromDom(e.dom.getRootNode());
|
||||
const getShadowRoot = e => {
|
||||
const r = getRootNode(e);
|
||||
return isShadowRoot(r) ? Optional.some(r) : Optional.none();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue