{"version":3,"file":"isSameKeyPath.mjs","names":[],"sources":["../../../src/utils/isSameKeyPath.ts"],"sourcesContent":["import type { KeyPath } from '@intlayer/types/keyPath';\n\ntype KeyPathWithKey = KeyPath & { key: string };\n\nexport const isSameKeyPath = (keyPath1: KeyPath[], keyPath2: KeyPath[]) =>\n  keyPath1.every(\n    (element, index) =>\n      keyPath2[index] &&\n      (keyPath2[index] as KeyPathWithKey).key ===\n        (element as KeyPathWithKey).key &&\n      keyPath2[index].type === element.type\n  );\n"],"mappings":";AAIA,MAAa,iBAAiB,UAAqB,aACjD,SAAS,OACN,SAAS,UACR,SAAS,UACR,SAAS,OAA0B,QACjC,QAA2B,OAC9B,SAAS,OAAO,SAAS,QAAQ,KACpC"}