var
/
www
/
html
/
servotec-doerpen
/
wp-includes
/
js
/
dist
| uid:33
undo-manager.min.js
[X]
/*! This file is auto-generated */ "use strict";var wp;(wp||={}).undoManager=(()=>{var x=Object.create;var c=Object.defineProperty;var E=Object.getOwnPropertyDescriptor;var w=Object.getOwnPropertyNames;var y=Object.getPrototypeOf,m=Object.prototype.hasOwnProperty;var C=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),H=(e,t)=>{for(var n in t)c(e,n,{get:t[n],enumerable:!0})},u=(e,t,n,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of w(t))!m.call(e,r)&&r!==n&&c(e,r,{get:()=>t[r],enumerable:!(o=E(t,r))||o.enumerable});return e};var S=(e,t,n)=>(n=e!=null?x(y(e)):{},u(t||!e||!e.__esModule?c(n,"default",{value:e,enumerable:!0}):n,e)),b=e=>u(c({},"__esModule",{value:!0}),e);var g=C((U,h)=>{h.exports=window.wp.isShallowEqual});var v={};H(v,{createUndoManager:()=>q});var a=S(g(),1);function j(e,t){let n={...e};return Object.entries(t).forEach(([o,r])=>{n[o]?n[o]={...n[o],to:r.to}:n[o]=r}),n}var p=(e,t)=>{let n=e?.findIndex(({id:r})=>typeof r=="string"?r===t.id:(0,a.isShallowEqual)(r,t.id)),o=[...e];return n!==-1?o[n]={id:t.id,changes:j(o[n].changes,t.changes)}:o.push(t),o};function q(){let e=[],t=[],n=0,o=()=>{e=e.slice(0,n||void 0),n=0},r=()=>{let s=e.length===0?0:e.length-1,i=e[s]??[];t.forEach(d=>{i=p(i,d)}),t=[],e[s]=i},R=s=>!s.filter(({changes:d})=>Object.values(d).some(({from:l,to:f})=>typeof l!="function"&&typeof f!="function"&&!(0,a.isShallowEqual)(l,f))).length;return{addRecord(s,i=!1){let d=!s||R(s);if(i){if(d)return;s.forEach(l=>{t=p(t,l)})}else{if(o(),t.length&&r(),d)return;e.push(s)}},undo(){t.length&&(o(),r());let s=e[e.length-1+n];if(s)return n-=1,s},redo(){let s=e[e.length+n];if(s)return n+=1,s},hasUndo(){return!!e[e.length-1+n]},hasRedo(){return!!e[e.length+n]}}}return b(v);})();
development/
-
O
R
D
script-modules/
-
O
R
D
vendor/
-
O
R
D
base-styles.js
48
V
E
R
D
block-serialization-default-parser.js
6.5K
V
E
R
D
block-serialization-default-parser.min.js
2.4K
V
E
R
D
block-serialization-spec-parser.js
50.5K
V
E
R
D
block-serialization-spec-parser.min.js
10.4K
V
E
R
D
blocks.js
381.1K
V
E
R
D
core-commands.js
28.7K
V
E
R
D
core-commands.min.js
11.9K
V
E
R
D
core-data.js
612K
V
E
R
D
core-data.min.js
210.5K
V
E
R
D
customize-widgets.min.js
36.6K
V
E
R
D
date.js
176.3K
V
E
R
D
deprecated.js
3K
V
E
R
D
escape-html.js
2.3K
V
E
R
D
format-library.min.js
28.9K
V
E
R
D
hooks.js
12K
V
E
R
D
i18n.min.js
5.6K
V
E
R
D
keyboard-shortcuts.min.js
3.4K
V
E
R
D
list-reusable-blocks.js
13.1K
V
E
R
D
list-reusable-blocks.min.js
5.2K
V
E
R
D
nux.min.js
4K
V
E
R
D
plugins.min.js
4.8K
V
E
R
D
primitives.js
5.1K
V
E
R
D
redux-routine.min.js
9.6K
V
E
R
D
reusable-blocks.min.js
7.2K
V
E
R
D
style-engine.js
17.6K
V
E
R
D
theme.min.js
56.1K
V
E
R
D
token-list.js
6.1K
V
E
R
D
token-list.min.js
1.6K
V
E
R
D
undo-manager.min.js
1.7K
V
E
R
D
viewport.min.js
2.2K
V
E
R
D
warning.js
1.5K
V
E
R
D
widgets.min.js
20.8K
V
E
R
D