'use strict';
import { isNullOrUndefined } from '../functions/value-checking-functions.js';

var __defProp=Object['defineProperty'],__name=(_0x19aadb,_0x1eda04)=>__defProp(_0x19aadb,'name',{'value':_0x1eda04,'configurable':!![]});function moveArrayItems(_0x2d8143,_0x2a40db,_0x2d296f,_0x359ce6,_0x4236fe){if(!isNullOrUndefined(_0x2d8143)&&_0x2d8143['length']>0xe*0x1c5+-0x15*-0x3b+-0x1d9d){let _0x19cfd6=_0x359ce6()['filter'](_0x4a1699=>!_0x2d8143['some'](_0x3de2c0=>_0x4a1699['id']===_0x3de2c0['id'])),_0x50adb1=[..._0x4236fe(),..._0x2d8143];_0x2a40db(_0x19cfd6),_0x2d296f(_0x50adb1);}}__name(moveArrayItems,'moveArrayItems');function removeDuplicates(_0x475621){return Array['from'](new Set(_0x475621));}__name(removeDuplicates,'removeDuplicates');function areArraysEqualAsSets(_0x1ed702,_0x4e9a99){const _0x4a14a0=new Set(_0x1ed702),_0x43d507=new Set(_0x4e9a99);if(_0x4a14a0['size']!==_0x43d507['size'])return ![];return Array['from'](_0x4a14a0)['every'](_0x1913e8=>_0x43d507['has'](_0x1913e8));}__name(areArraysEqualAsSets,'areArraysEqualAsSets');function areNonEmptyStringArraysEqualAsSets(_0x459026,_0x59a122){return areArraysEqualAsSets(_0x459026['filter'](Boolean),_0x59a122['filter'](Boolean));}__name(areNonEmptyStringArraysEqualAsSets,'areNonEmptyStringArraysEqualAsSets');

export { areArraysEqualAsSets, areNonEmptyStringArraysEqualAsSets, moveArrayItems, removeDuplicates };
