@ckeditor/ckeditor5-ai
Version:
AI features for CKEditor 5.
24 lines • 15.8 kB
JavaScript
/*
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
*
*
*
*
* +---------------------------------------------------------------------------------+
* | |
* | Hello stranger! |
* | |
* | |
* | What you're currently looking at is the source code of a legally protected, |
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
* | are forbidden and will result in legal consequences. |
* | |
* | |
* +---------------------------------------------------------------------------------+
*
*
*
*
*/
function _0x46c7(){const _0x1e4e7e=['push','_hasWrappedParent','12702780IVRpcz','nodeType','data-id','afterend','1177832bRpeZW','has','replaceRemovedWith','true','filter','_markWrappedElements','removedIds','_isNewNode','_removeSpecialComments','785583WTHXIv','_isDelNode','_touchedNodesState','_storeDeletedElementIds','216tjMxWX','_getNodeDataId','trim','cutAfterLastChange','new-element','3VkdRFA','215220EPIliG','reverse','_findNextElementWithDataId','92oXiyYf','previousSibling','childNodes','nextSibling','newIds','invalidIds','markUnstableElementsDepth','lastChild','_existingDataIds','451WzNAUf','lastTouchedId','_replaceNode','data-unstable','_markLastTagElementUnstable','indexOf','from','211615xcITpL','_getUid','includes','data-wrapped-id','_markUnstableElements','data-removed','forEach','modifiedIds','_findFallbackReferenceNode','_findPrevElementWithDataId','beforebegin','cloneNode','parentNode','_generateUid','match','_insertNodes','merge','splice','488vTyaeC','map','_isExistingNode','slice','158823bFvGAP','length','139989STQFxK','afterbegin','_isExistingContentComment','markUnstableElements','_findReferenceNode'];_0x46c7=function(){return _0x1e4e7e;};return _0x46c7();}const _0x221c77=_0x3407;(function(_0x44a4e5,_0x48756b){const _0x4fd5c3=_0x3407,_0x3b36cb=_0x44a4e5();while(!![]){try{const _0x595eec=-parseInt(_0x4fd5c3(0xe6))/0x1*(-parseInt(_0x4fd5c3(0x11d))/0x2)+parseInt(_0x4fd5c3(0x112))/0x3*(parseInt(_0x4fd5c3(0xea))/0x4)+parseInt(_0x4fd5c3(0xfa))/0x5*(parseInt(_0x4fd5c3(0xe1))/0x6)+-parseInt(_0x4fd5c3(0x110))/0x7*(parseInt(_0x4fd5c3(0x10c))/0x8)+-parseInt(_0x4fd5c3(0xdd))/0x9+-parseInt(_0x4fd5c3(0x119))/0xa+parseInt(_0x4fd5c3(0xf3))/0xb*(-parseInt(_0x4fd5c3(0xe7))/0xc);if(_0x595eec===_0x48756b)break;else _0x3b36cb['push'](_0x3b36cb['shift']());}catch(_0x277635){_0x3b36cb['push'](_0x3b36cb['shift']());}}}(_0x46c7,0xd87a8));import{ObservableMixin as _0x35ccac,uid as _0x5a1746}from'ckeditor5/src/utils.js';import{findAllByAttribute as _0x52ee52,findByAttribute as _0x26c226,getAttribute as _0x2f5d61,isComment as _0x4f17e9,isTag as _0xf7a53d,insertElement as _0x493ada,moveElement as _0x1d4cd6,removeElement as _0xdf2c7d,replaceElement as _0x57b9bc,serialize as _0xc23915,setAttribute as _0x510964,clone as _0x320393,findAllComments as _0x348ace,getParents as _0x32b1d0,getNodeNestingLevel as _0x509e95,areNodesSame as _0x5ca035,removeElementsAfter as _0x4b22cd}from'../utils/htmlparser.js';function _0x3407(_0x2dbed4,_0x53f0af){const _0x46c7d1=_0x46c7();return _0x3407=function(_0x3407ec,_0x598793){_0x3407ec=_0x3407ec-0xd8;let _0x201b51=_0x46c7d1[_0x3407ec];return _0x201b51;},_0x3407(_0x2dbed4,_0x53f0af);}export class AIResponseApplier extends/* #__PURE__ -- */
_0x35ccac(){[_0x221c77(0x107)];[_0x221c77(0xdf)]={'newIds':[],'modifiedIds':[],'removedIds':[],'invalidIds':[],'lastTouchedId':null};[_0x221c77(0xf2)]=new Set();constructor(_0x4fd4cb){const _0x591b81=_0x221c77;super(),this[_0x591b81(0x107)]=_0x4fd4cb||_0x5a1746;}[_0x221c77(0x10a)](_0x408d2e,_0x20db38,_0x589533){const _0xb6cb8d=_0x221c77,_0x5e8ad3=_0x320393(_0x408d2e);if(0x0===_0x20db38[_0xb6cb8d(0xec)][_0xb6cb8d(0x111)]){const _0x32ecde=[];return _0x52ee52(_0xb6cb8d(0x11b),_0xb6cb8d(0xe5),_0x5e8ad3)[_0xb6cb8d(0x100)](_0x2cc4e4=>{const _0x5e774e=_0xb6cb8d,_0x581799=this[_0x5e774e(0x107)]();_0x510964(_0x2cc4e4,_0x5e774e(0x11b),_0x581799),_0x32ecde[_0x5e774e(0x117)](_0x581799);}),this[_0xb6cb8d(0xdc)](_0x5e8ad3),{'parsedContent':_0x5e8ad3,'newNodeIds':_0x32ecde,'modifiedNodeIds':[],'removedNodeIds':[]};}_0x589533&&_0x589533[_0xb6cb8d(0x115)]&&this[_0xb6cb8d(0xf7)](_0x5e8ad3),this[_0xb6cb8d(0xdf)][_0xb6cb8d(0xee)]=[],this[_0xb6cb8d(0xdf)][_0xb6cb8d(0x101)]=[],this[_0xb6cb8d(0xdf)][_0xb6cb8d(0xda)]=[],this[_0xb6cb8d(0xdf)][_0xb6cb8d(0xef)]=[],this[_0xb6cb8d(0xdf)][_0xb6cb8d(0xf4)]=null,this[_0xb6cb8d(0xf2)]=new Set(_0x52ee52(_0xb6cb8d(0x11b),null,_0x20db38)[_0xb6cb8d(0x10d)](_0x1d7247=>_0x2f5d61(_0x1d7247,_0xb6cb8d(0x11b)))[_0xb6cb8d(0xd8)](_0xcfc896=>!!_0xcfc896));let _0x526522=-0x1,_0x29079e=!0x1;const _0x133817=_0x5e8ad3[_0xb6cb8d(0xec)],_0x5db9fe=Array[_0xb6cb8d(0xf9)](_0x133817)[_0xb6cb8d(0xd8)](_0x4908e7=>!(0x3===_0x4908e7[_0xb6cb8d(0x11a)]&&''===_0xc23915(_0x4908e7)[_0xb6cb8d(0xe3)]())),_0x1e0983=_0x5db9fe[_0xb6cb8d(0x111)];for(let _0x23389b=0x0;_0x23389b<_0x1e0983;_0x23389b++){const _0x46b79a=_0x5db9fe[_0x23389b],_0x3a427c=_0x5db9fe[_0x23389b+0x1];if(this[_0xb6cb8d(0xdb)](_0x46b79a)){if(-0x1===_0x526522&&(_0x526522=_0x23389b),this[_0xb6cb8d(0xd9)](_0x46b79a),!this[_0xb6cb8d(0xdb)](_0x3a427c)){const [_0x5b8a7e,_0x56f84b]=this[_0xb6cb8d(0x116)](_0x46b79a,_0x29079e,_0x20db38);if(_0x5b8a7e){const _0x44423f=Array[_0xb6cb8d(0xf9)](_0x5db9fe)[_0xb6cb8d(0x10f)](_0x526522,_0x23389b+0x1);this[_0xb6cb8d(0x109)](_0x5b8a7e,_0x44423f,_0x56f84b),_0x526522=-0x1;}}}else{if(this[_0xb6cb8d(0x114)](_0x46b79a))_0x29079e=!0x0;else{if(this[_0xb6cb8d(0x10e)](_0x46b79a)){const _0x2ddcfd=_0x2f5d61(_0x46b79a,_0xb6cb8d(0x11b));if(_0x2ddcfd&&this[_0xb6cb8d(0xf2)][_0xb6cb8d(0x11e)](_0x2ddcfd)){const _0x524c57=_0x26c226(_0xb6cb8d(0x11b),_0x2ddcfd,_0x20db38);this[_0xb6cb8d(0xf5)](_0x524c57,_0x46b79a);}if(this[_0xb6cb8d(0xdf)][_0xb6cb8d(0xda)][_0xb6cb8d(0xfc)](_0x2ddcfd)){const _0x2a86d2=this[_0xb6cb8d(0xdf)][_0xb6cb8d(0xda)][_0xb6cb8d(0xf8)](_0x2ddcfd);this[_0xb6cb8d(0xdf)][_0xb6cb8d(0xda)][_0xb6cb8d(0x10b)](_0x2a86d2,0x1);}}else{if(this[_0xb6cb8d(0xde)](_0x46b79a)){const _0x5c332f=_0x2f5d61(_0x46b79a,_0xb6cb8d(0x11b));this[_0xb6cb8d(0xdf)][_0xb6cb8d(0x101)][_0xb6cb8d(0xfc)](_0x5c332f)||this[_0xb6cb8d(0xe0)](_0x46b79a);}}}}}for(const _0x16aa1d of this[_0xb6cb8d(0xdf)][_0xb6cb8d(0xda)]){const _0x41ef7f=_0x26c226(_0xb6cb8d(0x11b),_0x16aa1d,_0x20db38);if(_0x41ef7f){if(_0x589533&&_0x589533[_0xb6cb8d(0x11f)]){this[_0xb6cb8d(0xdf)][_0xb6cb8d(0xf4)]=_0x16aa1d;const _0x4938c0=_0x589533[_0xb6cb8d(0x11f)][_0xb6cb8d(0x105)](!0x0);_0x510964(_0x4938c0,_0xb6cb8d(0x11b),_0x16aa1d),_0x510964(_0x4938c0,_0xb6cb8d(0xff),_0xb6cb8d(0x120)),_0x57b9bc(_0x41ef7f,_0x4938c0);}else _0xdf2c7d(_0x41ef7f);}}if(_0x52ee52(_0xb6cb8d(0xfd),null,_0x20db38)[_0xb6cb8d(0x100)](_0xff2d7=>{const _0x4a116b=_0xb6cb8d,_0x11b2d5=_0x2f5d61(_0xff2d7,_0x4a116b(0xfd)),_0x2aabba=_0x26c226(_0x4a116b(0x11b),_0x11b2d5,_0x20db38);_0x2aabba&&_0x1d4cd6(_0x2aabba,_0xff2d7);}),_0x52ee52(_0xb6cb8d(0x11b),_0xb6cb8d(0xe5),_0x20db38)[_0xb6cb8d(0x100)](_0x357654=>{const _0x41ae6f=_0xb6cb8d,_0x3e3cfa=this[_0x41ae6f(0xfb)](_0x357654);_0x510964(_0x357654,_0x41ae6f(0x11b),_0x3e3cfa),this[_0x41ae6f(0xdf)][_0x41ae6f(0xee)][_0x41ae6f(0x117)](_0x3e3cfa);}),this[_0xb6cb8d(0xdc)](_0x20db38),_0x589533&&_0x589533[_0xb6cb8d(0x115)]&&this[_0xb6cb8d(0xfe)](_0x20db38,_0x589533[_0xb6cb8d(0xf0)]||0x0),_0x589533&&_0x589533[_0xb6cb8d(0xe4)]&&this[_0xb6cb8d(0xdf)][_0xb6cb8d(0xf4)]){let _0x321a5c=_0x26c226(_0xb6cb8d(0x11b),this[_0xb6cb8d(0xdf)][_0xb6cb8d(0xf4)],_0x20db38);for(;_0x321a5c;)_0x4b22cd(_0x321a5c),_0x321a5c=_0x321a5c[_0xb6cb8d(0x106)];}return{'parsedContent':_0x20db38,'newNodeIds':this[_0xb6cb8d(0xdf)][_0xb6cb8d(0xee)],'modifiedNodeIds':this[_0xb6cb8d(0xdf)][_0xb6cb8d(0x101)],'removedNodeIds':this[_0xb6cb8d(0xdf)][_0xb6cb8d(0xda)]};}[_0x221c77(0x109)](_0x1a2d2a,_0x1cba7c,_0x150372){const _0x15bffd=_0x221c77;for(const _0x8ad5b2 of _0x1cba7c){const _0x3a40fc=this[_0x15bffd(0xfb)](_0x8ad5b2);_0x510964(_0x8ad5b2,_0x15bffd(0x11b),_0x3a40fc),this[_0x15bffd(0xdf)][_0x15bffd(0xee)][_0x15bffd(0x117)](_0x3a40fc),this[_0x15bffd(0xdf)][_0x15bffd(0xf4)]=_0x3a40fc;}const _0x4d810d=_0x15bffd(0x113)===_0x150372||_0x15bffd(0x11c)===_0x150372?_0x1cba7c[_0x15bffd(0xe8)]():_0x1cba7c;for(const _0x368d81 of _0x4d810d)_0x493ada(_0x1a2d2a,_0x368d81,_0x150372);}[_0x221c77(0xf5)](_0x8d4013,_0x2829c1){const _0x26e279=_0x221c77;if(!_0x8d4013)return;if(_0x5ca035(_0x8d4013,_0x2829c1))return;const _0x4b2ad6=this[_0x26e279(0xfb)](_0x8d4013);_0x510964(_0x2829c1,_0x26e279(0x11b),_0x4b2ad6),this[_0x26e279(0xdf)][_0x26e279(0x101)][_0x26e279(0x117)](_0x4b2ad6),this[_0x26e279(0xdf)][_0x26e279(0xf4)]=_0x4b2ad6,_0x57b9bc(_0x8d4013,_0x2829c1[_0x26e279(0x105)](!0x0));}[_0x221c77(0x116)](_0x2e7022,_0x19a335,_0x9ee649){const _0x578e23=_0x221c77,_0xd207e1=this[_0x578e23(0x103)](_0x2e7022,!0x1);if(_0xd207e1){const _0x211107=this[_0x578e23(0xe2)](_0xd207e1),_0x1f8864=_0x26c226(_0x578e23(0x11b),_0x211107,_0x9ee649);if(_0x1f8864)return[_0x1f8864,_0x578e23(0x11c)];this[_0x578e23(0xdf)][_0x578e23(0xef)][_0x578e23(0x117)](_0x211107);}const _0x276733=this[_0x578e23(0xe9)](_0x2e7022,!0x1);if(_0x276733){const _0x3a3c12=this[_0x578e23(0xe2)](_0x276733),_0x46d305=_0x26c226(_0x578e23(0x11b),_0x3a3c12,_0x9ee649);if(_0x46d305)return[_0x46d305,_0x578e23(0x104)];this[_0x578e23(0xdf)][_0x578e23(0xef)][_0x578e23(0x117)](_0x3a3c12);}return _0x19a335?_0x2e7022[_0x578e23(0xed)]?this[_0x578e23(0x102)](_0x2e7022,_0x9ee649):[_0x9ee649[_0x578e23(0xec)][_0x9ee649[_0x578e23(0xec)][_0x578e23(0x111)]-0x1],_0x578e23(0x11c)]:[_0x9ee649[_0x578e23(0xec)][0x0],_0x578e23(0x104)];}[_0x221c77(0x102)](_0x45621f,_0x52e6b8){const _0x2f3b4e=_0x221c77,_0x4720c9=[],_0x5af1d0=this[_0x2f3b4e(0x103)](_0x45621f,!0x0);if(_0x5af1d0){const _0x1e717a=this[_0x2f3b4e(0xe2)](_0x5af1d0),_0x56eaa8=_0x26c226(_0x2f3b4e(0x11b),_0x1e717a,_0x52e6b8);_0x56eaa8&&_0x4720c9[_0x2f3b4e(0x117)]([_0x56eaa8,_0x2f3b4e(0x11c)]);}const _0x6bc904=this[_0x2f3b4e(0xe9)](_0x45621f,!0x0);if(_0x6bc904){const _0xe78098=this[_0x2f3b4e(0xe2)](_0x6bc904),_0x1a289e=_0x26c226(_0x2f3b4e(0x11b),_0xe78098,_0x52e6b8);_0x1a289e&&_0x4720c9[_0x2f3b4e(0x117)]([_0x1a289e,_0x2f3b4e(0x104)]);}if(_0x4720c9[_0x2f3b4e(0x111)]>0x1)return _0x509e95(_0x4720c9[0x0][0x0])<=_0x509e95(_0x4720c9[0x1][0x0])?_0x4720c9[0x0]:_0x4720c9[0x1];return 0x1===_0x4720c9[_0x2f3b4e(0x111)]?_0x4720c9[0x0]:[_0x52e6b8[_0x2f3b4e(0xf1)],_0x2f3b4e(0x11c)];}[_0x221c77(0xe9)](_0x4fcbf1,_0x4e91ac){const _0x320367=_0x221c77;let _0x3ba67b=_0x4fcbf1[_0x320367(0xed)],_0x2b52b3=null,_0xceb214=!0x1;for(;_0x3ba67b;){if(_0x4f17e9(_0x3ba67b)){if(this[_0x320367(0xde)](_0x3ba67b)&&(_0x2b52b3=_0x3ba67b),this[_0x320367(0x114)](_0x3ba67b)&&_0x4e91ac&&!_0xceb214){_0xceb214=!0x0,_0x3ba67b=_0x3ba67b[_0x320367(0xed)];continue;}break;}const _0x4752bd=_0x2f5d61(_0x3ba67b,_0x320367(0x11b));if(_0x4752bd&&_0x320367(0xe5)!==_0x4752bd&&this[_0x320367(0xf2)][_0x320367(0x11e)](_0x4752bd)){_0x2b52b3=_0x3ba67b;break;}_0x3ba67b=_0x3ba67b[_0x320367(0xed)];}return _0x2b52b3;}[_0x221c77(0x103)](_0x1913fa,_0x5bfafe){const _0x4d42f2=_0x221c77;let _0x4f9f82=_0x1913fa[_0x4d42f2(0xeb)],_0xc0194e=null,_0x422aa1=!0x1;for(;_0x4f9f82;){if(_0x4f17e9(_0x4f9f82)){if(this[_0x4d42f2(0xde)](_0x4f9f82)&&(_0xc0194e=_0x4f9f82),this[_0x4d42f2(0x114)](_0x4f9f82)&&_0x5bfafe&&!_0x422aa1){_0x422aa1=!0x0,_0x4f9f82=_0x4f9f82[_0x4d42f2(0xeb)];continue;}break;}const _0x4a4eb9=_0x2f5d61(_0x4f9f82,_0x4d42f2(0x11b));if(_0x4a4eb9&&_0x4d42f2(0xe5)!==_0x4a4eb9&&this[_0x4d42f2(0xf2)][_0x4d42f2(0x11e)](_0x4a4eb9)){_0xc0194e=_0x4f9f82;break;}_0x4f9f82=_0x4f9f82[_0x4d42f2(0xeb)];}return _0xc0194e;}[_0x221c77(0xd9)](_0xafb11c){const _0xc7be58=_0x221c77;_0xf7a53d(_0xafb11c)&&_0x52ee52(_0xc7be58(0x11b),null,_0xafb11c)[_0xc7be58(0x100)](_0x3c935d=>{const _0x25511a=_0xc7be58;if(this[_0x25511a(0x10e)](_0x3c935d)&&!this[_0x25511a(0x118)](_0x3c935d)){const _0x525bf6=_0x2f5d61(_0x3c935d,_0x25511a(0x11b));_0x510964(_0x3c935d,_0x25511a(0xfd),_0x525bf6),_0x510964(_0x3c935d,_0x25511a(0x11b),null);}});}[_0x221c77(0xe2)](_0x804271){const _0x5ac79c=_0x221c77;if(!_0x804271)return null;if(_0xf7a53d(_0x804271))return _0x2f5d61(_0x804271,_0x5ac79c(0x11b));if(_0x4f17e9(_0x804271)){const _0x7b0fd=_0xc23915(_0x804271)[_0x5ac79c(0x108)](/removed[\s*-]data-id="([^"]+)"/);if(_0x7b0fd&&_0x7b0fd[0x1])return _0x7b0fd[0x1];}return null;}[_0x221c77(0xe0)](_0x3cafcf){const _0xe1d3f4=_0x221c77;if(_0x4f17e9(_0x3cafcf)){const _0x182a15=_0xc23915(_0x3cafcf)[_0xe1d3f4(0x108)](/removed[\s*-]data-id="([^"]+)"/);_0x182a15&&_0x182a15[0x1]&&this[_0xe1d3f4(0xdf)][_0xe1d3f4(0xda)][_0xe1d3f4(0x117)](_0x182a15[0x1]);}}[_0x221c77(0xfb)](_0x64e1a1){const _0x56c3bb=_0x221c77;return this[_0x56c3bb(0x10e)](_0x64e1a1)?_0x2f5d61(_0x64e1a1,_0x56c3bb(0x11b)):this[_0x56c3bb(0x107)]();}[_0x221c77(0xdc)](_0x4d81f6){const _0x8a23e1=_0x221c77;_0x348ace(_0x4d81f6)[_0x8a23e1(0xd8)](_0x18f866=>this[_0x8a23e1(0xde)](_0x18f866)||this[_0x8a23e1(0x114)](_0x18f866))[_0x8a23e1(0x100)](_0x2764e5=>{_0xdf2c7d(_0x2764e5);});}[_0x221c77(0xf7)](_0x351bd2){const _0xa03ff2=_0x221c77,_0x5e8e37=_0x351bd2[_0xa03ff2(0xec)],_0x47fb76=_0x5e8e37[_0x5e8e37[_0xa03ff2(0x111)]-0x1];_0x47fb76&&_0xf7a53d(_0x47fb76)&&_0x510964(_0x47fb76,_0xa03ff2(0xf6),_0xa03ff2(0x120));}[_0x221c77(0xfe)](_0x1a07d8,_0x1fcff0){const _0x21e30c=_0x221c77,_0x2170d0=_0x26c226(_0x21e30c(0xf6),_0x21e30c(0x120),_0x1a07d8);if(!_0x2170d0)return;const _0x31e40a=_0x32b1d0(_0x2170d0)[_0x21e30c(0x10f)](0x0,-0x1),_0xe8e5a4=_0x31e40a[_0x21e30c(0x111)];let _0x2bfdb6=_0x2170d0;if(_0xe8e5a4>_0x1fcff0){let _0x55d076=_0xe8e5a4,_0xf07ced=null;for(;_0x55d076>_0x1fcff0&&_0x55d076>=0x0;)_0x55d076--,_0xf07ced=_0x31e40a[_0x55d076];_0xf07ced&&(_0x2bfdb6=_0xf07ced,_0x510964(_0x2170d0,_0x21e30c(0xf6),null),_0x510964(_0xf07ced,_0x21e30c(0xf6),_0x21e30c(0x120)));}else{if(_0xe8e5a4<_0x1fcff0){let _0x2b152e=_0xe8e5a4,_0x511ed3=_0x2170d0;for(;_0x2b152e<_0x1fcff0;){const _0x146cae=_0x511ed3[_0x21e30c(0xec)][_0x21e30c(0xd8)](_0x4b1232=>_0xf7a53d(_0x4b1232));if(0x0===_0x146cae[_0x21e30c(0x111)])break;_0x2b152e++,_0x511ed3=_0x146cae[_0x146cae[_0x21e30c(0x111)]-0x1];}_0x511ed3&&(_0x2bfdb6=_0x511ed3,_0x510964(_0x2170d0,_0x21e30c(0xf6),null),_0x510964(_0x511ed3,_0x21e30c(0xf6),_0x21e30c(0x120)));}}let _0xf75274=_0x2bfdb6;for(;_0xf75274;){for(;_0xf75274[_0x21e30c(0xed)];)_0xf75274=_0xf75274[_0x21e30c(0xed)],_0xf7a53d(_0xf75274)&&_0x510964(_0xf75274,_0x21e30c(0xf6),_0x21e30c(0x120));_0xf75274=_0xf75274[_0x21e30c(0x106)];}}[_0x221c77(0xdb)](_0x2a7591){const _0x4aae5d=_0x221c77;return Boolean(_0x4aae5d(0xe5)===_0x2f5d61(_0x2a7591,_0x4aae5d(0x11b)));}[_0x221c77(0x10e)](_0x4493b9){const _0x2ab857=_0x221c77;return Boolean((_0x2f5d61(_0x4493b9,_0x2ab857(0x11b))||'')[_0x2ab857(0x111)]>0x0&&_0x2ab857(0xe5)!==_0x2f5d61(_0x4493b9,_0x2ab857(0x11b)));}[_0x221c77(0xde)](_0x159118){const _0x423010=_0x221c77;return!!_0x159118&&Boolean(_0x4f17e9(_0x159118)&&_0xc23915(_0x159118)[_0x423010(0x108)](/removed[\s*-]data-id="[^"]+"/));}[_0x221c77(0x118)](_0x5b1c4b){const _0x337389=_0x221c77;let _0x27a8a2=_0x5b1c4b[_0x337389(0x106)];for(;_0x27a8a2;){if(_0x2f5d61(_0x27a8a2,_0x337389(0xfd)))return!0x0;_0x27a8a2=_0x27a8a2[_0x337389(0x106)];}return!0x1;}[_0x221c77(0x114)](_0x573462){const _0x4dc634=_0x221c77;return Boolean(_0x4f17e9(_0x573462)&&_0xc23915(_0x573462)[_0x4dc634(0x108)](/\s*existing[\s*-](content|document)\s*/g));}}